From 0e2ee71a18560c4e19c3a582a6d233a01c141db1 Mon Sep 17 00:00:00 2001 From: Alik Rakhmonov Date: Fri, 27 Feb 2026 10:20:00 +0100 Subject: [PATCH] flatten script config --- .../container_level/containerLevelConfig.json | 132 +++++-------- .../entity_level/entityLevelConfig.json | 44 ++--- .../model_level/modelLevelConfig.json | 176 ++++++------------ .../view_level/viewLevelConfig.json | 44 ++--- 4 files changed, 126 insertions(+), 270 deletions(-) diff --git a/properties_pane/container_level/containerLevelConfig.json b/properties_pane/container_level/containerLevelConfig.json index 84dfa2b..2647b91 100644 --- a/properties_pane/container_level/containerLevelConfig.json +++ b/properties_pane/container_level/containerLevelConfig.json @@ -188,116 +188,68 @@ making sure that you maintain a proper JSON format. { "propertyName": "Before CREATE DATABASE", "propertyKeyword": "beforeCreateContainer", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "After CREATE DATABASE", "propertyKeyword": "afterCreateContainer", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "Before each CREATE TABLE", "propertyKeyword": "beforeCreateEntity", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "After each CREATE TABLE", "propertyKeyword": "afterCreateEntity", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "Before each CREATE VIEW", "propertyKeyword": "beforeCreateView", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "After each CREATE VIEW", "propertyKeyword": "afterCreateView", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } } ] }, diff --git a/properties_pane/entity_level/entityLevelConfig.json b/properties_pane/entity_level/entityLevelConfig.json index d7b47f0..ed0530c 100644 --- a/properties_pane/entity_level/entityLevelConfig.json +++ b/properties_pane/entity_level/entityLevelConfig.json @@ -654,40 +654,24 @@ making sure that you maintain a proper JSON format. { "propertyName": "Before CREATE TABLE", "propertyKeyword": "beforeCreateEntity", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "After CREATE TABLE", "propertyKeyword": "afterCreateEntity", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } } ] }, diff --git a/properties_pane/model_level/modelLevelConfig.json b/properties_pane/model_level/modelLevelConfig.json index 611d3b1..eb29f07 100644 --- a/properties_pane/model_level/modelLevelConfig.json +++ b/properties_pane/model_level/modelLevelConfig.json @@ -153,154 +153,90 @@ making sure that you maintain a proper JSON format. { "propertyName": "Header script", "propertyKeyword": "headerScript", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "Footer script", "propertyKeyword": "footerScript", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "Before each CREATE DATABASE", "propertyKeyword": "beforeCreateContainer", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "After each CREATE DATABASE", "propertyKeyword": "afterCreateContainer", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "Before each CREATE TABLE", "propertyKeyword": "beforeCreateEntity", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "After each CREATE TABLE", "propertyKeyword": "afterCreateEntity", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "Before each CREATE VIEW", "propertyKeyword": "beforeCreateView", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "After each CREATE VIEW", "propertyKeyword": "afterCreateView", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } } ] }, diff --git a/properties_pane/view_level/viewLevelConfig.json b/properties_pane/view_level/viewLevelConfig.json index e97e56d..060f651 100644 --- a/properties_pane/view_level/viewLevelConfig.json +++ b/properties_pane/view_level/viewLevelConfig.json @@ -28,40 +28,24 @@ { "propertyName": "Before CREATE VIEW", "propertyKeyword": "beforeCreateView", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } }, { "propertyName": "After CREATE VIEW", "propertyKeyword": "afterCreateView", - "propertyType": "block", - "propertyTooltip": "", - "structure": [ - { - "propertyName": "Script", - "propertyKeyword": "script", - "propertyType": "details", - "markdown": false, - "template": "codeEditor", - "templateOptions": { - "editorDialect": "sql", - "customScriptVariables": true - } - } - ] + "propertyType": "details", + "markdown": false, + "template": "codeEditor", + "templateOptions": { + "editorDialect": "sql", + "customScriptVariables": true + } } ] },