diff --git a/src/api/service/content-types/service/schema.json b/src/api/service/content-types/service/schema.json index 2bfef79..11d1390 100644 --- a/src/api/service/content-types/service/schema.json +++ b/src/api/service/content-types/service/schema.json @@ -26,6 +26,11 @@ "relation": "manyToOne", "target": "api::customer.customer", "inversedBy": "services" + }, + "duration": { + "type": "time", + "required": true, + "default": "01:00:00.000" } } } diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index 4605967..769e1ab 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -503,6 +503,9 @@ export interface ApiServiceService extends Struct.CollectionTypeSchema { createdAt: Schema.Attribute.DateTime; createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & Schema.Attribute.Private; + duration: Schema.Attribute.Time & + Schema.Attribute.Required & + Schema.Attribute.DefaultTo<'01:00:00.000'>; locale: Schema.Attribute.String & Schema.Attribute.Private; localizations: Schema.Attribute.Relation< 'oneToMany',