diff --git a/src/api/customer/content-types/customer/schema.json b/src/api/customer/content-types/customer/schema.json index ad63d3a..4a3cf11 100644 --- a/src/api/customer/content-types/customer/schema.json +++ b/src/api/customer/content-types/customer/schema.json @@ -78,6 +78,9 @@ "relation": "oneToMany", "target": "api::service.service", "mappedBy": "master" + }, + "bannedUntil": { + "type": "datetime" } } } diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index c236f87..45dea69 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -423,6 +423,7 @@ export interface ApiCustomerCustomer extends Struct.CollectionTypeSchema { }; attributes: { active: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo; + bannedUntil: Schema.Attribute.DateTime; blocks: Schema.Attribute.Relation<'oneToMany', 'api::block.block'>; clients: Schema.Attribute.Relation<'manyToMany', 'api::customer.customer'>; createdAt: Schema.Attribute.DateTime;