convert about types from component to collection-type

This commit is contained in:
Schneider Roland 2025-01-20 07:19:55 +01:00
parent c706a4c7d2
commit 62e097d319
6 changed files with 332 additions and 0 deletions

View File

@ -0,0 +1,62 @@
// Interface automatically generated by schemas-to-ts
import { Media } from '../components/shared/Media';
import { Media_Plain } from '../components/shared/Media';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaAboutUsComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
content?: string;
buttonText?: string;
image?: { data: Media };
name?: string;
buttonLink?: string;
locale: string;
localizations?: { data: YogaAboutUsComponent[] };
};
}
export interface YogaAboutUsComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
content?: string;
buttonText?: string;
image?: Media_Plain;
name?: string;
buttonLink?: string;
locale: string;
localizations?: YogaAboutUsComponent_Plain[];
}
export interface YogaAboutUsComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
content?: string;
buttonText?: string;
image?: number;
name?: string;
buttonLink?: string;
locale: string;
localizations?: YogaAboutUsComponent[];
}
export interface YogaAboutUsComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
content?: string;
buttonText?: string;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
name?: string;
buttonLink?: string;
locale: string;
localizations?: YogaAboutUsComponent[];
}

View File

@ -0,0 +1,58 @@
// Interface automatically generated by schemas-to-ts
export interface YogaContactUs {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
firstName?: string;
lastName?: string;
phone?: string;
email?: string;
message?: string;
buttonText?: string;
locale: string;
localizations?: { data: YogaContactUs[] };
};
}
export interface YogaContactUs_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
firstName?: string;
lastName?: string;
phone?: string;
email?: string;
message?: string;
buttonText?: string;
locale: string;
localizations?: YogaContactUs_Plain[];
}
export interface YogaContactUs_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
firstName?: string;
lastName?: string;
phone?: string;
email?: string;
message?: string;
buttonText?: string;
locale: string;
localizations?: YogaContactUs[];
}
export interface YogaContactUs_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
firstName?: string;
lastName?: string;
phone?: string;
email?: string;
message?: string;
buttonText?: string;
locale: string;
localizations?: YogaContactUs[];
}

View File

@ -0,0 +1,46 @@
// Interface automatically generated by schemas-to-ts
import { YogaPrice } from './yoga-price';
import { YogaPrice_Plain } from './yoga-price';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaPriceComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
prices: { data: YogaPrice[] };
locale: string;
localizations?: { data: YogaPriceComponent[] };
};
}
export interface YogaPriceComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
prices: YogaPrice_Plain[];
locale: string;
localizations?: YogaPriceComponent_Plain[];
}
export interface YogaPriceComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
prices: number[];
locale: string;
localizations?: YogaPriceComponent[];
}
export interface YogaPriceComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
prices: AdminPanelRelationPropertyModification<YogaPrice_Plain>;
locale: string;
localizations?: YogaPriceComponent[];
}

View File

@ -0,0 +1,50 @@
// Interface automatically generated by schemas-to-ts
import { Media } from '../components/shared/Media';
import { Media_Plain } from '../components/shared/Media';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaPrice {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
option1?: string;
option2?: string;
buttonText?: string;
price?: number;
icon?: { data: Media };
image?: { data: Media };
};
}
export interface YogaPrice_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
option1?: string;
option2?: string;
buttonText?: string;
price?: number;
icon?: Media_Plain;
image?: Media_Plain;
}
export interface YogaPrice_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
option1?: string;
option2?: string;
buttonText?: string;
price?: number;
icon?: number;
image?: number;
}
export interface YogaPrice_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
option1?: string;
option2?: string;
buttonText?: string;
price?: number;
icon?: AdminPanelRelationPropertyModification<Media_Plain>;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
}

View File

@ -0,0 +1,38 @@
// Interface automatically generated by schemas-to-ts
export interface YogaSingleSpeciality {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: string;
name: string;
locale: string;
localizations?: { data: YogaSingleSpeciality[] };
};
}
export interface YogaSingleSpeciality_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: string;
name: string;
locale: string;
localizations?: YogaSingleSpeciality_Plain[];
}
export interface YogaSingleSpeciality_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: string;
name: string;
locale: string;
localizations?: YogaSingleSpeciality[];
}
export interface YogaSingleSpeciality_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: string;
name: string;
locale: string;
localizations?: YogaSingleSpeciality[];
}

View File

@ -0,0 +1,78 @@
// Interface automatically generated by schemas-to-ts
import { YogaSingleSpeciality } from './yoga-single-speciality';
import { YogaSingleSpeciality_Plain } from './yoga-single-speciality';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaSpecialitiesComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
name?: string;
left1?: { data: YogaSingleSpeciality };
left2?: { data: YogaSingleSpeciality };
left3?: { data: YogaSingleSpeciality };
left4?: { data: YogaSingleSpeciality };
right1?: { data: YogaSingleSpeciality };
right2?: { data: YogaSingleSpeciality };
right3?: { data: YogaSingleSpeciality };
right4?: { data: YogaSingleSpeciality };
locale: string;
localizations?: { data: YogaSpecialitiesComponent[] };
};
}
export interface YogaSpecialitiesComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
name?: string;
left1?: YogaSingleSpeciality_Plain;
left2?: YogaSingleSpeciality_Plain;
left3?: YogaSingleSpeciality_Plain;
left4?: YogaSingleSpeciality_Plain;
right1?: YogaSingleSpeciality_Plain;
right2?: YogaSingleSpeciality_Plain;
right3?: YogaSingleSpeciality_Plain;
right4?: YogaSingleSpeciality_Plain;
locale: string;
localizations?: YogaSpecialitiesComponent_Plain[];
}
export interface YogaSpecialitiesComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
name?: string;
left1?: number;
left2?: number;
left3?: number;
left4?: number;
right1?: number;
right2?: number;
right3?: number;
right4?: number;
locale: string;
localizations?: YogaSpecialitiesComponent[];
}
export interface YogaSpecialitiesComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
name?: string;
left1?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
left2?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
left3?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
left4?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
right1?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
right2?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
right3?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
right4?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
locale: string;
localizations?: YogaSpecialitiesComponent[];
}