From 30bb63a92ed6219c8a3026444b27a0fb6b573680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Barrenechea=20S=C3=A1nchez?= Date: Fri, 7 Jun 2024 10:11:44 +0200 Subject: [PATCH] Layer component name not unique --- cms/src/components/default/layer.json | 2 +- .../documentation/documentation/1.0.0/full_documentation.json | 2 +- cms/types/generated/components.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cms/src/components/default/layer.json b/cms/src/components/default/layer.json index 7fdff2a..2fb06ea 100644 --- a/cms/src/components/default/layer.json +++ b/cms/src/components/default/layer.json @@ -9,7 +9,7 @@ "name": { "type": "string", "required": true, - "unique": true + "unique": false }, "layer": { "type": "relation", diff --git a/cms/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/cms/src/extensions/documentation/documentation/1.0.0/full_documentation.json index a848963..d6b354c 100644 --- a/cms/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/cms/src/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -21,7 +21,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "x-generation-date": "2024-06-07T07:33:18.993Z" + "x-generation-date": "2024-06-07T08:10:18.602Z" }, "servers": [ { diff --git a/cms/types/generated/components.d.ts b/cms/types/generated/components.d.ts index 9ede5c3..499d19c 100644 --- a/cms/types/generated/components.d.ts +++ b/cms/types/generated/components.d.ts @@ -32,7 +32,7 @@ export interface DefaultLayer extends Schema.Component { description: ''; }; attributes: { - name: Attribute.String & Attribute.Required & Attribute.Unique; + name: Attribute.String & Attribute.Required; layer: Attribute.Relation<'default.layer', 'oneToOne', 'api::layer.layer'>; }; }