@nocobase/plugin-workflow 1.7.0-beta.2 → 1.7.0-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/client/3d24e559cfbba5d8.js +10 -0
  2. package/dist/client/90a4f6d29bd453a7.js +10 -0
  3. package/dist/client/WorkflowTasks.d.ts +11 -11
  4. package/dist/client/a2fc280565d1c746.js +10 -0
  5. package/dist/client/f4370978c40502d7.js +10 -0
  6. package/dist/client/index.d.ts +1 -0
  7. package/dist/client/index.js +1 -1
  8. package/dist/client/locale/index.d.ts +2 -1
  9. package/dist/client/schemas/executions.d.ts +126 -125
  10. package/dist/client/triggers/schedule/RepeatField.d.ts +2 -1
  11. package/dist/common/collections/executions.d.ts +136 -0
  12. package/dist/common/collections/executions.js +125 -0
  13. package/dist/common/collections/flow_nodes.d.ts +44 -0
  14. package/dist/common/collections/flow_nodes.js +88 -0
  15. package/dist/common/collections/jobs.d.ts +37 -0
  16. package/dist/common/collections/jobs.js +74 -0
  17. package/dist/common/collections/workflowStats.d.ts +37 -0
  18. package/dist/common/collections/workflowStats.js +59 -0
  19. package/dist/common/collections/workflowTasks.d.ts +10 -0
  20. package/dist/common/collections/workflowTasks.js +64 -0
  21. package/dist/common/collections/workflowVersionStats.d.ts +37 -0
  22. package/dist/common/collections/workflowVersionStats.js +59 -0
  23. package/dist/common/collections/workflows.d.ts +250 -0
  24. package/dist/common/collections/workflows.js +225 -0
  25. package/dist/common/constants.d.ts +9 -0
  26. package/dist/common/constants.js +36 -0
  27. package/dist/externalVersion.js +13 -13
  28. package/dist/locale/it-IT.json +123 -18
  29. package/dist/locale/zh-CN.json +4 -0
  30. package/dist/node_modules/cron-parser/package.json +1 -1
  31. package/dist/node_modules/lru-cache/package.json +1 -1
  32. package/dist/node_modules/nodejs-snowflake/LICENSE +201 -0
  33. package/dist/node_modules/nodejs-snowflake/nodejs_snowflake.d.ts +62 -0
  34. package/dist/node_modules/nodejs-snowflake/nodejs_snowflake.js +1 -0
  35. package/dist/node_modules/nodejs-snowflake/nodejs_snowflake_bg.wasm +0 -0
  36. package/dist/node_modules/nodejs-snowflake/package.json +1 -0
  37. package/dist/server/Dispatcher.d.ts +11 -0
  38. package/dist/server/Dispatcher.js +35 -0
  39. package/dist/server/Plugin.d.ts +8 -1
  40. package/dist/server/Plugin.js +118 -70
  41. package/dist/server/Processor.d.ts +4 -11
  42. package/dist/server/Processor.js +48 -45
  43. package/dist/server/actions/nodes.js +7 -5
  44. package/dist/server/actions/workflowTasks.js +4 -2
  45. package/dist/server/actions/workflows.js +5 -2
  46. package/dist/server/collections/executions.js +12 -44
  47. package/dist/server/collections/flow_nodes.js +12 -57
  48. package/dist/server/collections/jobs.js +12 -36
  49. package/dist/server/collections/workflowStats.d.ts +11 -0
  50. package/dist/server/collections/workflowStats.js +43 -0
  51. package/dist/server/collections/workflowTasks.d.ts +2 -1
  52. package/dist/server/collections/workflowTasks.js +12 -33
  53. package/dist/server/collections/workflowVersionStats.d.ts +11 -0
  54. package/dist/server/collections/workflowVersionStats.js +43 -0
  55. package/dist/server/collections/workflows.d.ts +2 -1
  56. package/dist/server/collections/workflows.js +12 -101
  57. package/dist/server/migrations/20250320223415-stats.d.ts +14 -0
  58. package/dist/server/migrations/20250320223415-stats.js +82 -0
  59. package/dist/server/migrations/20250409164913-remove-jobs-auto-increment.d.ts +14 -0
  60. package/dist/server/migrations/20250409164913-remove-jobs-auto-increment.js +57 -0
  61. package/dist/server/repositories/WorkflowRepository.js +1 -2
  62. package/dist/server/triggers/ScheduleTrigger/DateFieldScheduleTrigger.d.ts +5 -3
  63. package/dist/server/triggers/ScheduleTrigger/DateFieldScheduleTrigger.js +39 -36
  64. package/dist/server/triggers/ScheduleTrigger/StaticScheduleTrigger.d.ts +4 -2
  65. package/dist/server/triggers/ScheduleTrigger/StaticScheduleTrigger.js +26 -24
  66. package/dist/server/triggers/ScheduleTrigger/index.d.ts +2 -1
  67. package/dist/server/triggers/ScheduleTrigger/index.js +4 -8
  68. package/dist/server/triggers/index.d.ts +1 -1
  69. package/dist/server/types/Workflow.d.ts +0 -2
  70. package/dist/swagger/index.d.ts +0 -14
  71. package/dist/swagger/index.js +0 -14
  72. package/package.json +4 -3
  73. package/dist/client/4d75ef32f02d7285.js +0 -10
  74. package/dist/client/56ce448358002e64.js +0 -10
  75. package/dist/client/58bb427e05b600de.js +0 -10
  76. package/dist/client/739d458621edf81f.js +0 -10
