add service detail page

This commit is contained in:
Schneider Roland
2025-05-21 22:28:12 +02:00
committed by Roland Schneider
parent 4a0cf5762f
commit 22272e0a17
11 changed files with 118 additions and 30 deletions

View File

@@ -849,6 +849,44 @@ export interface ApiPricesPagePricesPage extends Struct.SingleTypeSchema {
};
}
export interface ApiServicePageServicePage extends Struct.SingleTypeSchema {
collectionName: 'service_pages';
info: {
description: '';
displayName: 'ServicePage';
pluralName: 'service-pages';
singularName: 'service-page';
};
options: {
draftAndPublish: true;
};
attributes: {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
description: Schema.Attribute.Text;
footer: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-footer.yoga-footer'
>;
header: Schema.Attribute.String;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::service-page.service-page'
> &
Schema.Attribute.Private;
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 ApiServicesPageServicesPage extends Struct.SingleTypeSchema {
collectionName: 'services_pages';
info: {
@@ -1694,12 +1732,7 @@ export interface ApiYogaSingleServiceYogaSingleService
};
};
attributes: {
article: Schema.Attribute.RichText &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
article: Schema.Attribute.Blocks;
buttonLink: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
@@ -2511,6 +2544,7 @@ declare module '@strapi/strapi' {
'api::page.page': ApiPagePage;
'api::person.person': ApiPersonPerson;
'api::prices-page.prices-page': ApiPricesPagePricesPage;
'api::service-page.service-page': ApiServicePageServicePage;
'api::services-page.services-page': ApiServicesPageServicesPage;
'api::yoga-about-us-component.yoga-about-us-component': ApiYogaAboutUsComponentYogaAboutUsComponent;
'api::yoga-about-us-with-boxes-component.yoga-about-us-with-boxes-component': ApiYogaAboutUsWithBoxesComponentYogaAboutUsWithBoxesComponent;