diff --git a/yoga-cms/generated-strapi-interfaces/api/yoga-single-service.ts b/yoga-cms/generated-strapi-interfaces/api/yoga-single-service.ts index bcfab73..d09adba 100644 --- a/yoga-cms/generated-strapi-interfaces/api/yoga-single-service.ts +++ b/yoga-cms/generated-strapi-interfaces/api/yoga-single-service.ts @@ -13,6 +13,7 @@ export interface YogaSingleService { image?: { data: Media }; imageAlt?: string; name?: string; + article?: string; locale: string; localizations?: { data: YogaSingleService[] }; }; @@ -25,6 +26,7 @@ export interface YogaSingleService_Plain { image?: Media_Plain; imageAlt?: string; name?: string; + article?: string; locale: string; localizations?: YogaSingleService_Plain[]; } @@ -37,6 +39,7 @@ export interface YogaSingleService_NoRelations { image?: number; imageAlt?: string; name?: string; + article?: string; locale: string; localizations?: YogaSingleService[]; } @@ -49,6 +52,7 @@ export interface YogaSingleService_AdminPanelLifeCycle { image?: AdminPanelRelationPropertyModification; imageAlt?: string; name?: string; + article?: string; locale: string; localizations?: YogaSingleService[]; } diff --git a/yoga-cms/src/api/yoga-single-service/content-types/yoga-single-service/schema.json b/yoga-cms/src/api/yoga-single-service/content-types/yoga-single-service/schema.json index 7d7f947..b6bbdfa 100644 --- a/yoga-cms/src/api/yoga-single-service/content-types/yoga-single-service/schema.json +++ b/yoga-cms/src/api/yoga-single-service/content-types/yoga-single-service/schema.json @@ -4,7 +4,8 @@ "info": { "singularName": "yoga-single-service", "pluralName": "yoga-single-services", - "displayName": "YogaSingleService" + "displayName": "YogaSingleService", + "description": "" }, "options": { "draftAndPublish": true @@ -40,14 +41,15 @@ "type": "string" }, "image": { + "type": "media", + "multiple": false, + "required": false, "allowedTypes": [ "images", "files", "videos", "audios" ], - "type": "media", - "multiple": false, "pluginOptions": { "i18n": { "localized": true @@ -69,6 +71,14 @@ } }, "type": "string" + }, + "article": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "richtext" } } } diff --git a/yoga-cms/types/generated/contentTypes.d.ts b/yoga-cms/types/generated/contentTypes.d.ts index e8442da..c203adb 100644 --- a/yoga-cms/types/generated/contentTypes.d.ts +++ b/yoga-cms/types/generated/contentTypes.d.ts @@ -1673,6 +1673,7 @@ export interface ApiYogaSingleServiceYogaSingleService extends Struct.CollectionTypeSchema { collectionName: 'yoga_single_services'; info: { + description: ''; displayName: 'YogaSingleService'; pluralName: 'yoga-single-services'; singularName: 'yoga-single-service'; @@ -1686,6 +1687,12 @@ export interface ApiYogaSingleServiceYogaSingleService }; }; attributes: { + article: Schema.Attribute.RichText & + Schema.Attribute.SetPluginOptions<{ + i18n: { + localized: true; + }; + }>; buttonLink: Schema.Attribute.String & Schema.Attribute.SetPluginOptions<{ i18n: {