From 4001b68491ec7bc36f3677fcdd6b2ac9a6bb14e4 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Fri, 10 Jan 2025 19:17:56 +0300 Subject: [PATCH] customer.active=false by default --- src/api/customer/content-types/customer/schema.json | 2 +- types/generated/contentTypes.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/customer/content-types/customer/schema.json b/src/api/customer/content-types/customer/schema.json index 7fe1e17..dce0a18 100644 --- a/src/api/customer/content-types/customer/schema.json +++ b/src/api/customer/content-types/customer/schema.json @@ -35,7 +35,7 @@ }, "active": { "type": "boolean", - "default": true, + "default": false, "required": false }, "clients": { diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index 3f9947c..4a14717 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -417,7 +417,7 @@ export interface ApiCustomerCustomer extends Struct.CollectionTypeSchema { draftAndPublish: true; }; attributes: { - active: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo; + active: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo; blocks: Schema.Attribute.Relation<'oneToMany', 'api::block.block'>; clients: Schema.Attribute.Relation<'manyToMany', 'api::customer.customer'>; createdAt: Schema.Attribute.DateTime;