@@ -0,0 +1,37 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ declare const _default: {
10
+ dumpRules: {
11
+ group: string;
12
+ };
13
+ migrationRules: string[];
14
+ name: string;
15
+ shared: boolean;
16
+ autoGenId: boolean;
17
+ fields: ({
18
+ type: string;
19
+ name: string;
20
+ primaryKey: boolean;
21
+ autoIncrement: boolean;
22
+ target?: undefined;
23
+ } | {
24
+ type: string;
25
+ name: string;
26
+ primaryKey?: undefined;
27
+ autoIncrement?: undefined;
28
+ target?: undefined;
29
+ } | {
30
+ type: string;
31
+ name: string;
32
+ target: string;
33
+ primaryKey?: undefined;
34
+ autoIncrement?: undefined;
35
+ })[];
36
+ };
37
+ export default _default;
@@ -0,0 +1,74 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
10
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __getOwnPropNames = Object.getOwnPropertyNames;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+ var jobs_exports = {};
28
+ __export(jobs_exports, {
29
+ default: () => jobs_default
30
+ });
31
+ module.exports = __toCommonJS(jobs_exports);
32
+ var jobs_default = {
33
+ dumpRules: {
34
+ group: "log"
35
+ },
36
+ migrationRules: ["schema-only"],
37
+ name: "jobs",
38
+ shared: true,
39
+ autoGenId: false,
40
+ fields: [
41
+ {
42
+ type: "bigInt",
43
+ name: "id",
44
+ primaryKey: true,
45
+ autoIncrement: false
46
+ },
47
+ {
48
+ type: "belongsTo",
49
+ name: "execution"
50
+ },
51
+ {
52
+ type: "belongsTo",
53
+ name: "node",
54
+ target: "flow_nodes"
55
+ },
56
+ {
57
+ type: "string",
58
+ name: "nodeKey"
59
+ },
60
+ {
61
+ type: "belongsTo",
62
+ name: "upstream",
63
+ target: "jobs"
64
+ },
65
+ {
66
+ type: "integer",
67
+ name: "status"
68
+ },
69
+ {
70
+ type: "json",
71
+ name: "result"
72
+ }
73
+ ]
74
+ };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ declare const _default: {
10
+ dumpRules: {
11
+ group: string;
12
+ };
13
+ migrationRules: string[];
14
+ name: string;
15
+ shared: boolean;
16
+ autoGenId: boolean;
17
+ fields: ({
18
+ name: string;
19
+ type: string;
20
+ primaryKey: boolean;
21
+ defaultValue?: undefined;
22
+ interface?: undefined;
23
+ uiSchema?: undefined;
24
+ } | {
25
+ type: string;
26
+ name: string;
27
+ defaultValue: number;
28
+ interface: string;
29
+ uiSchema: {
30
+ title: string;
31
+ 'x-component': string;
32
+ 'x-read-pretty': boolean;
33
+ };
34
+ primaryKey?: undefined;
35
+ })[];
36
+ };
37
+ export default _default;
@@ -0,0 +1,59 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
10
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __getOwnPropNames = Object.getOwnPropertyNames;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+ var workflowStats_exports = {};
28
+ __export(workflowStats_exports, {
29
+ default: () => workflowStats_default
30
+ });
31
+ module.exports = __toCommonJS(workflowStats_exports);
32
+ var import_constants = require("../constants");
33
+ var workflowStats_default = {
34
+ dumpRules: {
35
+ group: "log"
36
+ },
37
+ migrationRules: ["schema-only"],
38
+ name: "workflowStats",
39
+ shared: true,
40
+ autoGenId: false,
41
+ fields: [
42
+ {
43
+ name: "key",
44
+ type: "uid",
45
+ primaryKey: true
46
+ },
47
+ {
48
+ type: "bigInt",
49
+ name: "executed",
50
+ defaultValue: 0,
51
+ interface: "number",
52
+ uiSchema: {
53
+ title: `{{t("Executed", { ns: "${import_constants.NAMESPACE}" })}}`,
54
+ "x-component": "InputNumber",
55
+ "x-read-pretty": true
56
+ }
57
+ }
58
+ ]
59
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import { CollectionOptions } from '@nocobase/database';
10
+ export default function (): CollectionOptions;
@@ -0,0 +1,64 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
10
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __getOwnPropNames = Object.getOwnPropertyNames;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+ var workflowTasks_exports = {};
28
+ __export(workflowTasks_exports, {
29
+ default: () => workflowTasks_default
30
+ });
31
+ module.exports = __toCommonJS(workflowTasks_exports);
32
+ function workflowTasks_default() {
33
+ return {
34
+ dumpRules: "required",
35
+ migrationRules: ["overwrite", "schema-only"],
36
+ name: "workflowTasks",
37
+ shared: true,
38
+ repository: "WorkflowTasksRepository",
39
+ fields: [
40
+ {
41
+ name: "user",
42
+ type: "belongsTo"
43
+ },
44
+ {
45
+ name: "workflow",
46
+ type: "belongsTo"
47
+ },
48
+ {
49
+ type: "string",
50
+ name: "type"
51
+ },
52
+ {
53
+ type: "string",
54
+ name: "key"
55
+ }
56
+ ],
57
+ indexes: [
58
+ {
59
+ unique: true,
60
+ fields: ["type", "key"]
61
+ }
62
+ ]
63
+ };
64
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ declare const _default: {
10
+ dumpRules: {
11
+ group: string;
12
+ };
13
+ migrationRules: string[];
14
+ name: string;
15
+ shared: boolean;
16
+ autoGenId: boolean;
17
+ fields: ({
18
+ name: string;
19
+ type: string;
20
+ primaryKey: boolean;
21
+ defaultValue?: undefined;
22
+ interface?: undefined;
23
+ uiSchema?: undefined;
24
+ } | {
25
+ type: string;
26
+ name: string;
27
+ defaultValue: number;
28
+ interface: string;
29
+ uiSchema: {
30
+ title: string;
31
+ 'x-component': string;
32
+ 'x-read-pretty': boolean;
33
+ };
34
+ primaryKey?: undefined;
35
+ })[];
36
+ };
37
+ export default _default;
@@ -0,0 +1,59 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
10
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __getOwnPropNames = Object.getOwnPropertyNames;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+ var workflowVersionStats_exports = {};
28
+ __export(workflowVersionStats_exports, {
29
+ default: () => workflowVersionStats_default
30
+ });
31
+ module.exports = __toCommonJS(workflowVersionStats_exports);
32
+ var import_constants = require("../constants");
33
+ var workflowVersionStats_default = {
34
+ dumpRules: {
35
+ group: "log"
36
+ },
37
+ migrationRules: ["schema-only"],
38
+ name: "workflowVersionStats",
39
+ shared: true,
40
+ autoGenId: false,
41
+ fields: [
42
+ {
43
+ name: "id",
44
+ type: "bigInt",
45
+ primaryKey: true
46
+ },
47
+ {
48
+ type: "bigInt",
49
+ name: "executed",
50
+ defaultValue: 0,
51
+ interface: "number",
52
+ uiSchema: {
53
+ title: `{{t("Executed", { ns: "${import_constants.NAMESPACE}" })}}`,
54
+ "x-component": "InputNumber",
55
+ "x-read-pretty": true
56
+ }
57
+ }
58
+ ]
59
+ };
@@ -0,0 +1,250 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ declare const _default: {
10
+ dumpRules: string;
11
+ migrationRules: string[];
12
+ name: string;
13
+ shared: boolean;
14
+ repository: string;
15
+ fields: ({
16
+ name: string;
17
+ type: string;
18
+ interface?: undefined;
19
+ uiSchema?: undefined;
20
+ defaultValue?: undefined;
21
+ required?: undefined;
22
+ target?: undefined;
23
+ onDelete?: undefined;
24
+ foreignKey?: undefined;
25
+ sourceKey?: undefined;
26
+ constraints?: undefined;
27
+ } | {
28
+ type: string;
29
+ name: string;
30
+ interface: string;
31
+ uiSchema: {
32
+ title: string;
33
+ type: string;
34
+ 'x-component': string;
35
+ required: boolean;
36
+ enum?: undefined;
37
+ 'x-decorator'?: undefined;
38
+ default?: undefined;
39
+ 'x-component-props'?: undefined;
40
+ 'x-read-pretty'?: undefined;
41
+ };
42
+ defaultValue?: undefined;
43
+ required?: undefined;
44
+ target?: undefined;
45
+ onDelete?: undefined;
46
+ foreignKey?: undefined;
47
+ sourceKey?: undefined;
48
+ constraints?: undefined;
49
+ } | {
50
+ type: string;
51
+ name: string;
52
+ defaultValue: boolean;
53
+ interface: string;
54
+ uiSchema: {
55
+ title: string;
56
+ type: string;
57
+ enum: ({
58
+ label: string;
59
+ value: boolean;
60
+ color: string;
61
+ } | {
62
+ label: string;
63
+ value: boolean;
64
+ color?: undefined;
65
+ })[];
66
+ 'x-component': string;
67
+ 'x-decorator': string;
68
+ default: boolean;
69
+ required?: undefined;
70
+ 'x-component-props'?: undefined;
71
+ 'x-read-pretty'?: undefined;
72
+ };
73
+ required?: undefined;
74
+ target?: undefined;
75
+ onDelete?: undefined;
76
+ foreignKey?: undefined;
77
+ sourceKey?: undefined;
78
+ constraints?: undefined;
79
+ } | {
80
+ type: string;
81
+ name: string;
82
+ interface: string;
83
+ uiSchema: {
84
+ title: string;
85
+ type: string;
86
+ 'x-component': string;
87
+ required?: undefined;
88
+ enum?: undefined;
89
+ 'x-decorator'?: undefined;
90
+ default?: undefined;
91
+ 'x-component-props'?: undefined;
92
+ 'x-read-pretty'?: undefined;
93
+ };
94
+ defaultValue?: undefined;
95
+ required?: undefined;
96
+ target?: undefined;
97
+ onDelete?: undefined;
98
+ foreignKey?: undefined;
99
+ sourceKey?: undefined;
100
+ constraints?: undefined;
101
+ } | {
102
+ type: string;
103
+ name: string;
104
+ required: boolean;
105
+ interface: string;
106
+ uiSchema: {
107
+ title: string;
108
+ type: string;
109
+ 'x-decorator': string;
110
+ 'x-component': string;
111
+ enum: string;
112
+ 'x-component-props': {
113
+ optionRender: string;
114
+ popupMatchSelectWidth: boolean;
115
+ listHeight: number;
116
+ fieldNames?: undefined;
117
+ };
118
+ required: boolean;
119
+ default?: undefined;
120
+ 'x-read-pretty'?: undefined;
121
+ };
122
+ defaultValue?: undefined;
123
+ target?: undefined;
124
+ onDelete?: undefined;
125
+ foreignKey?: undefined;
126
+ sourceKey?: undefined;
127
+ constraints?: undefined;
128
+ } | {
129
+ type: string;
130
+ name: string;
131
+ required: boolean;
132
+ defaultValue: {};
133
+ interface?: undefined;
134
+ uiSchema?: undefined;
135
+ target?: undefined;
136
+ onDelete?: undefined;
137
+ foreignKey?: undefined;
138
+ sourceKey?: undefined;
139
+ constraints?: undefined;
140
+ } | {
141
+ type: string;
142
+ name: string;
143
+ target: string;
144
+ onDelete: string;
145
+ interface?: undefined;
146
+ uiSchema?: undefined;
147
+ defaultValue?: undefined;
148
+ required?: undefined;
149
+ foreignKey?: undefined;
150
+ sourceKey?: undefined;
151
+ constraints?: undefined;
152
+ } | {
153
+ type: string;
154
+ name: string;
155
+ defaultValue: number;
156
+ interface?: undefined;
157
+ uiSchema?: undefined;
158
+ required?: undefined;
159
+ target?: undefined;
160
+ onDelete?: undefined;
161
+ foreignKey?: undefined;
162
+ sourceKey?: undefined;
163
+ constraints?: undefined;
164
+ } | {
165
+ type: string;
166
+ name: string;
167
+ defaultValue: boolean;
168
+ interface: string;
169
+ uiSchema: {
170
+ title: string;
171
+ type: string;
172
+ 'x-decorator': string;
173
+ 'x-component': string;
174
+ enum: {
175
+ label: string;
176
+ value: boolean;
177
+ color: string;
178
+ }[];
179
+ required: boolean;
180
+ default?: undefined;
181
+ 'x-component-props'?: undefined;
182
+ 'x-read-pretty'?: undefined;
183
+ };
184
+ required?: undefined;
185
+ target?: undefined;
186
+ onDelete?: undefined;
187
+ foreignKey?: undefined;
188
+ sourceKey?: undefined;
189
+ constraints?: undefined;
190
+ } | {
191
+ type: string;
192
+ name: string;
193
+ target: string;
194
+ foreignKey: string;
195
+ sourceKey: string;
196
+ constraints: boolean;
197
+ onDelete: string;
198
+ interface?: undefined;
199
+ uiSchema?: undefined;
200
+ defaultValue?: undefined;
201
+ required?: undefined;
202
+ } | {
203
+ type: string;
204
+ name: string;
205
+ defaultValue: {};
206
+ interface?: undefined;
207
+ uiSchema?: undefined;
208
+ required?: undefined;
209
+ target?: undefined;
210
+ onDelete?: undefined;
211
+ foreignKey?: undefined;
212
+ sourceKey?: undefined;
213
+ constraints?: undefined;
214
+ } | {
215
+ type: string;
216
+ name: string;
217
+ target: string;
218
+ foreignKey: string;
219
+ sourceKey: string;
220
+ constraints: boolean;
221
+ onDelete: string;
222
+ interface: string;
223
+ uiSchema: {
224
+ type: string;
225
+ 'x-component': string;
226
+ 'x-component-props': {
227
+ fieldNames: {
228
+ label: string;
229
+ value: string;
230
+ };
231
+ optionRender?: undefined;
232
+ popupMatchSelectWidth?: undefined;
233
+ listHeight?: undefined;
234
+ };
235
+ 'x-read-pretty': boolean;
236
+ title?: undefined;
237
+ required?: undefined;
238
+ enum?: undefined;
239
+ 'x-decorator'?: undefined;
240
+ default?: undefined;
241
+ };
242
+ defaultValue?: undefined;
243
+ required?: undefined;
244
+ })[];
245
+ indexes: {
246
+ unique: boolean;
247
+ fields: string[];
248
+ }[];
249
+ };
250
+ export default _default;