diff --git a/src/api/order/content-types/order/schema.json b/src/api/order/content-types/order/schema.json index b736647..6d0a93f 100644 --- a/src/api/order/content-types/order/schema.json +++ b/src/api/order/content-types/order/schema.json @@ -51,12 +51,6 @@ "target": "api::slot.slot", "inversedBy": "orders" }, - "time_start": { - "type": "time" - }, - "time_end": { - "type": "time" - }, "services": { "type": "relation", "relation": "manyToMany", diff --git a/src/api/slot/content-types/slot/schema.json b/src/api/slot/content-types/slot/schema.json index b3284b8..814816c 100644 --- a/src/api/slot/content-types/slot/schema.json +++ b/src/api/slot/content-types/slot/schema.json @@ -12,14 +12,6 @@ }, "pluginOptions": {}, "attributes": { - "time_start": { - "type": "time", - "required": true - }, - "time_end": { - "type": "time", - "required": true - }, "state": { "type": "enumeration", "enum": [ @@ -40,9 +32,6 @@ "target": "api::customer.customer", "inversedBy": "slots" }, - "date": { - "type": "date" - }, "datetime_end": { "type": "datetime", "required": true diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index f06b865..defefc9 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -492,8 +492,6 @@ export interface ApiOrderOrder extends Struct.CollectionTypeSchema { ] > & Schema.Attribute.DefaultTo<'created'>; - time_end: Schema.Attribute.Time; - time_start: Schema.Attribute.Time; updatedAt: Schema.Attribute.DateTime; updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & Schema.Attribute.Private; @@ -579,7 +577,6 @@ export interface ApiSlotSlot extends Struct.CollectionTypeSchema { createdAt: Schema.Attribute.DateTime; createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & Schema.Attribute.Private; - date: Schema.Attribute.Date; datetime_end: Schema.Attribute.DateTime & Schema.Attribute.Required; datetime_start: Schema.Attribute.DateTime & Schema.Attribute.Required; locale: Schema.Attribute.String & Schema.Attribute.Private; @@ -589,8 +586,6 @@ export interface ApiSlotSlot extends Struct.CollectionTypeSchema { orders: Schema.Attribute.Relation<'oneToMany', 'api::order.order'>; publishedAt: Schema.Attribute.DateTime; state: Schema.Attribute.Enumeration<['open', 'reserved', 'closed']>; - time_end: Schema.Attribute.Time & Schema.Attribute.Required; - time_start: Schema.Attribute.Time & Schema.Attribute.Required; updatedAt: Schema.Attribute.DateTime; updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & Schema.Attribute.Private;