add faq page

This commit is contained in:
Schneider Roland
2025-01-31 21:42:52 +01:00
parent 93af3607e9
commit 3e3dbed6e6
28 changed files with 970 additions and 20 deletions

View File

@@ -540,6 +540,56 @@ export interface ApiCategoryCategory extends Struct.CollectionTypeSchema {
};
}
export interface ApiFaqPageFaqPage extends Struct.SingleTypeSchema {
collectionName: 'faq_pages';
info: {
description: '';
displayName: 'FAQPage';
pluralName: 'faq-pages';
singularName: 'faq-page';
};
options: {
draftAndPublish: true;
};
attributes: {
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'
>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
description: Schema.Attribute.String;
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::faq-page.faq-page'
> &
Schema.Attribute.Private;
publishedAt: Schema.Attribute.DateTime;
questionsAndAnswers: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-faq-component.yoga-faq-component'
>;
subscribe: 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 ApiGlobalGlobal extends Struct.SingleTypeSchema {
collectionName: 'globals';
info: {
@@ -1253,6 +1303,72 @@ export interface ApiYogaDiscountComponentYogaDiscountComponent
};
}
export interface ApiYogaFaqComponentYogaFaqComponent
extends Struct.CollectionTypeSchema {
collectionName: 'yoga_faq_components';
info: {
description: '';
displayName: 'YogaFAQComponent';
pluralName: 'yoga-faq-components';
singularName: 'yoga-faq-component';
};
options: {
draftAndPublish: true;
};
attributes: {
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-faq-component.yoga-faq-component'
> &
Schema.Attribute.Private;
publishedAt: Schema.Attribute.DateTime;
questionsAndAnswers: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-faq-qa.yoga-faq-qa'
>;
title: Schema.Attribute.String;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaFaqQaYogaFaqQa extends Struct.CollectionTypeSchema {
collectionName: 'yoga_faq_qas';
info: {
displayName: 'YogaFAQQA';
pluralName: 'yoga-faq-qas';
singularName: 'yoga-faq-qa';
};
options: {
draftAndPublish: true;
};
attributes: {
answer: Schema.Attribute.Text;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-faq-qa.yoga-faq-qa'
> &
Schema.Attribute.Private;
name: Schema.Attribute.String;
publishedAt: Schema.Attribute.DateTime;
question: Schema.Attribute.String;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaFooterYogaFooter extends Struct.CollectionTypeSchema {
collectionName: 'yoga_footers';
info: {
@@ -2297,6 +2413,7 @@ declare module '@strapi/strapi' {
'api::article.article': ApiArticleArticle;
'api::author.author': ApiAuthorAuthor;
'api::category.category': ApiCategoryCategory;
'api::faq-page.faq-page': ApiFaqPageFaqPage;
'api::global.global': ApiGlobalGlobal;
'api::home.home': ApiHomeHome;
'api::page.page': ApiPagePage;
@@ -2313,6 +2430,8 @@ declare module '@strapi/strapi' {
'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-faq-component.yoga-faq-component': ApiYogaFaqComponentYogaFaqComponent;
'api::yoga-faq-qa.yoga-faq-qa': ApiYogaFaqQaYogaFaqQa;
'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;