[yoga-11] add common type and add logo

This commit is contained in:
Roland Schneider
2025-06-08 20:51:52 +02:00
parent 90a7dbf827
commit ca60a9a2f4
44 changed files with 390 additions and 24 deletions

View File

@@ -402,6 +402,10 @@ export interface ApiAboutAbout extends Struct.SingleTypeSchema {
'oneToOne',
'api::yoga-blog-posts-component.yoga-blog-posts-component'
>;
common: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-common.yoga-common'
>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
@@ -556,6 +560,10 @@ export interface ApiContactPageContactPage extends Struct.SingleTypeSchema {
draftAndPublish: true;
};
attributes: {
common: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-common.yoga-common'
>;
contactUs: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-contact-us.yoga-contact-us'
@@ -610,6 +618,10 @@ export interface ApiFaqPageFaqPage extends Struct.SingleTypeSchema {
'oneToOne',
'api::yoga-blog-posts-component.yoga-blog-posts-component'
>;
common: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-common.yoga-common'
>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
@@ -663,6 +675,7 @@ export interface ApiGlobalGlobal extends Struct.SingleTypeSchema {
'api::global.global'
> &
Schema.Attribute.Private;
logoImage: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
publishedAt: Schema.Attribute.DateTime;
siteDescription: Schema.Attribute.Text & Schema.Attribute.Required;
siteName: Schema.Attribute.String & Schema.Attribute.Required;
@@ -803,6 +816,7 @@ export interface ApiPersonPerson extends Struct.SingleTypeSchema {
export interface ApiPricesPagePricesPage extends Struct.SingleTypeSchema {
collectionName: 'prices_pages';
info: {
description: '';
displayName: 'PricesPage';
pluralName: 'prices-pages';
singularName: 'prices-page';
@@ -815,6 +829,10 @@ export interface ApiPricesPagePricesPage extends Struct.SingleTypeSchema {
'oneToOne',
'api::yoga-blog-posts-component.yoga-blog-posts-component'
>;
common: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-common.yoga-common'
>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
@@ -861,6 +879,10 @@ export interface ApiServicePageServicePage extends Struct.SingleTypeSchema {
draftAndPublish: true;
};
attributes: {
common: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-common.yoga-common'
>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
@@ -903,6 +925,10 @@ export interface ApiServicesPageServicesPage extends Struct.SingleTypeSchema {
'oneToOne',
'api::yoga-blog-posts-component.yoga-blog-posts-component'
>;
common: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-common.yoga-common'
>;
contactUs: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-contact-us.yoga-contact-us'
@@ -1208,6 +1234,34 @@ export interface ApiYogaBlogPostsComponentYogaBlogPostsComponent
};
}
export interface ApiYogaCommonYogaCommon extends Struct.CollectionTypeSchema {
collectionName: 'yoga_commons';
info: {
displayName: 'YogaCommon';
pluralName: 'yoga-commons';
singularName: 'yoga-common';
};
options: {
draftAndPublish: true;
};
attributes: {
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-common.yoga-common'
> &
Schema.Attribute.Private;
logoImage: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
publishedAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaContactUsYogaContactUs
extends Struct.CollectionTypeSchema {
collectionName: 'yoga_contact_uses';
@@ -2552,6 +2606,7 @@ declare module '@strapi/strapi' {
'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-common.yoga-common': ApiYogaCommonYogaCommon;
'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;