SpaceAPI: add undefined to state.open

This commit is contained in:
He4eT 2025-05-30 17:34:33 +02:00
commit 585622403c
3 changed files with 13 additions and 4 deletions

View file

@ -885,7 +885,8 @@ export interface ApiStateState extends Struct.SingleTypeSchema {
localizations: Schema.Attribute.Relation<'oneToMany', 'api::state.state'> &
Schema.Attribute.Private;
message: Schema.Attribute.String;
open: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
open: Schema.Attribute.Enumeration<['True', 'False', 'Undefined']> &
Schema.Attribute.DefaultTo<'Undefined'>;
publishedAt: Schema.Attribute.DateTime;
trigger_person: Schema.Attribute.String;
updatedAt: Schema.Attribute.DateTime;