From e5be4ae0871b9791a4dba4fa7df9237e2dc9b90b Mon Sep 17 00:00:00 2001 From: Alik Rakhmonov Date: Fri, 27 Feb 2026 10:19:26 +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 101b835..4bb1590 100644 --- a/properties_pane/container_level/containerLevelConfig.json +++ b/properties_pane/container_level/containerLevelConfig.json @@ -801,116 +801,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 55bd5d2..99aed56 100644 --- a/properties_pane/entity_level/entityLevelConfig.json +++ b/properties_pane/entity_level/entityLevelConfig.json @@ -1503,40 +1503,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 12e8599..eb5395a 100644 --- a/properties_pane/model_level/modelLevelConfig.json +++ b/properties_pane/model_level/modelLevelConfig.json @@ -83,154 +83,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 81d17e5..06f8c01 100644 --- a/properties_pane/view_level/viewLevelConfig.json +++ b/properties_pane/view_level/viewLevelConfig.json @@ -183,40 +183,24 @@ making sure that you maintain a proper JSON format. { "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 + } } ] },