|
2 | 2 | * Copyright © 2016-2019 by IntegrIT S.A. dba Hackolade. All rights reserved. |
3 | 3 | * |
4 | 4 | * The copyright to the computer software herein is the property of IntegrIT S.A. |
5 | | -* The software may be used and/or copied only with the written permission of |
6 | | -* IntegrIT S.A. or in accordance with the terms and conditions stipulated in |
7 | | -* the agreement/contract under which the software has been supplied. |
| 5 | +* The software may be used and/or copied only with the written permission of |
| 6 | +* IntegrIT S.A. or in accordance with the terms and conditions stipulated in |
| 7 | +* the agreement/contract under which the software has been supplied. |
8 | 8 |
|
9 | 9 |
|
10 | 10 | In order to define custom properties for any object's properties pane, you may copy/paste from the following, |
@@ -71,8 +71,8 @@ making sure that you maintain a proper JSON format. |
71 | 71 | ] |
72 | 72 | }, |
73 | 73 | // “groupInput” can have the following states - 0 items, 1 item, and many items. |
74 | | -// “blockInput” has only 2 states - 0 items or 1 item. |
75 | | -// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing |
| 74 | +// “blockInput” has only 2 states - 0 items or 1 item. |
| 75 | +// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing |
76 | 76 | // and forward-engineering in particular. |
77 | 77 | { |
78 | 78 | "propertyName": "Block", |
@@ -100,7 +100,7 @@ making sure that you maintain a proper JSON format. |
100 | 100 | "propertyKeyword": "keyList", |
101 | 101 | "propertyType": "fieldList", |
102 | 102 | "template": "orderedList" |
103 | | - }, |
| 103 | + }, |
104 | 104 | { |
105 | 105 | "propertyName": "List with attribute", |
106 | 106 | "propertyKeyword": "keyListOrder", |
@@ -179,6 +179,128 @@ making sure that you maintain a proper JSON format. |
179 | 179 | "propertyType": "text", |
180 | 180 | "propertyTooltip": "A database can contain only one default journal table. However, any table in a particular database can use a journal table in a different database. By default the journal tebale is created in the new database if none is specified." |
181 | 181 | }, |
| 182 | + { |
| 183 | + "propertyName": "Custom scripts", |
| 184 | + "propertyType": "block", |
| 185 | + "propertyKeyword": "customScripts", |
| 186 | + "propertyTooltip": "", |
| 187 | + "structure": [ |
| 188 | + { |
| 189 | + "propertyName": "Before CREATE DATABASE", |
| 190 | + "propertyKeyword": "beforeCreateContainer", |
| 191 | + "propertyType": "block", |
| 192 | + "propertyTooltip": "", |
| 193 | + "structure": [ |
| 194 | + { |
| 195 | + "propertyName": "Script", |
| 196 | + "propertyKeyword": "script", |
| 197 | + "propertyType": "details", |
| 198 | + "markdown": false, |
| 199 | + "template": "codeEditor", |
| 200 | + "templateOptions": { |
| 201 | + "editorDialect": "sql", |
| 202 | + "customScriptVariables": true |
| 203 | + } |
| 204 | + } |
| 205 | + ] |
| 206 | + }, |
| 207 | + { |
| 208 | + "propertyName": "After CREATE DATABASE", |
| 209 | + "propertyKeyword": "afterCreateContainer", |
| 210 | + "propertyType": "block", |
| 211 | + "propertyTooltip": "", |
| 212 | + "structure": [ |
| 213 | + { |
| 214 | + "propertyName": "Script", |
| 215 | + "propertyKeyword": "script", |
| 216 | + "propertyType": "details", |
| 217 | + "markdown": false, |
| 218 | + "template": "codeEditor", |
| 219 | + "templateOptions": { |
| 220 | + "editorDialect": "sql", |
| 221 | + "customScriptVariables": true |
| 222 | + } |
| 223 | + } |
| 224 | + ] |
| 225 | + }, |
| 226 | + { |
| 227 | + "propertyName": "Before each CREATE TABLE", |
| 228 | + "propertyKeyword": "beforeCreateEntity", |
| 229 | + "propertyType": "block", |
| 230 | + "propertyTooltip": "", |
| 231 | + "structure": [ |
| 232 | + { |
| 233 | + "propertyName": "Script", |
| 234 | + "propertyKeyword": "script", |
| 235 | + "propertyType": "details", |
| 236 | + "markdown": false, |
| 237 | + "template": "codeEditor", |
| 238 | + "templateOptions": { |
| 239 | + "editorDialect": "sql", |
| 240 | + "customScriptVariables": true |
| 241 | + } |
| 242 | + } |
| 243 | + ] |
| 244 | + }, |
| 245 | + { |
| 246 | + "propertyName": "After each CREATE TABLE", |
| 247 | + "propertyKeyword": "afterCreateEntity", |
| 248 | + "propertyType": "block", |
| 249 | + "propertyTooltip": "", |
| 250 | + "structure": [ |
| 251 | + { |
| 252 | + "propertyName": "Script", |
| 253 | + "propertyKeyword": "script", |
| 254 | + "propertyType": "details", |
| 255 | + "markdown": false, |
| 256 | + "template": "codeEditor", |
| 257 | + "templateOptions": { |
| 258 | + "editorDialect": "sql", |
| 259 | + "customScriptVariables": true |
| 260 | + } |
| 261 | + } |
| 262 | + ] |
| 263 | + }, |
| 264 | + { |
| 265 | + "propertyName": "Before each CREATE VIEW", |
| 266 | + "propertyKeyword": "beforeCreateView", |
| 267 | + "propertyType": "block", |
| 268 | + "propertyTooltip": "", |
| 269 | + "structure": [ |
| 270 | + { |
| 271 | + "propertyName": "Script", |
| 272 | + "propertyKeyword": "script", |
| 273 | + "propertyType": "details", |
| 274 | + "markdown": false, |
| 275 | + "template": "codeEditor", |
| 276 | + "templateOptions": { |
| 277 | + "editorDialect": "sql", |
| 278 | + "customScriptVariables": true |
| 279 | + } |
| 280 | + } |
| 281 | + ] |
| 282 | + }, |
| 283 | + { |
| 284 | + "propertyName": "After each CREATE VIEW", |
| 285 | + "propertyKeyword": "afterCreateView", |
| 286 | + "propertyType": "block", |
| 287 | + "propertyTooltip": "", |
| 288 | + "structure": [ |
| 289 | + { |
| 290 | + "propertyName": "Script", |
| 291 | + "propertyKeyword": "script", |
| 292 | + "propertyType": "details", |
| 293 | + "markdown": false, |
| 294 | + "template": "codeEditor", |
| 295 | + "templateOptions": { |
| 296 | + "editorDialect": "sql", |
| 297 | + "customScriptVariables": true |
| 298 | + } |
| 299 | + } |
| 300 | + ] |
| 301 | + } |
| 302 | + ] |
| 303 | + }, |
182 | 304 | { |
183 | 305 | "propertyName": "Comments", |
184 | 306 | "propertyKeyword": "description", |
|
0 commit comments