diff --git a/projects/cms/src/api/media-list/content-types/media-list/schema.json b/projects/cms/src/api/media-list/content-types/media-list/schema.json index 7ae8771..44e4a67 100644 --- a/projects/cms/src/api/media-list/content-types/media-list/schema.json +++ b/projects/cms/src/api/media-list/content-types/media-list/schema.json @@ -24,8 +24,12 @@ "target": "api::media-entry.media-entry", "mappedBy": "lists" }, + "title": { + "type": "string", + "required": true + }, "description": { - "type": "string" + "type": "richtext" } } } diff --git a/projects/cms/types/generated/contentTypes.d.ts b/projects/cms/types/generated/contentTypes.d.ts index 5819ce7..0ba3737 100644 --- a/projects/cms/types/generated/contentTypes.d.ts +++ b/projects/cms/types/generated/contentTypes.d.ts @@ -545,7 +545,8 @@ export interface ApiMediaListMediaList extends Struct.CollectionTypeSchema { 'manyToMany', 'api::media-entry.media-entry' >; - description: Schema.Attribute.String; + title: Schema.Attribute.String & Schema.Attribute.Required; + description: Schema.Attribute.RichText; createdAt: Schema.Attribute.DateTime; updatedAt: Schema.Attribute.DateTime; publishedAt: Schema.Attribute.DateTime;