home and about page
This commit is contained in:
@@ -1,25 +1,21 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
import { HeaderB } from '../components/yoga-site/HeaderB';
|
||||
import { YogaContactUs } from './yoga-contact-us';
|
||||
import { YogaPriceComponent } from './yoga-price-component';
|
||||
import { YogaSpecialitiesComponent } from './yoga-specialities-component';
|
||||
import { YogaAboutUsComponent } from './yoga-about-us-component';
|
||||
import { YogaCustomerFeedbackComponent } from './yoga-customer-feedback-component';
|
||||
import { YogaOurServicesComponent } from './yoga-our-services-component';
|
||||
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||
import { YogaFooter } from './yoga-footer';
|
||||
import { YogaAboutUsWithBoxesComponent } from './yoga-about-us-with-boxes-component';
|
||||
import { YogaDiscountComponent } from './yoga-discount-component';
|
||||
import { YogaTextWithImageComponent } from './yoga-text-with-image-component';
|
||||
import { YogaAchivementsComponent } from './yoga-achivements-component';
|
||||
import { HeaderB_Plain } from '../components/yoga-site/HeaderB';
|
||||
import { YogaContactUs_Plain } from './yoga-contact-us';
|
||||
import { YogaPriceComponent_Plain } from './yoga-price-component';
|
||||
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
|
||||
import { YogaAboutUsComponent_Plain } from './yoga-about-us-component';
|
||||
import { YogaCustomerFeedbackComponent_Plain } from './yoga-customer-feedback-component';
|
||||
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
|
||||
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||
import { YogaFooter_Plain } from './yoga-footer';
|
||||
import { YogaAboutUsWithBoxesComponent_Plain } from './yoga-about-us-with-boxes-component';
|
||||
import { YogaDiscountComponent_Plain } from './yoga-discount-component';
|
||||
import { YogaTextWithImageComponent_Plain } from './yoga-text-with-image-component';
|
||||
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
|
||||
import { HeaderB_NoRelations } from '../components/yoga-site/HeaderB';
|
||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||
|
||||
@@ -27,15 +23,14 @@ export interface About {
|
||||
id: number;
|
||||
attributes: {
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB;
|
||||
contactUs?: { data: YogaContactUs };
|
||||
prices?: { data: YogaPriceComponent };
|
||||
ourSpecialities?: { data: YogaSpecialitiesComponent };
|
||||
aboutUs?: { data: YogaAboutUsComponent };
|
||||
feedbacks?: { data: YogaCustomerFeedbackComponent };
|
||||
ourServices?: { data: YogaOurServicesComponent };
|
||||
blogs?: { data: YogaBlogPostsComponent };
|
||||
subscribeNow?: { data: YogaSubscribeNowComponent };
|
||||
footer?: { data: YogaFooter };
|
||||
aboutUs?: { data: YogaAboutUsWithBoxesComponent };
|
||||
discount?: { data: YogaDiscountComponent };
|
||||
ourMission?: { data: YogaTextWithImageComponent };
|
||||
ourVision?: { data: YogaTextWithImageComponent };
|
||||
achievements?: { data: YogaAchivementsComponent };
|
||||
locale: string;
|
||||
localizations?: { data: About[] };
|
||||
};
|
||||
@@ -43,15 +38,14 @@ export interface About {
|
||||
export interface About_Plain {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB_Plain;
|
||||
contactUs?: YogaContactUs_Plain;
|
||||
prices?: YogaPriceComponent_Plain;
|
||||
ourSpecialities?: YogaSpecialitiesComponent_Plain;
|
||||
aboutUs?: YogaAboutUsComponent_Plain;
|
||||
feedbacks?: YogaCustomerFeedbackComponent_Plain;
|
||||
ourServices?: YogaOurServicesComponent_Plain;
|
||||
blogs?: YogaBlogPostsComponent_Plain;
|
||||
subscribeNow?: YogaSubscribeNowComponent_Plain;
|
||||
footer?: YogaFooter_Plain;
|
||||
aboutUs?: YogaAboutUsWithBoxesComponent_Plain;
|
||||
discount?: YogaDiscountComponent_Plain;
|
||||
ourMission?: YogaTextWithImageComponent_Plain;
|
||||
ourVision?: YogaTextWithImageComponent_Plain;
|
||||
achievements?: YogaAchivementsComponent_Plain;
|
||||
locale: string;
|
||||
localizations?: About_Plain[];
|
||||
}
|
||||
@@ -59,15 +53,14 @@ export interface About_Plain {
|
||||
export interface About_NoRelations {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB_NoRelations;
|
||||
contactUs?: number;
|
||||
prices?: number;
|
||||
ourSpecialities?: number;
|
||||
aboutUs?: number;
|
||||
feedbacks?: number;
|
||||
ourServices?: number;
|
||||
blogs?: number;
|
||||
subscribeNow?: number;
|
||||
footer?: number;
|
||||
aboutUs?: number;
|
||||
discount?: number;
|
||||
ourMission?: number;
|
||||
ourVision?: number;
|
||||
achievements?: number;
|
||||
locale: string;
|
||||
localizations?: About[];
|
||||
}
|
||||
@@ -75,15 +68,14 @@ export interface About_NoRelations {
|
||||
export interface About_AdminPanelLifeCycle {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB_Plain;
|
||||
contactUs?: AdminPanelRelationPropertyModification<YogaContactUs_Plain>;
|
||||
prices?: AdminPanelRelationPropertyModification<YogaPriceComponent_Plain>;
|
||||
ourSpecialities?: AdminPanelRelationPropertyModification<YogaSpecialitiesComponent_Plain>;
|
||||
aboutUs?: AdminPanelRelationPropertyModification<YogaAboutUsComponent_Plain>;
|
||||
feedbacks?: AdminPanelRelationPropertyModification<YogaCustomerFeedbackComponent_Plain>;
|
||||
ourServices?: AdminPanelRelationPropertyModification<YogaOurServicesComponent_Plain>;
|
||||
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
|
||||
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||
aboutUs?: AdminPanelRelationPropertyModification<YogaAboutUsWithBoxesComponent_Plain>;
|
||||
discount?: AdminPanelRelationPropertyModification<YogaDiscountComponent_Plain>;
|
||||
ourMission?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
|
||||
ourVision?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
|
||||
achievements?: AdminPanelRelationPropertyModification<YogaAchivementsComponent_Plain>;
|
||||
locale: string;
|
||||
localizations?: About[];
|
||||
}
|
||||
|
||||
88
yoga-cms/generated-strapi-interfaces/api/home.ts
Normal file
88
yoga-cms/generated-strapi-interfaces/api/home.ts
Normal file
@@ -0,0 +1,88 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
import { YogaOurServicesComponent } from './yoga-our-services-component';
|
||||
import { YogaAboutUsComponent } from './yoga-about-us-component';
|
||||
import { YogaSpecialitiesComponent } from './yoga-specialities-component';
|
||||
import { YogaContactUs } from './yoga-contact-us';
|
||||
import { YogaPriceComponent } from './yoga-price-component';
|
||||
import { YogaCustomerFeedbackComponent } from './yoga-customer-feedback-component';
|
||||
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||
import { YogaFooter } from './yoga-footer';
|
||||
import { YogaMainHeaderComponent } from './yoga-main-header-component';
|
||||
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
|
||||
import { YogaAboutUsComponent_Plain } from './yoga-about-us-component';
|
||||
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
|
||||
import { YogaContactUs_Plain } from './yoga-contact-us';
|
||||
import { YogaPriceComponent_Plain } from './yoga-price-component';
|
||||
import { YogaCustomerFeedbackComponent_Plain } from './yoga-customer-feedback-component';
|
||||
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||
import { YogaFooter_Plain } from './yoga-footer';
|
||||
import { YogaMainHeaderComponent_Plain } from './yoga-main-header-component';
|
||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||
|
||||
export interface Home {
|
||||
id: number;
|
||||
attributes: {
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; ourServices?: { data: YogaOurServicesComponent };
|
||||
aboutUs?: { data: YogaAboutUsComponent };
|
||||
ourSpecialities?: { data: YogaSpecialitiesComponent };
|
||||
contactUs?: { data: YogaContactUs };
|
||||
prices?: { data: YogaPriceComponent };
|
||||
feedbacks?: { data: YogaCustomerFeedbackComponent };
|
||||
blogs?: { data: YogaBlogPostsComponent };
|
||||
subscribeNow?: { data: YogaSubscribeNowComponent };
|
||||
footer?: { data: YogaFooter };
|
||||
header?: { data: YogaMainHeaderComponent };
|
||||
locale: string;
|
||||
localizations?: { data: Home[] };
|
||||
};
|
||||
}
|
||||
export interface Home_Plain {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; ourServices?: YogaOurServicesComponent_Plain;
|
||||
aboutUs?: YogaAboutUsComponent_Plain;
|
||||
ourSpecialities?: YogaSpecialitiesComponent_Plain;
|
||||
contactUs?: YogaContactUs_Plain;
|
||||
prices?: YogaPriceComponent_Plain;
|
||||
feedbacks?: YogaCustomerFeedbackComponent_Plain;
|
||||
blogs?: YogaBlogPostsComponent_Plain;
|
||||
subscribeNow?: YogaSubscribeNowComponent_Plain;
|
||||
footer?: YogaFooter_Plain;
|
||||
header?: YogaMainHeaderComponent_Plain;
|
||||
locale: string;
|
||||
localizations?: Home_Plain[];
|
||||
}
|
||||
|
||||
export interface Home_NoRelations {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; ourServices?: number;
|
||||
aboutUs?: number;
|
||||
ourSpecialities?: number;
|
||||
contactUs?: number;
|
||||
prices?: number;
|
||||
feedbacks?: number;
|
||||
blogs?: number;
|
||||
subscribeNow?: number;
|
||||
footer?: number;
|
||||
header?: number;
|
||||
locale: string;
|
||||
localizations?: Home[];
|
||||
}
|
||||
|
||||
export interface Home_AdminPanelLifeCycle {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; ourServices?: AdminPanelRelationPropertyModification<YogaOurServicesComponent_Plain>;
|
||||
aboutUs?: AdminPanelRelationPropertyModification<YogaAboutUsComponent_Plain>;
|
||||
ourSpecialities?: AdminPanelRelationPropertyModification<YogaSpecialitiesComponent_Plain>;
|
||||
contactUs?: AdminPanelRelationPropertyModification<YogaContactUs_Plain>;
|
||||
prices?: AdminPanelRelationPropertyModification<YogaPriceComponent_Plain>;
|
||||
feedbacks?: AdminPanelRelationPropertyModification<YogaCustomerFeedbackComponent_Plain>;
|
||||
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
|
||||
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||
header?: AdminPanelRelationPropertyModification<YogaMainHeaderComponent_Plain>;
|
||||
locale: string;
|
||||
localizations?: Home[];
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
// 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 YogaAboutUsWithBoxesComponent {
|
||||
id: number;
|
||||
attributes: {
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
||||
title?: string;
|
||||
description?: string;
|
||||
box1?: string;
|
||||
box2?: string;
|
||||
box3?: string;
|
||||
box4?: string;
|
||||
image?: { data: Media };
|
||||
};
|
||||
}
|
||||
export interface YogaAboutUsWithBoxesComponent_Plain {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
||||
title?: string;
|
||||
description?: string;
|
||||
box1?: string;
|
||||
box2?: string;
|
||||
box3?: string;
|
||||
box4?: string;
|
||||
image?: Media_Plain;
|
||||
}
|
||||
|
||||
export interface YogaAboutUsWithBoxesComponent_NoRelations {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
||||
title?: string;
|
||||
description?: string;
|
||||
box1?: string;
|
||||
box2?: string;
|
||||
box3?: string;
|
||||
box4?: string;
|
||||
image?: number;
|
||||
}
|
||||
|
||||
export interface YogaAboutUsWithBoxesComponent_AdminPanelLifeCycle {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
||||
title?: string;
|
||||
description?: string;
|
||||
box1?: string;
|
||||
box2?: string;
|
||||
box3?: string;
|
||||
box4?: string;
|
||||
image?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||
}
|
||||
34
yoga-cms/generated-strapi-interfaces/api/yoga-achivement.ts
Normal file
34
yoga-cms/generated-strapi-interfaces/api/yoga-achivement.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
// 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 YogaAchivement {
|
||||
id: number;
|
||||
attributes: {
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
image?: { data: Media };
|
||||
name?: string;
|
||||
};
|
||||
}
|
||||
export interface YogaAchivement_Plain {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
image?: Media_Plain;
|
||||
name?: string;
|
||||
}
|
||||
|
||||
export interface YogaAchivement_NoRelations {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
image?: number;
|
||||
name?: string;
|
||||
}
|
||||
|
||||
export interface YogaAchivement_AdminPanelLifeCycle {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
image?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||
name?: string;
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
import { YogaAchivement } from './yoga-achivement';
|
||||
import { YogaAchivement_Plain } from './yoga-achivement';
|
||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||
|
||||
export interface YogaAchivementsComponent {
|
||||
id: number;
|
||||
attributes: {
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
header?: string;
|
||||
description?: string;
|
||||
name?: string;
|
||||
achievements: { data: YogaAchivement[] };
|
||||
};
|
||||
}
|
||||
export interface YogaAchivementsComponent_Plain {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
header?: string;
|
||||
description?: string;
|
||||
name?: string;
|
||||
achievements: YogaAchivement_Plain[];
|
||||
}
|
||||
|
||||
export interface YogaAchivementsComponent_NoRelations {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
header?: string;
|
||||
description?: string;
|
||||
name?: string;
|
||||
achievements: number[];
|
||||
}
|
||||
|
||||
export interface YogaAchivementsComponent_AdminPanelLifeCycle {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
header?: string;
|
||||
description?: string;
|
||||
name?: string;
|
||||
achievements: AdminPanelRelationPropertyModification<YogaAchivement_Plain>;
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
import { Button } from '../components/yoga-site/Button';
|
||||
import { Button_Plain } from '../components/yoga-site/Button';
|
||||
import { Button_NoRelations } from '../components/yoga-site/Button';
|
||||
|
||||
export interface YogaDiscountComponent {
|
||||
id: number;
|
||||
attributes: {
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; headerPart1?: string;
|
||||
headerDiscount?: string;
|
||||
headerPart2?: string;
|
||||
description?: string;
|
||||
button: Button;
|
||||
name?: string;
|
||||
};
|
||||
}
|
||||
export interface YogaDiscountComponent_Plain {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; headerPart1?: string;
|
||||
headerDiscount?: string;
|
||||
headerPart2?: string;
|
||||
description?: string;
|
||||
button: Button_Plain;
|
||||
name?: string;
|
||||
}
|
||||
|
||||
export interface YogaDiscountComponent_NoRelations {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; headerPart1?: string;
|
||||
headerDiscount?: string;
|
||||
headerPart2?: string;
|
||||
description?: string;
|
||||
button: Button_NoRelations;
|
||||
name?: string;
|
||||
}
|
||||
|
||||
export interface YogaDiscountComponent_AdminPanelLifeCycle {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; headerPart1?: string;
|
||||
headerDiscount?: string;
|
||||
headerPart2?: string;
|
||||
description?: string;
|
||||
button: Button_Plain;
|
||||
name?: string;
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
import { Media } from '../components/shared/Media';
|
||||
import { Button } from '../components/yoga-site/Button';
|
||||
import { Media_Plain } from '../components/shared/Media';
|
||||
import { Button_Plain } from '../components/yoga-site/Button';
|
||||
import { Button_NoRelations } from '../components/yoga-site/Button';
|
||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||
|
||||
export interface YogaMainHeaderComponent {
|
||||
id: number;
|
||||
attributes: {
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
header?: string;
|
||||
headerIType?: string;
|
||||
description?: string;
|
||||
image?: { data: Media };
|
||||
button: Button;
|
||||
};
|
||||
}
|
||||
export interface YogaMainHeaderComponent_Plain {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
header?: string;
|
||||
headerIType?: string;
|
||||
description?: string;
|
||||
image?: Media_Plain;
|
||||
button: Button_Plain;
|
||||
}
|
||||
|
||||
export interface YogaMainHeaderComponent_NoRelations {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
header?: string;
|
||||
headerIType?: string;
|
||||
description?: string;
|
||||
image?: number;
|
||||
button: Button_NoRelations;
|
||||
}
|
||||
|
||||
export interface YogaMainHeaderComponent_AdminPanelLifeCycle {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||
header?: string;
|
||||
headerIType?: string;
|
||||
description?: string;
|
||||
image?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||
button: Button_Plain;
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
import { Media } from '../components/shared/Media';
|
||||
import { Button } from '../components/yoga-site/Button';
|
||||
import { Media_Plain } from '../components/shared/Media';
|
||||
import { Button_Plain } from '../components/yoga-site/Button';
|
||||
import { Button_NoRelations } from '../components/yoga-site/Button';
|
||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||
|
||||
export enum ImagePosition {
|
||||
Left = 'Left',
|
||||
Right = 'Right',}
|
||||
|
||||
export interface YogaTextWithImageComponent {
|
||||
id: number;
|
||||
attributes: {
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; name: string;
|
||||
imagePosition?: ImagePosition;
|
||||
title?: string;
|
||||
header?: string;
|
||||
description?: string;
|
||||
image: { data: Media };
|
||||
button: Button;
|
||||
};
|
||||
}
|
||||
export interface YogaTextWithImageComponent_Plain {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; name: string;
|
||||
imagePosition?: ImagePosition;
|
||||
title?: string;
|
||||
header?: string;
|
||||
description?: string;
|
||||
image: Media_Plain;
|
||||
button: Button_Plain;
|
||||
}
|
||||
|
||||
export interface YogaTextWithImageComponent_NoRelations {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; name: string;
|
||||
imagePosition?: ImagePosition;
|
||||
title?: string;
|
||||
header?: string;
|
||||
description?: string;
|
||||
image: number;
|
||||
button: Button_NoRelations;
|
||||
}
|
||||
|
||||
export interface YogaTextWithImageComponent_AdminPanelLifeCycle {
|
||||
id: number;
|
||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; name: string;
|
||||
imagePosition?: ImagePosition;
|
||||
title?: string;
|
||||
header?: string;
|
||||
description?: string;
|
||||
image: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||
button: Button_Plain;
|
||||
}
|
||||
@@ -26,36 +26,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"contactUs": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-contact-us.yoga-contact-us"
|
||||
},
|
||||
"prices": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-price-component.yoga-price-component"
|
||||
},
|
||||
"ourSpecialities": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-specialities-component.yoga-specialities-component"
|
||||
},
|
||||
"aboutUs": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-about-us-component.yoga-about-us-component"
|
||||
},
|
||||
"feedbacks": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-customer-feedback-component.yoga-customer-feedback-component"
|
||||
},
|
||||
"ourServices": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-our-services-component.yoga-our-services-component"
|
||||
},
|
||||
"blogs": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
@@ -70,6 +40,31 @@
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-footer.yoga-footer"
|
||||
},
|
||||
"aboutUs": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-about-us-with-boxes-component.yoga-about-us-with-boxes-component"
|
||||
},
|
||||
"discount": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-discount-component.yoga-discount-component"
|
||||
},
|
||||
"ourMission": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-text-with-image-component.yoga-text-with-image-component"
|
||||
},
|
||||
"ourVision": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-text-with-image-component.yoga-text-with-image-component"
|
||||
},
|
||||
"achievements": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-achivements-component.yoga-achivements-component"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
70
yoga-cms/src/api/home/content-types/home/schema.json
Normal file
70
yoga-cms/src/api/home/content-types/home/schema.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"kind": "singleType",
|
||||
"collectionName": "homes",
|
||||
"info": {
|
||||
"singularName": "home",
|
||||
"pluralName": "homes",
|
||||
"displayName": "Home",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"pluginOptions": {
|
||||
"i18n": {
|
||||
"localized": true
|
||||
}
|
||||
},
|
||||
"attributes": {
|
||||
"ourServices": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-our-services-component.yoga-our-services-component"
|
||||
},
|
||||
"aboutUs": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-about-us-component.yoga-about-us-component"
|
||||
},
|
||||
"ourSpecialities": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-specialities-component.yoga-specialities-component"
|
||||
},
|
||||
"contactUs": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-contact-us.yoga-contact-us"
|
||||
},
|
||||
"prices": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-price-component.yoga-price-component"
|
||||
},
|
||||
"feedbacks": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-customer-feedback-component.yoga-customer-feedback-component"
|
||||
},
|
||||
"blogs": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-blog-posts-component.yoga-blog-posts-component"
|
||||
},
|
||||
"subscribeNow": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-subscribe-now-component.yoga-subscribe-now-component"
|
||||
},
|
||||
"footer": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-footer.yoga-footer"
|
||||
},
|
||||
"header": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::yoga-main-header-component.yoga-main-header-component"
|
||||
}
|
||||
}
|
||||
}
|
||||
7
yoga-cms/src/api/home/controllers/home.ts
Normal file
7
yoga-cms/src/api/home/controllers/home.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* home controller
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi'
|
||||
|
||||
export default factories.createCoreController('api::home.home');
|
||||
7
yoga-cms/src/api/home/routes/home.ts
Normal file
7
yoga-cms/src/api/home/routes/home.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* home router
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreRouter('api::home.home');
|
||||
7
yoga-cms/src/api/home/services/home.ts
Normal file
7
yoga-cms/src/api/home/services/home.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* home service
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreService('api::home.home');
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "yoga_about_us_with_boxes_components",
|
||||
"info": {
|
||||
"singularName": "yoga-about-us-with-boxes-component",
|
||||
"pluralName": "yoga-about-us-with-boxes-components",
|
||||
"displayName": "YogaAboutUsWithBoxesComponent",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"pluginOptions": {},
|
||||
"attributes": {
|
||||
"header": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"box1": {
|
||||
"type": "string"
|
||||
},
|
||||
"box2": {
|
||||
"type": "string"
|
||||
},
|
||||
"box3": {
|
||||
"type": "string"
|
||||
},
|
||||
"box4": {
|
||||
"type": "string"
|
||||
},
|
||||
"image": {
|
||||
"allowedTypes": [
|
||||
"images",
|
||||
"files",
|
||||
"videos",
|
||||
"audios"
|
||||
],
|
||||
"type": "media",
|
||||
"multiple": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-about-us-with-boxes-component controller
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi'
|
||||
|
||||
export default factories.createCoreController('api::yoga-about-us-with-boxes-component.yoga-about-us-with-boxes-component');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-about-us-with-boxes-component router
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreRouter('api::yoga-about-us-with-boxes-component.yoga-about-us-with-boxes-component');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-about-us-with-boxes-component service
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreService('api::yoga-about-us-with-boxes-component.yoga-about-us-with-boxes-component');
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "yoga_achivements",
|
||||
"info": {
|
||||
"singularName": "yoga-achivement",
|
||||
"pluralName": "yoga-achivements",
|
||||
"displayName": "YogaAchievements",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"pluginOptions": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"image": {
|
||||
"type": "media",
|
||||
"multiple": false,
|
||||
"required": false,
|
||||
"allowedTypes": [
|
||||
"images",
|
||||
"files",
|
||||
"videos",
|
||||
"audios"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-achivement controller
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi'
|
||||
|
||||
export default factories.createCoreController('api::yoga-achivement.yoga-achivement');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-achivement router
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreRouter('api::yoga-achivement.yoga-achivement');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-achivement service
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreService('api::yoga-achivement.yoga-achivement');
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "yoga_achivements_components",
|
||||
"info": {
|
||||
"singularName": "yoga-achivements-component",
|
||||
"pluralName": "yoga-achivements-components",
|
||||
"displayName": "YogaAchievementsComponent",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"pluginOptions": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"header": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"achievements": {
|
||||
"type": "relation",
|
||||
"relation": "oneToMany",
|
||||
"target": "api::yoga-achivement.yoga-achivement"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-achivements-component controller
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi'
|
||||
|
||||
export default factories.createCoreController('api::yoga-achivements-component.yoga-achivements-component');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-achivements-component router
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreRouter('api::yoga-achivements-component.yoga-achivements-component');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-achivements-component service
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreService('api::yoga-achivements-component.yoga-achivements-component');
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "yoga_discount_components",
|
||||
"info": {
|
||||
"singularName": "yoga-discount-component",
|
||||
"pluralName": "yoga-discount-components",
|
||||
"displayName": "YogaDiscountComponent",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"pluginOptions": {},
|
||||
"attributes": {
|
||||
"headerPart1": {
|
||||
"type": "string"
|
||||
},
|
||||
"headerDiscount": {
|
||||
"type": "string"
|
||||
},
|
||||
"headerPart2": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "richtext"
|
||||
},
|
||||
"button": {
|
||||
"type": "component",
|
||||
"repeatable": false,
|
||||
"component": "yoga-site.button",
|
||||
"required": true
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-discount-component controller
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi'
|
||||
|
||||
export default factories.createCoreController('api::yoga-discount-component.yoga-discount-component');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-discount-component router
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreRouter('api::yoga-discount-component.yoga-discount-component');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-discount-component service
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreService('api::yoga-discount-component.yoga-discount-component');
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "yoga_main_header_components",
|
||||
"info": {
|
||||
"singularName": "yoga-main-header-component",
|
||||
"pluralName": "yoga-main-header-components",
|
||||
"displayName": "YogaMainHeaderComponent"
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"pluginOptions": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"header": {
|
||||
"type": "string"
|
||||
},
|
||||
"headerIType": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"image": {
|
||||
"allowedTypes": [
|
||||
"images",
|
||||
"files",
|
||||
"videos",
|
||||
"audios"
|
||||
],
|
||||
"type": "media",
|
||||
"multiple": false
|
||||
},
|
||||
"button": {
|
||||
"type": "component",
|
||||
"repeatable": false,
|
||||
"component": "yoga-site.button",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-main-header-component controller
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi'
|
||||
|
||||
export default factories.createCoreController('api::yoga-main-header-component.yoga-main-header-component');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-main-header-component router
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreRouter('api::yoga-main-header-component.yoga-main-header-component');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-main-header-component service
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreService('api::yoga-main-header-component.yoga-main-header-component');
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "yoga_text_with_image_components",
|
||||
"info": {
|
||||
"singularName": "yoga-text-with-image-component",
|
||||
"pluralName": "yoga-text-with-image-components",
|
||||
"displayName": "YogaTextWithImageComponent",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"pluginOptions": {},
|
||||
"attributes": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"imagePosition": {
|
||||
"type": "enumeration",
|
||||
"enum": [
|
||||
"Left",
|
||||
"Right"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"header": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"image": {
|
||||
"type": "media",
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"allowedTypes": [
|
||||
"images",
|
||||
"files"
|
||||
]
|
||||
},
|
||||
"button": {
|
||||
"type": "component",
|
||||
"repeatable": false,
|
||||
"component": "yoga-site.button",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-text-with-image-component controller
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi'
|
||||
|
||||
export default factories.createCoreController('api::yoga-text-with-image-component.yoga-text-with-image-component');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-text-with-image-component router
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreRouter('api::yoga-text-with-image-component.yoga-text-with-image-component');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* yoga-text-with-image-component service
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreService('api::yoga-text-with-image-component.yoga-text-with-image-component');
|
||||
317
yoga-cms/types/generated/contentTypes.d.ts
vendored
317
yoga-cms/types/generated/contentTypes.d.ts
vendored
@@ -388,22 +388,22 @@ export interface ApiAboutAbout extends Struct.SingleTypeSchema {
|
||||
attributes: {
|
||||
aboutUs: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-about-us-component.yoga-about-us-component'
|
||||
'api::yoga-about-us-with-boxes-component.yoga-about-us-with-boxes-component'
|
||||
>;
|
||||
achievements: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-achivements-component.yoga-achivements-component'
|
||||
>;
|
||||
blogs: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
||||
>;
|
||||
contactUs: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-contact-us.yoga-contact-us'
|
||||
>;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
feedbacks: Schema.Attribute.Relation<
|
||||
discount: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-customer-feedback-component.yoga-customer-feedback-component'
|
||||
'api::yoga-discount-component.yoga-discount-component'
|
||||
>;
|
||||
footer: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
@@ -417,17 +417,13 @@ export interface ApiAboutAbout extends Struct.SingleTypeSchema {
|
||||
}>;
|
||||
locale: Schema.Attribute.String;
|
||||
localizations: Schema.Attribute.Relation<'oneToMany', 'api::about.about'>;
|
||||
ourServices: Schema.Attribute.Relation<
|
||||
ourMission: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-our-services-component.yoga-our-services-component'
|
||||
'api::yoga-text-with-image-component.yoga-text-with-image-component'
|
||||
>;
|
||||
ourSpecialities: Schema.Attribute.Relation<
|
||||
ourVision: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-specialities-component.yoga-specialities-component'
|
||||
>;
|
||||
prices: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-price-component.yoga-price-component'
|
||||
'api::yoga-text-with-image-component.yoga-text-with-image-component'
|
||||
>;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
subscribeNow: Schema.Attribute.Relation<
|
||||
@@ -576,6 +572,75 @@ export interface ApiGlobalGlobal extends Struct.SingleTypeSchema {
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiHomeHome extends Struct.SingleTypeSchema {
|
||||
collectionName: 'homes';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'Home';
|
||||
pluralName: 'homes';
|
||||
singularName: 'home';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: true;
|
||||
};
|
||||
pluginOptions: {
|
||||
i18n: {
|
||||
localized: true;
|
||||
};
|
||||
};
|
||||
attributes: {
|
||||
aboutUs: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-about-us-component.yoga-about-us-component'
|
||||
>;
|
||||
blogs: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
||||
>;
|
||||
contactUs: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-contact-us.yoga-contact-us'
|
||||
>;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
feedbacks: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-customer-feedback-component.yoga-customer-feedback-component'
|
||||
>;
|
||||
footer: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-footer.yoga-footer'
|
||||
>;
|
||||
header: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-main-header-component.yoga-main-header-component'
|
||||
>;
|
||||
locale: Schema.Attribute.String;
|
||||
localizations: Schema.Attribute.Relation<'oneToMany', 'api::home.home'>;
|
||||
ourServices: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-our-services-component.yoga-our-services-component'
|
||||
>;
|
||||
ourSpecialities: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-specialities-component.yoga-specialities-component'
|
||||
>;
|
||||
prices: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-price-component.yoga-price-component'
|
||||
>;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
subscribeNow: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-subscribe-now-component.yoga-subscribe-now-component'
|
||||
>;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiPagePage extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'pages';
|
||||
info: {
|
||||
@@ -716,6 +781,112 @@ export interface ApiYogaAboutUsComponentYogaAboutUsComponent
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaAboutUsWithBoxesComponentYogaAboutUsWithBoxesComponent
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_about_us_with_boxes_components';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'YogaAboutUsWithBoxesComponent';
|
||||
pluralName: 'yoga-about-us-with-boxes-components';
|
||||
singularName: 'yoga-about-us-with-boxes-component';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: true;
|
||||
};
|
||||
attributes: {
|
||||
box1: Schema.Attribute.String;
|
||||
box2: Schema.Attribute.String;
|
||||
box3: Schema.Attribute.String;
|
||||
box4: Schema.Attribute.String;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
description: Schema.Attribute.Text;
|
||||
header: Schema.Attribute.String;
|
||||
image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::yoga-about-us-with-boxes-component.yoga-about-us-with-boxes-component'
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
title: Schema.Attribute.String;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaAchivementYogaAchivement
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_achivements';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'YogaAchievements';
|
||||
pluralName: 'yoga-achivements';
|
||||
singularName: 'yoga-achivement';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: true;
|
||||
};
|
||||
attributes: {
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::yoga-achivement.yoga-achivement'
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
name: Schema.Attribute.String;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
title: Schema.Attribute.String;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaAchivementsComponentYogaAchivementsComponent
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_achivements_components';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'YogaAchievementsComponent';
|
||||
pluralName: 'yoga-achivements-components';
|
||||
singularName: 'yoga-achivements-component';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: true;
|
||||
};
|
||||
attributes: {
|
||||
achievements: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::yoga-achivement.yoga-achivement'
|
||||
>;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
description: Schema.Attribute.Text;
|
||||
header: Schema.Attribute.String;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::yoga-achivements-component.yoga-achivements-component'
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
name: Schema.Attribute.String;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
title: Schema.Attribute.String;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaBlogPostYogaBlogPost
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_blog_posts';
|
||||
@@ -938,6 +1109,42 @@ export interface ApiYogaCustomerFeedbackYogaCustomerFeedback
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaDiscountComponentYogaDiscountComponent
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_discount_components';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'YogaDiscountComponent';
|
||||
pluralName: 'yoga-discount-components';
|
||||
singularName: 'yoga-discount-component';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: true;
|
||||
};
|
||||
attributes: {
|
||||
button: Schema.Attribute.Component<'yoga-site.button', false> &
|
||||
Schema.Attribute.Required;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
description: Schema.Attribute.RichText;
|
||||
headerDiscount: Schema.Attribute.String;
|
||||
headerPart1: Schema.Attribute.String;
|
||||
headerPart2: Schema.Attribute.String;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::yoga-discount-component.yoga-discount-component'
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
name: Schema.Attribute.String;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaFooterYogaFooter extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_footers';
|
||||
info: {
|
||||
@@ -976,6 +1183,41 @@ export interface ApiYogaFooterYogaFooter extends Struct.CollectionTypeSchema {
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaMainHeaderComponentYogaMainHeaderComponent
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_main_header_components';
|
||||
info: {
|
||||
displayName: 'YogaMainHeaderComponent';
|
||||
pluralName: 'yoga-main-header-components';
|
||||
singularName: 'yoga-main-header-component';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: true;
|
||||
};
|
||||
attributes: {
|
||||
button: Schema.Attribute.Component<'yoga-site.button', false> &
|
||||
Schema.Attribute.Required;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
description: Schema.Attribute.Text;
|
||||
header: Schema.Attribute.String;
|
||||
headerIType: Schema.Attribute.String;
|
||||
image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::yoga-main-header-component.yoga-main-header-component'
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
title: Schema.Attribute.String;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaOurServicesComponentYogaOurServicesComponent
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_our_services_components';
|
||||
@@ -1396,6 +1638,44 @@ export interface ApiYogaTagYogaTag extends Struct.CollectionTypeSchema {
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaTextWithImageComponentYogaTextWithImageComponent
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_text_with_image_components';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'YogaTextWithImageComponent';
|
||||
pluralName: 'yoga-text-with-image-components';
|
||||
singularName: 'yoga-text-with-image-component';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: true;
|
||||
};
|
||||
attributes: {
|
||||
button: Schema.Attribute.Component<'yoga-site.button', false> &
|
||||
Schema.Attribute.Required;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
description: Schema.Attribute.Text;
|
||||
header: Schema.Attribute.String;
|
||||
image: Schema.Attribute.Media<'images' | 'files'> &
|
||||
Schema.Attribute.Required;
|
||||
imagePosition: Schema.Attribute.Enumeration<['Left', 'Right']>;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::yoga-text-with-image-component.yoga-text-with-image-component'
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
name: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
title: Schema.Attribute.String;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface PluginContentReleasesRelease
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'strapi_releases';
|
||||
@@ -1910,15 +2190,21 @@ declare module '@strapi/strapi' {
|
||||
'api::author.author': ApiAuthorAuthor;
|
||||
'api::category.category': ApiCategoryCategory;
|
||||
'api::global.global': ApiGlobalGlobal;
|
||||
'api::home.home': ApiHomeHome;
|
||||
'api::page.page': ApiPagePage;
|
||||
'api::person.person': ApiPersonPerson;
|
||||
'api::yoga-about-us-component.yoga-about-us-component': ApiYogaAboutUsComponentYogaAboutUsComponent;
|
||||
'api::yoga-about-us-with-boxes-component.yoga-about-us-with-boxes-component': ApiYogaAboutUsWithBoxesComponentYogaAboutUsWithBoxesComponent;
|
||||
'api::yoga-achivement.yoga-achivement': ApiYogaAchivementYogaAchivement;
|
||||
'api::yoga-achivements-component.yoga-achivements-component': ApiYogaAchivementsComponentYogaAchivementsComponent;
|
||||
'api::yoga-blog-post.yoga-blog-post': ApiYogaBlogPostYogaBlogPost;
|
||||
'api::yoga-blog-posts-component.yoga-blog-posts-component': ApiYogaBlogPostsComponentYogaBlogPostsComponent;
|
||||
'api::yoga-contact-us.yoga-contact-us': ApiYogaContactUsYogaContactUs;
|
||||
'api::yoga-customer-feedback-component.yoga-customer-feedback-component': ApiYogaCustomerFeedbackComponentYogaCustomerFeedbackComponent;
|
||||
'api::yoga-customer-feedback.yoga-customer-feedback': ApiYogaCustomerFeedbackYogaCustomerFeedback;
|
||||
'api::yoga-discount-component.yoga-discount-component': ApiYogaDiscountComponentYogaDiscountComponent;
|
||||
'api::yoga-footer.yoga-footer': ApiYogaFooterYogaFooter;
|
||||
'api::yoga-main-header-component.yoga-main-header-component': ApiYogaMainHeaderComponentYogaMainHeaderComponent;
|
||||
'api::yoga-our-services-component.yoga-our-services-component': ApiYogaOurServicesComponentYogaOurServicesComponent;
|
||||
'api::yoga-price-component.yoga-price-component': ApiYogaPriceComponentYogaPriceComponent;
|
||||
'api::yoga-price.yoga-price': ApiYogaPriceYogaPrice;
|
||||
@@ -1927,6 +2213,7 @@ declare module '@strapi/strapi' {
|
||||
'api::yoga-specialities-component.yoga-specialities-component': ApiYogaSpecialitiesComponentYogaSpecialitiesComponent;
|
||||
'api::yoga-subscribe-now-component.yoga-subscribe-now-component': ApiYogaSubscribeNowComponentYogaSubscribeNowComponent;
|
||||
'api::yoga-tag.yoga-tag': ApiYogaTagYogaTag;
|
||||
'api::yoga-text-with-image-component.yoga-text-with-image-component': ApiYogaTextWithImageComponentYogaTextWithImageComponent;
|
||||
'plugin::content-releases.release': PluginContentReleasesRelease;
|
||||
'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
|
||||
'plugin::i18n.locale': PluginI18NLocale;
|
||||
|
||||
Reference in New Issue
Block a user