|
2 | 2 | * Copyright © 2016-2017 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, |
@@ -51,8 +51,8 @@ making sure that you maintain a proper JSON format. |
51 | 51 | "propertyType": "checkbox" |
52 | 52 | }, |
53 | 53 | // “groupInput” can have the following states - 0 items, 1 item, and many items. |
54 | | -// “blockInput” has only 2 states - 0 items or 1 item. |
55 | | -// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing |
| 54 | +// “blockInput” has only 2 states - 0 items or 1 item. |
| 55 | +// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing |
56 | 56 | // and forward-engineering in particular. |
57 | 57 | { |
58 | 58 | "propertyName": "Block", |
@@ -80,7 +80,7 @@ making sure that you maintain a proper JSON format. |
80 | 80 | "propertyKeyword": "keyList", |
81 | 81 | "propertyType": "fieldList", |
82 | 82 | "template": "orderedList" |
83 | | - }, |
| 83 | + }, |
84 | 84 | { |
85 | 85 | "propertyName": "List with attribute", |
86 | 86 | "propertyKeyword": "keyListOrder", |
@@ -792,6 +792,128 @@ making sure that you maintain a proper JSON format. |
792 | 792 | "defaultValue": "No", |
793 | 793 | "options": ["No", "Yes"] |
794 | 794 | }, |
| 795 | + { |
| 796 | + "propertyName": "Custom scripts", |
| 797 | + "propertyType": "block", |
| 798 | + "propertyKeyword": "customScripts", |
| 799 | + "propertyTooltip": "", |
| 800 | + "structure": [ |
| 801 | + { |
| 802 | + "propertyName": "Before CREATE DATABASE", |
| 803 | + "propertyKeyword": "beforeCreateContainer", |
| 804 | + "propertyType": "block", |
| 805 | + "propertyTooltip": "", |
| 806 | + "structure": [ |
| 807 | + { |
| 808 | + "propertyName": "Script", |
| 809 | + "propertyKeyword": "script", |
| 810 | + "propertyType": "details", |
| 811 | + "markdown": false, |
| 812 | + "template": "codeEditor", |
| 813 | + "templateOptions": { |
| 814 | + "editorDialect": "sql", |
| 815 | + "customScriptVariables": true |
| 816 | + } |
| 817 | + } |
| 818 | + ] |
| 819 | + }, |
| 820 | + { |
| 821 | + "propertyName": "After CREATE DATABASE", |
| 822 | + "propertyKeyword": "afterCreateContainer", |
| 823 | + "propertyType": "block", |
| 824 | + "propertyTooltip": "", |
| 825 | + "structure": [ |
| 826 | + { |
| 827 | + "propertyName": "Script", |
| 828 | + "propertyKeyword": "script", |
| 829 | + "propertyType": "details", |
| 830 | + "markdown": false, |
| 831 | + "template": "codeEditor", |
| 832 | + "templateOptions": { |
| 833 | + "editorDialect": "sql", |
| 834 | + "customScriptVariables": true |
| 835 | + } |
| 836 | + } |
| 837 | + ] |
| 838 | + }, |
| 839 | + { |
| 840 | + "propertyName": "Before each CREATE TABLE", |
| 841 | + "propertyKeyword": "beforeCreateEntity", |
| 842 | + "propertyType": "block", |
| 843 | + "propertyTooltip": "", |
| 844 | + "structure": [ |
| 845 | + { |
| 846 | + "propertyName": "Script", |
| 847 | + "propertyKeyword": "script", |
| 848 | + "propertyType": "details", |
| 849 | + "markdown": false, |
| 850 | + "template": "codeEditor", |
| 851 | + "templateOptions": { |
| 852 | + "editorDialect": "sql", |
| 853 | + "customScriptVariables": true |
| 854 | + } |
| 855 | + } |
| 856 | + ] |
| 857 | + }, |
| 858 | + { |
| 859 | + "propertyName": "After each CREATE TABLE", |
| 860 | + "propertyKeyword": "afterCreateEntity", |
| 861 | + "propertyType": "block", |
| 862 | + "propertyTooltip": "", |
| 863 | + "structure": [ |
| 864 | + { |
| 865 | + "propertyName": "Script", |
| 866 | + "propertyKeyword": "script", |
| 867 | + "propertyType": "details", |
| 868 | + "markdown": false, |
| 869 | + "template": "codeEditor", |
| 870 | + "templateOptions": { |
| 871 | + "editorDialect": "sql", |
| 872 | + "customScriptVariables": true |
| 873 | + } |
| 874 | + } |
| 875 | + ] |
| 876 | + }, |
| 877 | + { |
| 878 | + "propertyName": "Before each CREATE VIEW", |
| 879 | + "propertyKeyword": "beforeCreateView", |
| 880 | + "propertyType": "block", |
| 881 | + "propertyTooltip": "", |
| 882 | + "structure": [ |
| 883 | + { |
| 884 | + "propertyName": "Script", |
| 885 | + "propertyKeyword": "script", |
| 886 | + "propertyType": "details", |
| 887 | + "markdown": false, |
| 888 | + "template": "codeEditor", |
| 889 | + "templateOptions": { |
| 890 | + "editorDialect": "sql", |
| 891 | + "customScriptVariables": true |
| 892 | + } |
| 893 | + } |
| 894 | + ] |
| 895 | + }, |
| 896 | + { |
| 897 | + "propertyName": "After each CREATE VIEW", |
| 898 | + "propertyKeyword": "afterCreateView", |
| 899 | + "propertyType": "block", |
| 900 | + "propertyTooltip": "", |
| 901 | + "structure": [ |
| 902 | + { |
| 903 | + "propertyName": "Script", |
| 904 | + "propertyKeyword": "script", |
| 905 | + "propertyType": "details", |
| 906 | + "markdown": false, |
| 907 | + "template": "codeEditor", |
| 908 | + "templateOptions": { |
| 909 | + "editorDialect": "sql", |
| 910 | + "customScriptVariables": true |
| 911 | + } |
| 912 | + } |
| 913 | + ] |
| 914 | + } |
| 915 | + ] |
| 916 | + }, |
795 | 917 | { |
796 | 918 | "propertyName": "Remarks", |
797 | 919 | "propertyKeyword": "comments", |
|
0 commit comments