update schemas

This commit is contained in:
lightling 2024-10-14 17:24:45 -04:00
parent b23e5117a2
commit d86e5f23ff
2 changed files with 7 additions and 2 deletions

View file

@ -24,8 +24,12 @@
"target": "api::media-entry.media-entry", "target": "api::media-entry.media-entry",
"mappedBy": "lists" "mappedBy": "lists"
}, },
"title": {
"type": "string",
"required": true
},
"description": { "description": {
"type": "string" "type": "richtext"
} }
} }
} }

View file

@ -545,7 +545,8 @@ export interface ApiMediaListMediaList extends Struct.CollectionTypeSchema {
'manyToMany', 'manyToMany',
'api::media-entry.media-entry' 'api::media-entry.media-entry'
>; >;
description: Schema.Attribute.String; title: Schema.Attribute.String & Schema.Attribute.Required;
description: Schema.Attribute.RichText;
createdAt: Schema.Attribute.DateTime; createdAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime; updatedAt: Schema.Attribute.DateTime;
publishedAt: Schema.Attribute.DateTime; publishedAt: Schema.Attribute.DateTime;