From 0bfffdd1a651c9db87091a4649bb0cc9d528a51b Mon Sep 17 00:00:00 2001 From: Taras Dubyk Date: Thu, 19 Dec 2024 10:57:05 +0200 Subject: [PATCH] disable child collections (responses) (#21) Co-authored-by: Vitalii Bedletskyi <70570504+VitaliiBedletskyi@users.noreply.github.com> --- package.json | 4 -- properties_pane/defaultData.json | 8 +-- .../entity_level/entityLevelConfig.json | 9 --- types/type.json | 58 ------------------- 4 files changed, 1 insertion(+), 78 deletions(-) diff --git a/package.json b/package.json index 821423f..d9ba06c 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,6 @@ "versions": [] }, "features": { - "nestedCollections": { - "level": 1 - }, "disableMultipleTypes": true, "enableReverseEngineering": { "jsonDocument": { @@ -66,7 +63,6 @@ }, "disableJsonPreview": false, "enableErdToggle": true, - "enableStackedNestedCollections": true, "externalDefinitionsFromTargetSchema": true, "apiTarget": true, "FEScriptCommentsSupported": true, diff --git a/properties_pane/defaultData.json b/properties_pane/defaultData.json index 5076034..0a523a1 100644 --- a/properties_pane/defaultData.json +++ b/properties_pane/defaultData.json @@ -19,13 +19,7 @@ "isActivated": true, "childType": "object" }, - "nestedCollection": { - "collectionName": "Response", - "entityType": "response", - "snippet": "responseStructure", - "isActivated": true, - "childType": "object" - }, + "nestedCollection": {}, "field": { "subtype": { "valueDependencies": [ diff --git a/properties_pane/entity_level/entityLevelConfig.json b/properties_pane/entity_level/entityLevelConfig.json index d0159b6..c7aee83 100644 --- a/properties_pane/entity_level/entityLevelConfig.json +++ b/properties_pane/entity_level/entityLevelConfig.json @@ -126,15 +126,6 @@ making sure that you maintain a proper JSON format. "propertyKeyword": "collectionName", "propertyType": "text" }, - { - "propertyName": "Response name", - "propertyKeyword": "collectionName", - "propertyType": "text", - "dependency": { - "key": "entityType", - "value": "response" - } - }, { "propertyName": "Technical name", "propertyKeyword": "code", diff --git a/types/type.json b/types/type.json index a71983f..ad583ca 100644 --- a/types/type.json +++ b/types/type.json @@ -71,64 +71,6 @@ "childValueType": [ "directive" ] - }, - - - - "media": { - "childValueType": [ - "media" - ] - }, - "header": { - "childValueType": [ - "header" - ] - }, - "example": { - "childValueType": [ - "example" - ] - }, - "response": { - "childValueType": [ - "response" - ] - }, - "link": { - "childValueType": [ - "link" - ] - }, - "callback": { - "childValueType": [ - "callback" - ] - }, - "securityScheme": { - "childValueType": [ - "securityScheme" - ] - }, - "schema": { - "childValueType": [ - "string", - "number", - "integer", - "boolean", - "array", - "object", - "null", - "reference" - ] - }, - "anyParameter": { - "childValueType": [ - "parameter (path)", - "parameter (query)", - "parameter (header)", - "parameter (cookie)" - ] } } }