|
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", |
@@ -440,6 +440,128 @@ making sure that you maintain a proper JSON format. |
440 | 440 | "value": true |
441 | 441 | } |
442 | 442 | }, |
| 443 | + { |
| 444 | + "propertyName": "Custom scripts", |
| 445 | + "propertyType": "block", |
| 446 | + "propertyKeyword": "customScripts", |
| 447 | + "propertyTooltip": "", |
| 448 | + "structure": [ |
| 449 | + { |
| 450 | + "propertyName": "Before CREATE SCHEMA", |
| 451 | + "propertyKeyword": "beforeCreateContainer", |
| 452 | + "propertyType": "block", |
| 453 | + "propertyTooltip": "", |
| 454 | + "structure": [ |
| 455 | + { |
| 456 | + "propertyName": "Script", |
| 457 | + "propertyKeyword": "script", |
| 458 | + "propertyType": "details", |
| 459 | + "markdown": false, |
| 460 | + "template": "codeEditor", |
| 461 | + "templateOptions": { |
| 462 | + "editorDialect": "sql", |
| 463 | + "customScriptVariables": true |
| 464 | + } |
| 465 | + } |
| 466 | + ] |
| 467 | + }, |
| 468 | + { |
| 469 | + "propertyName": "After CREATE SCHEMA", |
| 470 | + "propertyKeyword": "afterCreateContainer", |
| 471 | + "propertyType": "block", |
| 472 | + "propertyTooltip": "", |
| 473 | + "structure": [ |
| 474 | + { |
| 475 | + "propertyName": "Script", |
| 476 | + "propertyKeyword": "script", |
| 477 | + "propertyType": "details", |
| 478 | + "markdown": false, |
| 479 | + "template": "codeEditor", |
| 480 | + "templateOptions": { |
| 481 | + "editorDialect": "sql", |
| 482 | + "customScriptVariables": true |
| 483 | + } |
| 484 | + } |
| 485 | + ] |
| 486 | + }, |
| 487 | + { |
| 488 | + "propertyName": "Before each CREATE TABLE", |
| 489 | + "propertyKeyword": "beforeCreateEntity", |
| 490 | + "propertyType": "block", |
| 491 | + "propertyTooltip": "", |
| 492 | + "structure": [ |
| 493 | + { |
| 494 | + "propertyName": "Script", |
| 495 | + "propertyKeyword": "script", |
| 496 | + "propertyType": "details", |
| 497 | + "markdown": false, |
| 498 | + "template": "codeEditor", |
| 499 | + "templateOptions": { |
| 500 | + "editorDialect": "sql", |
| 501 | + "customScriptVariables": true |
| 502 | + } |
| 503 | + } |
| 504 | + ] |
| 505 | + }, |
| 506 | + { |
| 507 | + "propertyName": "After each CREATE TABLE", |
| 508 | + "propertyKeyword": "afterCreateEntity", |
| 509 | + "propertyType": "block", |
| 510 | + "propertyTooltip": "", |
| 511 | + "structure": [ |
| 512 | + { |
| 513 | + "propertyName": "Script", |
| 514 | + "propertyKeyword": "script", |
| 515 | + "propertyType": "details", |
| 516 | + "markdown": false, |
| 517 | + "template": "codeEditor", |
| 518 | + "templateOptions": { |
| 519 | + "editorDialect": "sql", |
| 520 | + "customScriptVariables": true |
| 521 | + } |
| 522 | + } |
| 523 | + ] |
| 524 | + }, |
| 525 | + { |
| 526 | + "propertyName": "Before each CREATE VIEW", |
| 527 | + "propertyKeyword": "beforeCreateView", |
| 528 | + "propertyType": "block", |
| 529 | + "propertyTooltip": "", |
| 530 | + "structure": [ |
| 531 | + { |
| 532 | + "propertyName": "Script", |
| 533 | + "propertyKeyword": "script", |
| 534 | + "propertyType": "details", |
| 535 | + "markdown": false, |
| 536 | + "template": "codeEditor", |
| 537 | + "templateOptions": { |
| 538 | + "editorDialect": "sql", |
| 539 | + "customScriptVariables": true |
| 540 | + } |
| 541 | + } |
| 542 | + ] |
| 543 | + }, |
| 544 | + { |
| 545 | + "propertyName": "After each CREATE VIEW", |
| 546 | + "propertyKeyword": "afterCreateView", |
| 547 | + "propertyType": "block", |
| 548 | + "propertyTooltip": "", |
| 549 | + "structure": [ |
| 550 | + { |
| 551 | + "propertyName": "Script", |
| 552 | + "propertyKeyword": "script", |
| 553 | + "propertyType": "details", |
| 554 | + "markdown": false, |
| 555 | + "template": "codeEditor", |
| 556 | + "templateOptions": { |
| 557 | + "editorDialect": "sql", |
| 558 | + "customScriptVariables": true |
| 559 | + } |
| 560 | + } |
| 561 | + ] |
| 562 | + } |
| 563 | + ] |
| 564 | + }, |
443 | 565 | { |
444 | 566 | "propertyName": "Remarks", |
445 | 567 | "propertyKeyword": "comments", |
|
0 commit comments