From e4c4494818b2f0f0a407ff2ada72ea08dee3c843 Mon Sep 17 00:00:00 2001 From: Agnieszka Figiel Date: Mon, 22 Jan 2024 08:56:53 +0100 Subject: [PATCH] Revert "Temporarily add back 1-1 relationship for backwards compatibility" This reverts commit db925fef044d2104faa788214b7e45e281d8724c. --- cms/src/api/data-tool/content-types/data-tool/schema.json | 5 ----- cms/types/generated/contentTypes.d.ts | 5 ----- 2 files changed, 10 deletions(-) diff --git a/cms/src/api/data-tool/content-types/data-tool/schema.json b/cms/src/api/data-tool/content-types/data-tool/schema.json index 158ce500..d1582c4b 100644 --- a/cms/src/api/data-tool/content-types/data-tool/schema.json +++ b/cms/src/api/data-tool/content-types/data-tool/schema.json @@ -28,11 +28,6 @@ "target": "api::data-tool-language.data-tool-language", "mappedBy": "data_tool" }, - "data_tool_resource_type": { - "type": "relation", - "relation": "oneToOne", - "target": "api::data-tool-resource-type.data-tool-resource-type" - }, "data_tool_resource_types": { "type": "relation", "relation": "oneToMany", diff --git a/cms/types/generated/contentTypes.d.ts b/cms/types/generated/contentTypes.d.ts index e44f53b7..e7343969 100644 --- a/cms/types/generated/contentTypes.d.ts +++ b/cms/types/generated/contentTypes.d.ts @@ -765,11 +765,6 @@ export interface ApiDataToolDataTool extends Schema.CollectionType { 'oneToMany', 'api::data-tool-language.data-tool-language' >; - data_tool_resource_type: Attribute.Relation< - 'api::data-tool.data-tool', - 'oneToOne', - 'api::data-tool-resource-type.data-tool-resource-type' - >; data_tool_resource_types: Attribute.Relation< 'api::data-tool.data-tool', 'oneToMany',