yogastic/yoga-cms/generated-strapi-interfaces/api/home.ts
2025-01-26 11:06:15 +01:00

89 lines
4.1 KiB
TypeScript

// 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[];
}