strap about page custom query

This commit is contained in:
Schneider Roland
2025-01-12 21:56:22 +01:00
parent 574d623746
commit 741dd19588
36 changed files with 878 additions and 89 deletions

View File

@@ -1,34 +1,55 @@
// 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';
import { HeaderB } from '../components/yoga-site/HeaderB';
import { OurServicesComponent } from '../components/yoga-site/OurServicesComponent';
import { AboutUs } from '../components/yoga-site/AboutUs';
import { OurSpecialitiesComponent } from '../components/yoga-site/OurSpecialitiesComponent';
import { HeaderB_Plain } from '../components/yoga-site/HeaderB';
import { OurServicesComponent_Plain } from '../components/yoga-site/OurServicesComponent';
import { AboutUs_Plain } from '../components/yoga-site/AboutUs';
import { OurSpecialitiesComponent_Plain } from '../components/yoga-site/OurSpecialitiesComponent';
import { HeaderB_NoRelations } from '../components/yoga-site/HeaderB';
import { OurServicesComponent_NoRelations } from '../components/yoga-site/OurServicesComponent';
import { AboutUs_NoRelations } from '../components/yoga-site/AboutUs';
import { OurSpecialitiesComponent_NoRelations } from '../components/yoga-site/OurSpecialitiesComponent';
export interface About {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: any;
image?: { data: Media };
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB;
ourServices: OurServicesComponent;
aboutUs: AboutUs;
ourSpecialities?: OurSpecialitiesComponent;
locale: string;
localizations?: { data: About[] };
};
}
export interface About_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: any;
image?: Media_Plain;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB_Plain;
ourServices: OurServicesComponent_Plain;
aboutUs: AboutUs_Plain;
ourSpecialities?: OurSpecialitiesComponent_Plain;
locale: string;
localizations?: About_Plain[];
}
export interface About_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: any;
image?: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB_NoRelations;
ourServices: OurServicesComponent_NoRelations;
aboutUs: AboutUs_NoRelations;
ourSpecialities?: OurSpecialitiesComponent_NoRelations;
locale: string;
localizations?: About[];
}
export interface About_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: any;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB_Plain;
ourServices: OurServicesComponent_Plain;
aboutUs: AboutUs_Plain;
ourSpecialities?: OurSpecialitiesComponent_Plain;
locale: string;
localizations?: About[];
}

View File

@@ -0,0 +1,16 @@
// Interface automatically generated by schemas-to-ts
export interface TitleDescription {
title?: string;
description?: string;
}
export interface TitleDescription_Plain {
title?: string;
description?: string;
}
export interface TitleDescription_NoRelations {
title?: string;
description?: string;
}

View File

@@ -0,0 +1,28 @@
// Interface automatically generated by schemas-to-ts
export interface AboutUs {
title?: string;
header?: string;
description?: string;
content?: string;
buttonLabel?: string;
buttonLink?: string;
}
export interface AboutUs_Plain {
title?: string;
header?: string;
description?: string;
content?: string;
buttonLabel?: string;
buttonLink?: string;
}
export interface AboutUs_NoRelations {
title?: string;
header?: string;
description?: string;
content?: string;
buttonLabel?: string;
buttonLink?: string;
}

View File

@@ -0,0 +1,19 @@
// Interface automatically generated by schemas-to-ts
export interface HeaderB {
header1?: string;
header2?: string;
description?: string;
}
export interface HeaderB_Plain {
header1?: string;
header2?: string;
description?: string;
}
export interface HeaderB_NoRelations {
header1?: string;
header2?: string;
description?: string;
}

View File

@@ -0,0 +1,19 @@
// Interface automatically generated by schemas-to-ts
export interface OurServicesComponent {
title?: string;
header?: string;
description?: string;
}
export interface OurServicesComponent_Plain {
title?: string;
header?: string;
description?: string;
}
export interface OurServicesComponent_NoRelations {
title?: string;
header?: string;
description?: string;
}

View File

@@ -0,0 +1,47 @@
// Interface automatically generated by schemas-to-ts
import { TitleDescription } from '../shared/TitleDescription';
import { TitleDescription_Plain } from '../shared/TitleDescription';
import { TitleDescription_NoRelations } from '../shared/TitleDescription';
export interface OurSpecialitiesComponent {
title?: string;
header?: string;
description?: string;
specialityLeft1?: TitleDescription;
specialityLeft2?: TitleDescription;
specialityLeft3?: TitleDescription;
specialityLeft4?: TitleDescription;
specialityRight1?: TitleDescription;
specialityRight2?: TitleDescription;
specialityRight3?: TitleDescription;
specialityRight4?: TitleDescription;
}
export interface OurSpecialitiesComponent_Plain {
title?: string;
header?: string;
description?: string;
specialityLeft1?: TitleDescription_Plain;
specialityLeft2?: TitleDescription_Plain;
specialityLeft3?: TitleDescription_Plain;
specialityLeft4?: TitleDescription_Plain;
specialityRight1?: TitleDescription_Plain;
specialityRight2?: TitleDescription_Plain;
specialityRight3?: TitleDescription_Plain;
specialityRight4?: TitleDescription_Plain;
}
export interface OurSpecialitiesComponent_NoRelations {
title?: string;
header?: string;
description?: string;
specialityLeft1?: TitleDescription_NoRelations;
specialityLeft2?: TitleDescription_NoRelations;
specialityLeft3?: TitleDescription_NoRelations;
specialityLeft4?: TitleDescription_NoRelations;
specialityRight1?: TitleDescription_NoRelations;
specialityRight2?: TitleDescription_NoRelations;
specialityRight3?: TitleDescription_NoRelations;
specialityRight4?: TitleDescription_NoRelations;
}