@nocobase/plugin-flow-engine 2.1.0-beta.2 → 2.1.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 (248) hide show
  1. package/LICENSE +201 -661
  2. package/README.md +79 -9
  3. package/dist/ai/ai-employees/nathan/index.d.ts +10 -0
  4. package/dist/ai/ai-employees/nathan/index.js +41 -0
  5. package/dist/ai/ai-employees/nathan/prompt.md +132 -0
  6. package/dist/ai/ai-employees/nathan/skills/frontend-developer/SKILLS.md +69 -0
  7. package/dist/ai/{tools → ai-employees/nathan/skills/frontend-developer/tools}/getContextApis.js +2 -2
  8. package/dist/ai/{tools → ai-employees/nathan/skills/frontend-developer/tools}/getContextEnvs.js +2 -2
  9. package/dist/ai/{tools → ai-employees/nathan/skills/frontend-developer/tools}/getContextVars.js +2 -2
  10. package/dist/ai/{tools → ai-employees/nathan/skills/frontend-developer/tools}/lintAndTestJS.js +2 -2
  11. package/dist/ai/docs/runjs/context/block-model.md +35 -35
  12. package/dist/ai/docs/runjs/context/collection-field.md +53 -51
  13. package/dist/ai/docs/runjs/context/collection.md +39 -39
  14. package/dist/ai/docs/runjs/context/data-source-manager.md +40 -30
  15. package/dist/ai/docs/runjs/context/data-source.md +52 -44
  16. package/dist/ai/docs/runjs/context/element.md +44 -38
  17. package/dist/ai/docs/runjs/context/exit-all.md +37 -35
  18. package/dist/ai/docs/runjs/context/exit.md +38 -35
  19. package/dist/ai/docs/runjs/context/filter-manager.md +36 -30
  20. package/dist/ai/docs/runjs/context/form.md +57 -57
  21. package/dist/ai/docs/runjs/context/get-model.md +22 -21
  22. package/dist/ai/docs/runjs/context/get-value.md +20 -19
  23. package/dist/ai/docs/runjs/context/get-var.md +61 -55
  24. package/dist/ai/docs/runjs/context/i18n.md +17 -14
  25. package/dist/ai/docs/runjs/context/import-async.md +333 -45
  26. package/dist/ai/docs/runjs/context/init-resource.md +20 -20
  27. package/dist/ai/docs/runjs/context/libs.md +31 -31
  28. package/dist/ai/docs/runjs/context/location.md +34 -31
  29. package/dist/ai/docs/runjs/context/logger.md +41 -40
  30. package/dist/ai/docs/runjs/context/make-resource.md +27 -26
  31. package/dist/ai/docs/runjs/context/message.md +42 -41
  32. package/dist/ai/docs/runjs/context/modal.md +44 -44
  33. package/dist/ai/docs/runjs/context/model.md +36 -33
  34. package/dist/ai/docs/runjs/context/notification.md +41 -40
  35. package/dist/ai/docs/runjs/context/off.md +14 -14
  36. package/dist/ai/docs/runjs/context/on.md +30 -29
  37. package/dist/ai/docs/runjs/context/open-view.md +40 -40
  38. package/dist/ai/docs/runjs/context/render.md +37 -32
  39. package/dist/ai/docs/runjs/context/request.md +46 -45
  40. package/dist/ai/docs/runjs/context/require-async.md +28 -25
  41. package/dist/ai/docs/runjs/context/resource.md +34 -34
  42. package/dist/ai/docs/runjs/context/route.md +36 -34
  43. package/dist/ai/docs/runjs/context/router.md +43 -31
  44. package/dist/ai/docs/runjs/context/set-value.md +18 -17
  45. package/dist/ai/docs/runjs/context/sql.md +7 -15
  46. package/dist/ai/docs/runjs/context/t.md +20 -17
  47. package/dist/ai/docs/runjs/context/view.md +49 -46
  48. package/dist/ai/docs/runjs/document.md +1 -0
  49. package/dist/ai/docs/runjs/import-modules.md +32 -32
  50. package/dist/ai/docs/runjs/index.md +13 -13
  51. package/dist/ai/docs/runjs/jsx.md +19 -19
  52. package/dist/ai/docs/runjs/model/form-block-model.md +1 -3
  53. package/dist/ai/docs/runjs/render.md +15 -15
  54. package/dist/ai/docs/runjs/resource/api-resource.md +53 -53
  55. package/dist/ai/docs/runjs/resource/multi-record-resource.md +64 -64
  56. package/dist/ai/docs/runjs/resource/single-record-resource.md +55 -55
  57. package/dist/ai/docs/runjs/resource/sql-resource.md +57 -57
  58. package/dist/ai/docs/runjs/window.md +5 -5
  59. package/dist/client/index.js +1 -1
  60. package/dist/externalVersion.js +12 -11
  61. package/dist/locale/en-US.json +1 -0
  62. package/dist/locale/index.d.ts +2 -0
  63. package/dist/locale/zh-CN.json +1 -0
  64. package/dist/node_modules/ses/dist/ses.cjs +1 -1
  65. package/dist/node_modules/ses/package.json +1 -1
  66. package/dist/node_modules/zod/index.cjs +1 -1
  67. package/dist/node_modules/zod/package.json +1 -1
  68. package/dist/server/collections/flowsql.js +1 -0
  69. package/dist/server/flow-surfaces/action-scope.d.ts +39 -0
  70. package/dist/server/flow-surfaces/action-scope.js +156 -0
  71. package/dist/server/flow-surfaces/apply/compiler.d.ts +13 -0
  72. package/dist/server/flow-surfaces/apply/compiler.js +971 -0
  73. package/dist/server/flow-surfaces/apply/layout.d.ts +34 -0
  74. package/dist/server/flow-surfaces/apply/layout.js +175 -0
  75. package/dist/server/flow-surfaces/apply/matching.d.ts +16 -0
  76. package/dist/server/flow-surfaces/apply/matching.js +181 -0
  77. package/dist/server/flow-surfaces/approval/blueprint-service.d.ts +84 -0
  78. package/dist/server/flow-surfaces/approval/blueprint-service.js +589 -0
  79. package/dist/server/flow-surfaces/approval/blueprint.d.ts +21 -0
  80. package/dist/server/flow-surfaces/approval/blueprint.js +187 -0
  81. package/dist/server/flow-surfaces/approval/builder.d.ts +225 -0
  82. package/dist/server/flow-surfaces/approval/builder.js +384 -0
  83. package/dist/server/flow-surfaces/approval/catalog-specs.d.ts +33 -0
  84. package/dist/server/flow-surfaces/approval/catalog-specs.js +156 -0
  85. package/dist/server/flow-surfaces/approval/index.d.ts +14 -0
  86. package/dist/server/flow-surfaces/approval/index.js +40 -0
  87. package/dist/server/flow-surfaces/approval/runtime-config.d.ts +44 -0
  88. package/dist/server/flow-surfaces/approval/runtime-config.js +299 -0
  89. package/dist/server/flow-surfaces/approval/semantic-use.d.ts +23 -0
  90. package/dist/server/flow-surfaces/approval/semantic-use.js +155 -0
  91. package/dist/server/flow-surfaces/association-interfaces.d.ts +10 -0
  92. package/dist/server/flow-surfaces/association-interfaces.js +39 -0
  93. package/dist/server/flow-surfaces/association-title-field.d.ts +20 -0
  94. package/dist/server/flow-surfaces/association-title-field.js +192 -0
  95. package/dist/server/flow-surfaces/blueprint/compile-blocks.d.ts +14 -0
  96. package/dist/server/flow-surfaces/blueprint/compile-blocks.js +1074 -0
  97. package/dist/server/flow-surfaces/blueprint/compile-plan.d.ts +13 -0
  98. package/dist/server/flow-surfaces/blueprint/compile-plan.js +308 -0
  99. package/dist/server/flow-surfaces/blueprint/compile-reaction.d.ts +11 -0
  100. package/dist/server/flow-surfaces/blueprint/compile-reaction.js +72 -0
  101. package/dist/server/flow-surfaces/blueprint/defaults.d.ts +26 -0
  102. package/dist/server/flow-surfaces/blueprint/defaults.js +133 -0
  103. package/dist/server/flow-surfaces/blueprint/index.d.ts +12 -0
  104. package/dist/server/flow-surfaces/blueprint/index.js +44 -0
  105. package/dist/server/flow-surfaces/blueprint/normalize-document.d.ts +10 -0
  106. package/dist/server/flow-surfaces/blueprint/normalize-document.js +416 -0
  107. package/dist/server/flow-surfaces/blueprint/private-utils.d.ts +26 -0
  108. package/dist/server/flow-surfaces/blueprint/private-utils.js +182 -0
  109. package/dist/server/flow-surfaces/blueprint/public-types.d.ts +201 -0
  110. package/dist/server/flow-surfaces/blueprint/public-types.js +24 -0
  111. package/dist/server/flow-surfaces/builder.d.ts +237 -0
  112. package/dist/server/flow-surfaces/builder.js +1129 -0
  113. package/dist/server/flow-surfaces/catalog-smart.d.ts +18 -0
  114. package/dist/server/flow-surfaces/catalog-smart.js +239 -0
  115. package/dist/server/flow-surfaces/catalog-smart.projector.d.ts +15 -0
  116. package/dist/server/flow-surfaces/catalog-smart.projector.js +157 -0
  117. package/dist/server/flow-surfaces/catalog-smart.types.d.ts +99 -0
  118. package/dist/server/flow-surfaces/catalog-smart.types.js +24 -0
  119. package/dist/server/flow-surfaces/catalog.d.ts +79 -0
  120. package/dist/server/flow-surfaces/catalog.js +3693 -0
  121. package/dist/server/flow-surfaces/chart-config.d.ts +121 -0
  122. package/dist/server/flow-surfaces/chart-config.js +1394 -0
  123. package/dist/server/flow-surfaces/compose-compiler.d.ts +116 -0
  124. package/dist/server/flow-surfaces/compose-compiler.js +175 -0
  125. package/dist/server/flow-surfaces/compose-runtime.d.ts +93 -0
  126. package/dist/server/flow-surfaces/compose-runtime.js +375 -0
  127. package/dist/server/flow-surfaces/configure-options.d.ts +23 -0
  128. package/dist/server/flow-surfaces/configure-options.js +893 -0
  129. package/dist/server/flow-surfaces/constants.d.ts +351 -0
  130. package/dist/server/flow-surfaces/constants.js +104 -0
  131. package/dist/server/flow-surfaces/context.d.ts +72 -0
  132. package/dist/server/flow-surfaces/context.js +556 -0
  133. package/dist/server/flow-surfaces/contract-guard.d.ts +19 -0
  134. package/dist/server/flow-surfaces/contract-guard.js +402 -0
  135. package/dist/server/flow-surfaces/core-field-default-bindings.d.ts +12 -0
  136. package/dist/server/flow-surfaces/core-field-default-bindings.js +157 -0
  137. package/dist/server/flow-surfaces/default-action-popup.d.ts +63 -0
  138. package/dist/server/flow-surfaces/default-action-popup.js +322 -0
  139. package/dist/server/flow-surfaces/default-block-actions.d.ts +32 -0
  140. package/dist/server/flow-surfaces/default-block-actions.js +209 -0
  141. package/dist/server/flow-surfaces/errors.d.ts +47 -0
  142. package/dist/server/flow-surfaces/errors.js +145 -0
  143. package/dist/server/flow-surfaces/executor.d.ts +23 -0
  144. package/dist/server/flow-surfaces/executor.js +132 -0
  145. package/dist/server/flow-surfaces/field-binding-registry.d.ts +24 -0
  146. package/dist/server/flow-surfaces/field-binding-registry.js +396 -0
  147. package/dist/server/flow-surfaces/field-semantics.d.ts +15 -0
  148. package/dist/server/flow-surfaces/field-semantics.js +84 -0
  149. package/dist/server/flow-surfaces/field-type-resolver.d.ts +46 -0
  150. package/dist/server/flow-surfaces/field-type-resolver.js +322 -0
  151. package/dist/server/flow-surfaces/filter-group.d.ts +15 -0
  152. package/dist/server/flow-surfaces/filter-group.js +94 -0
  153. package/dist/server/flow-surfaces/index.d.ts +11 -0
  154. package/dist/server/flow-surfaces/index.js +302 -0
  155. package/dist/server/flow-surfaces/locator.d.ts +28 -0
  156. package/dist/server/flow-surfaces/locator.js +240 -0
  157. package/dist/server/flow-surfaces/node-use-sets.d.ts +15 -0
  158. package/dist/server/flow-surfaces/node-use-sets.js +135 -0
  159. package/dist/server/flow-surfaces/payload-shape.d.ts +9 -0
  160. package/dist/server/flow-surfaces/payload-shape.js +61 -0
  161. package/dist/server/flow-surfaces/placement.d.ts +33 -0
  162. package/dist/server/flow-surfaces/placement.js +198 -0
  163. package/dist/server/flow-surfaces/planning/action-specs.d.ts +179 -0
  164. package/dist/server/flow-surfaces/planning/action-specs.js +190 -0
  165. package/dist/server/flow-surfaces/planning/compiler.d.ts +37 -0
  166. package/dist/server/flow-surfaces/planning/compiler.js +376 -0
  167. package/dist/server/flow-surfaces/planning/context.d.ts +30 -0
  168. package/dist/server/flow-surfaces/planning/context.js +139 -0
  169. package/dist/server/flow-surfaces/planning/created-keys.d.ts +34 -0
  170. package/dist/server/flow-surfaces/planning/created-keys.js +375 -0
  171. package/dist/server/flow-surfaces/planning/key-kind.d.ts +11 -0
  172. package/dist/server/flow-surfaces/planning/key-kind.js +88 -0
  173. package/dist/server/flow-surfaces/planning/key-persistence.d.ts +34 -0
  174. package/dist/server/flow-surfaces/planning/key-persistence.js +148 -0
  175. package/dist/server/flow-surfaces/planning/key-registry.d.ts +40 -0
  176. package/dist/server/flow-surfaces/planning/key-registry.js +206 -0
  177. package/dist/server/flow-surfaces/planning/runtime.d.ts +37 -0
  178. package/dist/server/flow-surfaces/planning/runtime.js +259 -0
  179. package/dist/server/flow-surfaces/planning/step-link.d.ts +14 -0
  180. package/dist/server/flow-surfaces/planning/step-link.js +104 -0
  181. package/dist/server/flow-surfaces/planning/types.d.ts +55 -0
  182. package/dist/server/flow-surfaces/planning/types.js +24 -0
  183. package/dist/server/flow-surfaces/public-data-surface-default-filter.d.ts +24 -0
  184. package/dist/server/flow-surfaces/public-data-surface-default-filter.js +152 -0
  185. package/dist/server/flow-surfaces/reaction/errors.d.ts +20 -0
  186. package/dist/server/flow-surfaces/reaction/errors.js +69 -0
  187. package/dist/server/flow-surfaces/reaction/field-value.d.ts +34 -0
  188. package/dist/server/flow-surfaces/reaction/field-value.js +181 -0
  189. package/dist/server/flow-surfaces/reaction/fingerprint.d.ts +16 -0
  190. package/dist/server/flow-surfaces/reaction/fingerprint.js +71 -0
  191. package/dist/server/flow-surfaces/reaction/linkage.d.ts +136 -0
  192. package/dist/server/flow-surfaces/reaction/linkage.js +882 -0
  193. package/dist/server/flow-surfaces/reaction/meta.d.ts +11 -0
  194. package/dist/server/flow-surfaces/reaction/meta.js +451 -0
  195. package/dist/server/flow-surfaces/reaction/registry.d.ts +156 -0
  196. package/dist/server/flow-surfaces/reaction/registry.js +206 -0
  197. package/dist/server/flow-surfaces/reaction/resolver.d.ts +22 -0
  198. package/dist/server/flow-surfaces/reaction/resolver.js +202 -0
  199. package/dist/server/flow-surfaces/reaction/types.d.ts +241 -0
  200. package/dist/server/flow-surfaces/reaction/types.js +24 -0
  201. package/dist/server/flow-surfaces/reaction/utils.d.ts +17 -0
  202. package/dist/server/flow-surfaces/reaction/utils.js +67 -0
  203. package/dist/server/flow-surfaces/reaction/value-expr.d.ts +15 -0
  204. package/dist/server/flow-surfaces/reaction/value-expr.js +209 -0
  205. package/dist/server/flow-surfaces/reference-guards.d.ts +19 -0
  206. package/dist/server/flow-surfaces/reference-guards.js +103 -0
  207. package/dist/server/flow-surfaces/route-sync.d.ts +47 -0
  208. package/dist/server/flow-surfaces/route-sync.js +392 -0
  209. package/dist/server/flow-surfaces/service-helpers.d.ts +42 -0
  210. package/dist/server/flow-surfaces/service-helpers.js +310 -0
  211. package/dist/server/flow-surfaces/service-utils.d.ts +120 -0
  212. package/dist/server/flow-surfaces/service-utils.js +863 -0
  213. package/dist/server/flow-surfaces/service.d.ts +830 -0
  214. package/dist/server/flow-surfaces/service.js +15043 -0
  215. package/dist/server/flow-surfaces/support-matrix.d.ts +31 -0
  216. package/dist/server/flow-surfaces/support-matrix.js +282 -0
  217. package/dist/server/flow-surfaces/surface-context.d.ts +52 -0
  218. package/dist/server/flow-surfaces/surface-context.js +440 -0
  219. package/dist/server/flow-surfaces/template-compatibility.d.ts +42 -0
  220. package/dist/server/flow-surfaces/template-compatibility.js +189 -0
  221. package/dist/server/flow-surfaces/template-display.d.ts +20 -0
  222. package/dist/server/flow-surfaces/template-display.js +289 -0
  223. package/dist/server/flow-surfaces/template-service-utils.d.ts +62 -0
  224. package/dist/server/flow-surfaces/template-service-utils.js +281 -0
  225. package/dist/server/flow-surfaces/types.d.ts +288 -0
  226. package/dist/server/flow-surfaces/types.js +24 -0
  227. package/dist/server/index.d.ts +1 -0
  228. package/dist/server/index.js +7 -2
  229. package/dist/server/plugin.d.ts +0 -1
  230. package/dist/server/plugin.js +9 -34
  231. package/dist/server/repository.js +0 -5
  232. package/dist/server/variables/resolve.d.ts +21 -0
  233. package/dist/server/variables/resolve.js +79 -0
  234. package/dist/swagger/flow-surfaces.d.ts +6135 -0
  235. package/dist/swagger/flow-surfaces.examples.d.ts +1577 -0
  236. package/dist/swagger/flow-surfaces.examples.js +1816 -0
  237. package/dist/swagger/flow-surfaces.js +5384 -0
  238. package/dist/swagger/flow-surfaces.template-action-docs.d.ts +62 -0
  239. package/dist/swagger/flow-surfaces.template-action-docs.js +121 -0
  240. package/dist/swagger/flow-surfaces.template-schemas.d.ts +239 -0
  241. package/dist/swagger/flow-surfaces.template-schemas.js +255 -0
  242. package/dist/swagger/index.d.ts +6140 -0
  243. package/dist/swagger/index.js +50 -0
  244. package/package.json +3 -3
  245. /package/dist/ai/{tools → ai-employees/nathan/skills/frontend-developer/tools}/getContextApis.d.ts +0 -0
  246. /package/dist/ai/{tools → ai-employees/nathan/skills/frontend-developer/tools}/getContextEnvs.d.ts +0 -0
  247. /package/dist/ai/{tools → ai-employees/nathan/skills/frontend-developer/tools}/getContextVars.d.ts +0 -0
  248. /package/dist/ai/{tools → ai-employees/nathan/skills/frontend-developer/tools}/lintAndTestJS.d.ts +0 -0
@@ -0,0 +1,1577 @@
1
+ export declare const flowSurfaceExamples: {
2
+ catalog: {
3
+ target: {
4
+ uid: string;
5
+ };
6
+ };
7
+ context: {
8
+ target: {
9
+ uid: string;
10
+ };
11
+ path: string;
12
+ maxDepth: number;
13
+ };
14
+ getReactionMeta: {
15
+ target: {
16
+ uid: string;
17
+ };
18
+ };
19
+ describeSurface: {
20
+ locator: {
21
+ pageSchemaUid: string;
22
+ };
23
+ bindKeys: {
24
+ key: string;
25
+ locator: {
26
+ uid: string;
27
+ };
28
+ expectedKind: string;
29
+ }[];
30
+ };
31
+ applyBlueprint: {
32
+ version: string;
33
+ mode: string;
34
+ navigation: {
35
+ group: {
36
+ title: string;
37
+ };
38
+ item: {
39
+ title: string;
40
+ };
41
+ };
42
+ page: {
43
+ title: string;
44
+ documentTitle: string;
45
+ enableHeader: boolean;
46
+ displayTitle: boolean;
47
+ };
48
+ tabs: {
49
+ key: string;
50
+ title: string;
51
+ blocks: ({
52
+ key: string;
53
+ type: string;
54
+ collection: string;
55
+ fields: (string | {
56
+ key: string;
57
+ field: string;
58
+ })[];
59
+ fieldsLayout: {
60
+ rows: (string[] | {
61
+ key: string;
62
+ span: number;
63
+ }[])[];
64
+ };
65
+ actions: string[];
66
+ defaultFilter?: undefined;
67
+ } | {
68
+ key: string;
69
+ type: string;
70
+ collection: string;
71
+ defaultFilter: {
72
+ logic: string;
73
+ items: {
74
+ path: string;
75
+ operator: string;
76
+ value: string;
77
+ }[];
78
+ };
79
+ fields: string[];
80
+ actions: ({
81
+ key: string;
82
+ type: string;
83
+ settings: {
84
+ defaultFilter: {
85
+ logic: string;
86
+ items: {
87
+ path: string;
88
+ operator: string;
89
+ value: string;
90
+ }[];
91
+ };
92
+ };
93
+ } | {
94
+ key: string;
95
+ type: string;
96
+ settings?: undefined;
97
+ })[];
98
+ fieldsLayout?: undefined;
99
+ })[];
100
+ layout: {
101
+ rows: string[][];
102
+ };
103
+ }[];
104
+ reaction: {
105
+ items: ({
106
+ type: string;
107
+ target: string;
108
+ rules: {
109
+ key: string;
110
+ targetPath: string;
111
+ mode: string;
112
+ value: {
113
+ source: string;
114
+ value: string;
115
+ };
116
+ }[];
117
+ } | {
118
+ type: string;
119
+ target: string;
120
+ rules: {
121
+ key: string;
122
+ when: {
123
+ logic: string;
124
+ items: {
125
+ path: string;
126
+ operator: string;
127
+ }[];
128
+ };
129
+ then: {
130
+ type: string;
131
+ state: string;
132
+ }[];
133
+ }[];
134
+ } | {
135
+ type: string;
136
+ target: string;
137
+ rules: {
138
+ key: string;
139
+ when: {
140
+ logic: string;
141
+ items: {
142
+ path: string;
143
+ operator: string;
144
+ }[];
145
+ };
146
+ then: {
147
+ type: string;
148
+ items: {
149
+ targetPath: string;
150
+ value: {
151
+ source: string;
152
+ version: string;
153
+ code: string;
154
+ };
155
+ }[];
156
+ }[];
157
+ }[];
158
+ })[];
159
+ };
160
+ };
161
+ applyBlueprintReplace: {
162
+ version: string;
163
+ mode: string;
164
+ target: {
165
+ pageSchemaUid: string;
166
+ };
167
+ page: {
168
+ title: string;
169
+ documentTitle: string;
170
+ displayTitle: boolean;
171
+ enableTabs: boolean;
172
+ };
173
+ tabs: {
174
+ title: string;
175
+ blocks: {
176
+ key: string;
177
+ type: string;
178
+ collection: string;
179
+ fields: string[];
180
+ }[];
181
+ }[];
182
+ };
183
+ applyBlueprintCalendar: {
184
+ version: string;
185
+ mode: string;
186
+ navigation: {
187
+ item: {
188
+ title: string;
189
+ };
190
+ };
191
+ page: {
192
+ title: string;
193
+ documentTitle: string;
194
+ };
195
+ tabs: {
196
+ key: string;
197
+ title: string;
198
+ blocks: {
199
+ key: string;
200
+ type: string;
201
+ collection: string;
202
+ defaultFilter: {
203
+ logic: string;
204
+ items: {
205
+ path: string;
206
+ operator: string;
207
+ value: string;
208
+ }[];
209
+ };
210
+ settings: {
211
+ title: string;
212
+ titleField: string;
213
+ colorField: string;
214
+ startField: string;
215
+ endField: string;
216
+ defaultView: string;
217
+ };
218
+ actions: string[];
219
+ }[];
220
+ }[];
221
+ };
222
+ applyApprovalBlueprintInitiator: {
223
+ version: string;
224
+ surface: string;
225
+ workflowId: number;
226
+ blocks: {
227
+ key: string;
228
+ type: string;
229
+ resource: {
230
+ dataSourceKey: string;
231
+ collectionName: string;
232
+ };
233
+ fields: string[];
234
+ actions: string[];
235
+ }[];
236
+ layout: {
237
+ rows: string[][];
238
+ };
239
+ };
240
+ applyApprovalBlueprintApprover: {
241
+ version: string;
242
+ surface: string;
243
+ nodeId: number;
244
+ blocks: ({
245
+ key: string;
246
+ type: string;
247
+ resource: {
248
+ dataSourceKey: string;
249
+ collectionName: string;
250
+ };
251
+ fields: string[];
252
+ actions: (string | {
253
+ type: string;
254
+ settings: {
255
+ approvalReturn: {
256
+ type: string;
257
+ count: number;
258
+ };
259
+ };
260
+ })[];
261
+ } | {
262
+ key: string;
263
+ type: string;
264
+ resource: {
265
+ dataSourceKey: string;
266
+ collectionName: string;
267
+ };
268
+ fields: string[];
269
+ actions?: undefined;
270
+ })[];
271
+ layout: {
272
+ rows: string[][];
273
+ };
274
+ };
275
+ applyApprovalBlueprintTaskCard: {
276
+ version: string;
277
+ surface: string;
278
+ nodeId: number;
279
+ fields: {
280
+ key: string;
281
+ fieldPath: string;
282
+ }[];
283
+ layout: {
284
+ rows: string[][];
285
+ };
286
+ };
287
+ setFieldValueRules: {
288
+ target: {
289
+ uid: string;
290
+ };
291
+ rules: {
292
+ key: string;
293
+ targetPath: string;
294
+ mode: string;
295
+ value: {
296
+ source: string;
297
+ value: string;
298
+ };
299
+ }[];
300
+ expectedFingerprint: string;
301
+ };
302
+ setBlockLinkageRules: {
303
+ target: {
304
+ uid: string;
305
+ };
306
+ rules: {
307
+ key: string;
308
+ when: {
309
+ logic: string;
310
+ items: {
311
+ path: string;
312
+ operator: string;
313
+ }[];
314
+ };
315
+ then: {
316
+ type: string;
317
+ state: string;
318
+ }[];
319
+ }[];
320
+ expectedFingerprint: string;
321
+ };
322
+ setFieldLinkageRules: {
323
+ target: {
324
+ uid: string;
325
+ };
326
+ rules: {
327
+ key: string;
328
+ when: {
329
+ logic: string;
330
+ items: {
331
+ path: string;
332
+ operator: string;
333
+ }[];
334
+ };
335
+ then: {
336
+ type: string;
337
+ items: {
338
+ targetPath: string;
339
+ value: {
340
+ source: string;
341
+ version: string;
342
+ code: string;
343
+ };
344
+ }[];
345
+ }[];
346
+ }[];
347
+ expectedFingerprint: string;
348
+ };
349
+ setActionLinkageRules: {
350
+ target: {
351
+ uid: string;
352
+ };
353
+ expectedFingerprint: string;
354
+ rules: {
355
+ key: string;
356
+ when: {
357
+ logic: string;
358
+ items: {
359
+ path: string;
360
+ operator: string;
361
+ }[];
362
+ };
363
+ then: {
364
+ type: string;
365
+ state: string;
366
+ }[];
367
+ }[];
368
+ };
369
+ compose: {
370
+ target: {
371
+ uid: string;
372
+ };
373
+ mode: string;
374
+ blocks: ({
375
+ key: string;
376
+ type: string;
377
+ resource: {
378
+ dataSourceKey: string;
379
+ collectionName: string;
380
+ };
381
+ fields: {
382
+ fieldPath: string;
383
+ target: string;
384
+ }[];
385
+ fieldsLayout: {
386
+ rows: {
387
+ key: string;
388
+ span: number;
389
+ }[][];
390
+ };
391
+ actions: string[];
392
+ defaultFilter?: undefined;
393
+ recordActions?: undefined;
394
+ } | {
395
+ key: string;
396
+ type: string;
397
+ resource: {
398
+ dataSourceKey: string;
399
+ collectionName: string;
400
+ };
401
+ defaultFilter: {
402
+ logic: string;
403
+ items: {
404
+ path: string;
405
+ operator: string;
406
+ value: string;
407
+ }[];
408
+ };
409
+ fields: (string | {
410
+ fieldPath: string;
411
+ })[];
412
+ actions: (string | {
413
+ type: string;
414
+ settings: {
415
+ defaultFilter: {
416
+ logic: string;
417
+ items: {
418
+ path: string;
419
+ operator: string;
420
+ value: string;
421
+ }[];
422
+ };
423
+ };
424
+ })[];
425
+ recordActions: (string | {
426
+ type: string;
427
+ popup: {
428
+ mode: string;
429
+ blocks: {
430
+ key: string;
431
+ type: string;
432
+ resource: {
433
+ dataSourceKey: string;
434
+ collectionName: string;
435
+ };
436
+ fields: string[];
437
+ }[];
438
+ };
439
+ })[];
440
+ fieldsLayout?: undefined;
441
+ })[];
442
+ layout: {
443
+ rows: {
444
+ key: string;
445
+ span: number;
446
+ }[][];
447
+ };
448
+ };
449
+ composeStatic: {
450
+ target: {
451
+ uid: string;
452
+ };
453
+ blocks: ({
454
+ key: string;
455
+ type: string;
456
+ settings: {
457
+ content: string;
458
+ mode?: undefined;
459
+ url?: undefined;
460
+ height?: undefined;
461
+ layout?: undefined;
462
+ ellipsis?: undefined;
463
+ };
464
+ } | {
465
+ key: string;
466
+ type: string;
467
+ settings: {
468
+ mode: string;
469
+ url: string;
470
+ height: number;
471
+ content?: undefined;
472
+ layout?: undefined;
473
+ ellipsis?: undefined;
474
+ };
475
+ } | {
476
+ key: string;
477
+ type: string;
478
+ settings: {
479
+ layout: string;
480
+ ellipsis: boolean;
481
+ content?: undefined;
482
+ mode?: undefined;
483
+ url?: undefined;
484
+ height?: undefined;
485
+ };
486
+ })[];
487
+ layout: {
488
+ rows: string[][];
489
+ };
490
+ };
491
+ composeListRich: {
492
+ target: {
493
+ uid: string;
494
+ };
495
+ blocks: {
496
+ key: string;
497
+ type: string;
498
+ resource: {
499
+ dataSourceKey: string;
500
+ collectionName: string;
501
+ };
502
+ defaultFilter: {
503
+ logic: string;
504
+ items: {
505
+ path: string;
506
+ operator: string;
507
+ value: string;
508
+ }[];
509
+ };
510
+ fields: (string | {
511
+ fieldPath: string;
512
+ })[];
513
+ actions: string[];
514
+ recordActions: (string | {
515
+ type: string;
516
+ popup: {
517
+ mode: string;
518
+ blocks: {
519
+ key: string;
520
+ type: string;
521
+ resource: {
522
+ dataSourceKey: string;
523
+ collectionName: string;
524
+ };
525
+ fields: string[];
526
+ }[];
527
+ };
528
+ })[];
529
+ settings: {
530
+ pageSize: number;
531
+ layout: string;
532
+ };
533
+ }[];
534
+ };
535
+ composeGridCardRich: {
536
+ target: {
537
+ uid: string;
538
+ };
539
+ blocks: {
540
+ key: string;
541
+ type: string;
542
+ resource: {
543
+ dataSourceKey: string;
544
+ collectionName: string;
545
+ };
546
+ defaultFilter: {
547
+ logic: string;
548
+ items: {
549
+ path: string;
550
+ operator: string;
551
+ value: string;
552
+ }[];
553
+ };
554
+ fields: (string | {
555
+ fieldPath: string;
556
+ })[];
557
+ actions: string[];
558
+ recordActions: string[];
559
+ settings: {
560
+ columns: number;
561
+ rowCount: number;
562
+ layout: string;
563
+ };
564
+ }[];
565
+ };
566
+ composeJsBlock: {
567
+ target: {
568
+ uid: string;
569
+ };
570
+ blocks: {
571
+ key: string;
572
+ type: string;
573
+ settings: {
574
+ title: string;
575
+ description: string;
576
+ className: string;
577
+ version: string;
578
+ code: string;
579
+ };
580
+ }[];
581
+ };
582
+ configure: {
583
+ target: {
584
+ uid: string;
585
+ };
586
+ changes: {
587
+ clickToOpen: boolean;
588
+ openView: {
589
+ dataSourceKey: string;
590
+ collectionName: string;
591
+ associationName: string;
592
+ mode: string;
593
+ };
594
+ };
595
+ };
596
+ configureAssociationPopup: {
597
+ target: {
598
+ uid: string;
599
+ };
600
+ changes: {
601
+ clickToOpen: boolean;
602
+ openView: {
603
+ dataSourceKey: string;
604
+ collectionName: string;
605
+ associationName: string;
606
+ mode: string;
607
+ };
608
+ };
609
+ };
610
+ configureBlock: {
611
+ target: {
612
+ uid: string;
613
+ };
614
+ changes: {
615
+ pageSize: number;
616
+ dataScope: {
617
+ logic: string;
618
+ items: {
619
+ path: string;
620
+ operator: string;
621
+ value: string;
622
+ }[];
623
+ };
624
+ sorting: {
625
+ field: string;
626
+ direction: string;
627
+ }[];
628
+ layout: string;
629
+ };
630
+ };
631
+ createMenu: {
632
+ title: string;
633
+ type: string;
634
+ parentMenuRouteId: number;
635
+ };
636
+ updateMenu: {
637
+ menuRouteId: number;
638
+ title: string;
639
+ parentMenuRouteId: any;
640
+ };
641
+ configureAction: {
642
+ target: {
643
+ uid: string;
644
+ };
645
+ changes: {
646
+ title: string;
647
+ type: string;
648
+ color: string;
649
+ htmlType: string;
650
+ position: string;
651
+ confirm: {
652
+ enable: boolean;
653
+ title: string;
654
+ content: string;
655
+ };
656
+ assignValues: {
657
+ status: string;
658
+ };
659
+ };
660
+ };
661
+ configureJsBlock: {
662
+ target: {
663
+ uid: string;
664
+ };
665
+ changes: {
666
+ title: string;
667
+ description: string;
668
+ className: string;
669
+ version: string;
670
+ code: string;
671
+ };
672
+ };
673
+ configureJsAction: {
674
+ target: {
675
+ uid: string;
676
+ };
677
+ changes: {
678
+ title: string;
679
+ type: string;
680
+ version: string;
681
+ code: string;
682
+ };
683
+ };
684
+ configureJsItemAction: {
685
+ target: {
686
+ uid: string;
687
+ };
688
+ changes: {
689
+ title: string;
690
+ type: string;
691
+ version: string;
692
+ code: string;
693
+ };
694
+ };
695
+ configureJsField: {
696
+ target: {
697
+ uid: string;
698
+ };
699
+ changes: {
700
+ label: string;
701
+ version: string;
702
+ code: string;
703
+ };
704
+ };
705
+ configureJsColumn: {
706
+ target: {
707
+ uid: string;
708
+ };
709
+ changes: {
710
+ title: string;
711
+ width: number;
712
+ fixed: string;
713
+ version: string;
714
+ code: string;
715
+ };
716
+ };
717
+ configureJsItem: {
718
+ target: {
719
+ uid: string;
720
+ };
721
+ changes: {
722
+ label: string;
723
+ showLabel: boolean;
724
+ labelWidth: number;
725
+ version: string;
726
+ code: string;
727
+ };
728
+ };
729
+ configurePage: {
730
+ target: {
731
+ uid: string;
732
+ };
733
+ changes: {
734
+ icon: string;
735
+ enableHeader: boolean;
736
+ };
737
+ };
738
+ configureTableAdvanced: {
739
+ target: {
740
+ uid: string;
741
+ };
742
+ changes: {
743
+ quickEdit: boolean;
744
+ treeTable: boolean;
745
+ defaultExpandAllRows: boolean;
746
+ dragSort: boolean;
747
+ dragSortBy: string;
748
+ };
749
+ };
750
+ configureEditForm: {
751
+ target: {
752
+ uid: string;
753
+ };
754
+ changes: {
755
+ colon: boolean;
756
+ dataScope: {
757
+ logic: string;
758
+ items: {
759
+ path: string;
760
+ operator: string;
761
+ value: string;
762
+ }[];
763
+ };
764
+ };
765
+ };
766
+ configureDetailsCompatibility: {
767
+ target: {
768
+ uid: string;
769
+ };
770
+ changes: {
771
+ colon: boolean;
772
+ linkageRules: {
773
+ when: {
774
+ path: string;
775
+ operator: string;
776
+ value: string;
777
+ };
778
+ set: {
779
+ hidden: boolean;
780
+ };
781
+ }[];
782
+ };
783
+ };
784
+ composePopupCurrentRecord: {
785
+ target: {
786
+ uid: string;
787
+ };
788
+ mode: string;
789
+ blocks: {
790
+ key: string;
791
+ type: string;
792
+ resource: {
793
+ binding: string;
794
+ };
795
+ fields: string[];
796
+ }[];
797
+ };
798
+ composePopupAssociatedRecords: {
799
+ target: {
800
+ uid: string;
801
+ };
802
+ mode: string;
803
+ blocks: {
804
+ key: string;
805
+ type: string;
806
+ resource: {
807
+ binding: string;
808
+ associationField: string;
809
+ };
810
+ fields: string[];
811
+ actions: string[];
812
+ recordActions: string[];
813
+ }[];
814
+ };
815
+ configureActionModesCompatibility: {
816
+ target: {
817
+ uid: string;
818
+ };
819
+ changes: {
820
+ linkageRules: {
821
+ when: {
822
+ path: string;
823
+ operator: string;
824
+ value: string;
825
+ };
826
+ set: {
827
+ disabled: boolean;
828
+ };
829
+ }[];
830
+ editMode: string;
831
+ updateMode: string;
832
+ duplicateMode: string;
833
+ collapsedRows: number;
834
+ defaultCollapsed: boolean;
835
+ emailFieldNames: string[];
836
+ defaultSelectAllRecords: boolean;
837
+ };
838
+ };
839
+ createPage: {
840
+ menuRouteId: number;
841
+ title: string;
842
+ tabTitle: string;
843
+ enableTabs: boolean;
844
+ displayTitle: boolean;
845
+ documentTitle: string;
846
+ tabDocumentTitle: string;
847
+ };
848
+ addTab: {
849
+ target: {
850
+ uid: string;
851
+ };
852
+ title: string;
853
+ icon: string;
854
+ documentTitle: string;
855
+ };
856
+ updateTab: {
857
+ target: {
858
+ uid: string;
859
+ };
860
+ title: string;
861
+ icon: string;
862
+ documentTitle: string;
863
+ flowRegistry: {
864
+ beforeRenderApply: {
865
+ key: string;
866
+ on: string;
867
+ steps: {};
868
+ };
869
+ };
870
+ };
871
+ addPopupTab: {
872
+ target: {
873
+ uid: string;
874
+ };
875
+ title: string;
876
+ icon: string;
877
+ documentTitle: string;
878
+ };
879
+ updatePopupTab: {
880
+ target: {
881
+ uid: string;
882
+ };
883
+ title: string;
884
+ icon: string;
885
+ documentTitle: string;
886
+ flowRegistry: {
887
+ beforeRenderApply: {
888
+ key: string;
889
+ on: string;
890
+ steps: {};
891
+ };
892
+ };
893
+ };
894
+ movePopupTab: {
895
+ sourceUid: string;
896
+ targetUid: string;
897
+ position: string;
898
+ };
899
+ removePopupTab: {
900
+ target: {
901
+ uid: string;
902
+ };
903
+ };
904
+ addBlock: {
905
+ target: {
906
+ uid: string;
907
+ };
908
+ type: string;
909
+ resource: {
910
+ binding: string;
911
+ };
912
+ };
913
+ addTableBlockWithDefaultFilters: {
914
+ target: {
915
+ uid: string;
916
+ };
917
+ type: string;
918
+ defaultFilter: {
919
+ logic: string;
920
+ items: {
921
+ path: string;
922
+ operator: string;
923
+ value: string;
924
+ }[];
925
+ };
926
+ resourceInit: {
927
+ dataSourceKey: string;
928
+ collectionName: string;
929
+ };
930
+ defaultActionSettings: {
931
+ filter: {
932
+ filterableFieldNames: string[];
933
+ defaultFilter: {
934
+ logic: string;
935
+ items: {
936
+ path: string;
937
+ operator: string;
938
+ value: string;
939
+ }[];
940
+ };
941
+ };
942
+ };
943
+ };
944
+ addPopupAssociatedBlock: {
945
+ target: {
946
+ uid: string;
947
+ };
948
+ type: string;
949
+ resource: {
950
+ binding: string;
951
+ associationField: string;
952
+ };
953
+ };
954
+ addPopupOtherRecordsBlock: {
955
+ target: {
956
+ uid: string;
957
+ };
958
+ type: string;
959
+ resource: {
960
+ binding: string;
961
+ dataSourceKey: string;
962
+ collectionName: string;
963
+ };
964
+ };
965
+ addJsBlock: {
966
+ target: {
967
+ uid: string;
968
+ };
969
+ type: string;
970
+ settings: {
971
+ title: string;
972
+ description: string;
973
+ version: string;
974
+ code: string;
975
+ };
976
+ };
977
+ addField: {
978
+ target: {
979
+ uid: string;
980
+ };
981
+ fieldPath: string;
982
+ renderer: string;
983
+ settings: {
984
+ label: string;
985
+ code: string;
986
+ version: string;
987
+ };
988
+ };
989
+ addAssociationField: {
990
+ target: {
991
+ uid: string;
992
+ };
993
+ fieldPath: string;
994
+ associationPathName: string;
995
+ settings: {
996
+ title: string;
997
+ width: number;
998
+ };
999
+ popup: {
1000
+ mode: string;
1001
+ blocks: {
1002
+ key: string;
1003
+ type: string;
1004
+ resource: {
1005
+ binding: string;
1006
+ };
1007
+ fields: string[];
1008
+ }[];
1009
+ };
1010
+ };
1011
+ addJsColumn: {
1012
+ target: {
1013
+ uid: string;
1014
+ };
1015
+ type: string;
1016
+ settings: {
1017
+ title: string;
1018
+ width: number;
1019
+ version: string;
1020
+ code: string;
1021
+ };
1022
+ };
1023
+ addJsItem: {
1024
+ target: {
1025
+ uid: string;
1026
+ };
1027
+ type: string;
1028
+ settings: {
1029
+ label: string;
1030
+ showLabel: boolean;
1031
+ version: string;
1032
+ code: string;
1033
+ };
1034
+ };
1035
+ addFieldPopupTemplate: {
1036
+ target: {
1037
+ uid: string;
1038
+ };
1039
+ fieldPath: string;
1040
+ popup: {
1041
+ template: {
1042
+ uid: string;
1043
+ mode: string;
1044
+ };
1045
+ };
1046
+ };
1047
+ addFieldAutoPopupTemplate: {
1048
+ target: {
1049
+ uid: string;
1050
+ };
1051
+ fieldPath: string;
1052
+ popup: {
1053
+ tryTemplate: boolean;
1054
+ };
1055
+ };
1056
+ addFieldDefaultEditPopup: {
1057
+ target: {
1058
+ uid: string;
1059
+ };
1060
+ fieldPath: string;
1061
+ popup: {
1062
+ defaultType: string;
1063
+ };
1064
+ };
1065
+ addFieldSavePopupTemplate: {
1066
+ target: {
1067
+ uid: string;
1068
+ };
1069
+ fieldPath: string;
1070
+ popup: {
1071
+ blocks: {
1072
+ key: string;
1073
+ type: string;
1074
+ resource: {
1075
+ binding: string;
1076
+ };
1077
+ fields: string[];
1078
+ }[];
1079
+ saveAsTemplate: {
1080
+ name: string;
1081
+ description: string;
1082
+ };
1083
+ };
1084
+ };
1085
+ addAction: {
1086
+ target: {
1087
+ uid: string;
1088
+ };
1089
+ type: string;
1090
+ settings: {
1091
+ title: string;
1092
+ confirm: boolean;
1093
+ };
1094
+ };
1095
+ addLinkAction: {
1096
+ target: {
1097
+ uid: string;
1098
+ };
1099
+ type: string;
1100
+ settings: {
1101
+ title: string;
1102
+ };
1103
+ };
1104
+ addAutoPopupAction: {
1105
+ target: {
1106
+ uid: string;
1107
+ };
1108
+ type: string;
1109
+ popup: {
1110
+ tryTemplate: boolean;
1111
+ };
1112
+ };
1113
+ addSavePopupAction: {
1114
+ target: {
1115
+ uid: string;
1116
+ };
1117
+ type: string;
1118
+ popup: {
1119
+ blocks: {
1120
+ key: string;
1121
+ type: string;
1122
+ resource: {
1123
+ binding: string;
1124
+ };
1125
+ fields: string[];
1126
+ }[];
1127
+ saveAsTemplate: {
1128
+ name: string;
1129
+ description: string;
1130
+ };
1131
+ };
1132
+ };
1133
+ addJsAction: {
1134
+ target: {
1135
+ uid: string;
1136
+ };
1137
+ type: string;
1138
+ settings: {
1139
+ title: string;
1140
+ type: string;
1141
+ version: string;
1142
+ code: string;
1143
+ };
1144
+ };
1145
+ addJsItemAction: {
1146
+ target: {
1147
+ uid: string;
1148
+ };
1149
+ type: string;
1150
+ settings: {
1151
+ title: string;
1152
+ type: string;
1153
+ version: string;
1154
+ code: string;
1155
+ };
1156
+ };
1157
+ addRecordAction: {
1158
+ target: {
1159
+ uid: string;
1160
+ };
1161
+ type: string;
1162
+ settings: {
1163
+ title: string;
1164
+ openView: {
1165
+ dataSourceKey: string;
1166
+ collectionName: string;
1167
+ mode: string;
1168
+ };
1169
+ };
1170
+ popup: {
1171
+ mode: string;
1172
+ blocks: {
1173
+ key: string;
1174
+ type: string;
1175
+ resource: {
1176
+ dataSourceKey: string;
1177
+ collectionName: string;
1178
+ };
1179
+ fields: string[];
1180
+ }[];
1181
+ };
1182
+ };
1183
+ addRecordAutoPopupTemplate: {
1184
+ target: {
1185
+ uid: string;
1186
+ };
1187
+ type: string;
1188
+ popup: {
1189
+ tryTemplate: boolean;
1190
+ };
1191
+ };
1192
+ addRecordSavePopupTemplate: {
1193
+ target: {
1194
+ uid: string;
1195
+ };
1196
+ type: string;
1197
+ popup: {
1198
+ blocks: {
1199
+ key: string;
1200
+ type: string;
1201
+ resource: {
1202
+ binding: string;
1203
+ };
1204
+ fields: string[];
1205
+ }[];
1206
+ saveAsTemplate: {
1207
+ name: string;
1208
+ description: string;
1209
+ };
1210
+ };
1211
+ };
1212
+ addRecordAddChildAction: {
1213
+ target: {
1214
+ uid: string;
1215
+ };
1216
+ type: string;
1217
+ settings: {
1218
+ title: string;
1219
+ openView: {
1220
+ dataSourceKey: string;
1221
+ collectionName: string;
1222
+ mode: string;
1223
+ };
1224
+ };
1225
+ };
1226
+ addRecordJsAction: {
1227
+ target: {
1228
+ uid: string;
1229
+ };
1230
+ type: string;
1231
+ settings: {
1232
+ title: string;
1233
+ type: string;
1234
+ version: string;
1235
+ code: string;
1236
+ };
1237
+ };
1238
+ addBlocks: {
1239
+ target: {
1240
+ uid: string;
1241
+ };
1242
+ blocks: ({
1243
+ key: string;
1244
+ type: string;
1245
+ defaultFilter: {
1246
+ logic: string;
1247
+ items: {
1248
+ path: string;
1249
+ operator: string;
1250
+ value: string;
1251
+ }[];
1252
+ };
1253
+ resourceInit: {
1254
+ dataSourceKey: string;
1255
+ collectionName: string;
1256
+ };
1257
+ settings: {
1258
+ title: string;
1259
+ pageSize: number;
1260
+ };
1261
+ defaultActionSettings: {
1262
+ filter: {
1263
+ filterableFieldNames: string[];
1264
+ defaultFilter: {
1265
+ logic: string;
1266
+ items: {
1267
+ path: string;
1268
+ operator: string;
1269
+ value: string;
1270
+ }[];
1271
+ };
1272
+ };
1273
+ };
1274
+ fields?: undefined;
1275
+ fieldsLayout?: undefined;
1276
+ } | {
1277
+ key: string;
1278
+ type: string;
1279
+ resourceInit: {
1280
+ dataSourceKey: string;
1281
+ collectionName: string;
1282
+ };
1283
+ fields: {
1284
+ key: string;
1285
+ fieldPath: string;
1286
+ fieldType: string;
1287
+ fields: string[];
1288
+ }[];
1289
+ fieldsLayout: {
1290
+ rows: string[][];
1291
+ };
1292
+ defaultFilter?: undefined;
1293
+ settings?: undefined;
1294
+ defaultActionSettings?: undefined;
1295
+ })[];
1296
+ };
1297
+ addFields: {
1298
+ target: {
1299
+ uid: string;
1300
+ };
1301
+ fields: ({
1302
+ key: string;
1303
+ fieldPath: string;
1304
+ settings: {
1305
+ title: string;
1306
+ width: number;
1307
+ };
1308
+ popup: {
1309
+ mode: string;
1310
+ blocks: {
1311
+ key: string;
1312
+ type: string;
1313
+ resource: {
1314
+ binding: string;
1315
+ };
1316
+ fields: string[];
1317
+ }[];
1318
+ };
1319
+ fieldType?: undefined;
1320
+ fields?: undefined;
1321
+ } | {
1322
+ key: string;
1323
+ fieldPath: string;
1324
+ fieldType: string;
1325
+ fields: string[];
1326
+ settings: {
1327
+ title: string;
1328
+ width?: undefined;
1329
+ };
1330
+ popup?: undefined;
1331
+ })[];
1332
+ };
1333
+ addActions: {
1334
+ target: {
1335
+ uid: string;
1336
+ };
1337
+ actions: ({
1338
+ key: string;
1339
+ type: string;
1340
+ settings: {
1341
+ title: string;
1342
+ confirm: boolean;
1343
+ };
1344
+ } | {
1345
+ key: string;
1346
+ type: string;
1347
+ settings: {
1348
+ title: string;
1349
+ confirm?: undefined;
1350
+ };
1351
+ })[];
1352
+ };
1353
+ addRecordActions: {
1354
+ target: {
1355
+ uid: string;
1356
+ };
1357
+ recordActions: ({
1358
+ key: string;
1359
+ type: string;
1360
+ settings: {
1361
+ title: string;
1362
+ openView: {
1363
+ dataSourceKey: string;
1364
+ collectionName: string;
1365
+ mode: string;
1366
+ };
1367
+ };
1368
+ popup: {
1369
+ mode: string;
1370
+ blocks: {
1371
+ key: string;
1372
+ type: string;
1373
+ resource: {
1374
+ dataSourceKey: string;
1375
+ collectionName: string;
1376
+ };
1377
+ fields: string[];
1378
+ }[];
1379
+ };
1380
+ } | {
1381
+ key: string;
1382
+ type: string;
1383
+ settings: {
1384
+ title: string;
1385
+ openView?: undefined;
1386
+ };
1387
+ popup?: undefined;
1388
+ })[];
1389
+ };
1390
+ addRecordAddChildActions: {
1391
+ target: {
1392
+ uid: string;
1393
+ };
1394
+ recordActions: {
1395
+ key: string;
1396
+ type: string;
1397
+ settings: {
1398
+ title: string;
1399
+ openView: {
1400
+ dataSourceKey: string;
1401
+ collectionName: string;
1402
+ mode: string;
1403
+ };
1404
+ };
1405
+ }[];
1406
+ };
1407
+ updateSettings: {
1408
+ target: {
1409
+ uid: string;
1410
+ };
1411
+ stepParams: {
1412
+ tableSettings: {
1413
+ pageSize: {
1414
+ pageSize: number;
1415
+ };
1416
+ tableDensity: {
1417
+ size: string;
1418
+ };
1419
+ };
1420
+ };
1421
+ flowRegistry: {
1422
+ beforeRenderApply: {
1423
+ key: string;
1424
+ on: string;
1425
+ steps: {};
1426
+ };
1427
+ };
1428
+ };
1429
+ setEventFlows: {
1430
+ target: {
1431
+ uid: string;
1432
+ };
1433
+ flowRegistry: {
1434
+ popupSettings: {
1435
+ key: string;
1436
+ on: string;
1437
+ steps: {
1438
+ openView: {
1439
+ params: {
1440
+ title: string;
1441
+ size: string;
1442
+ };
1443
+ };
1444
+ };
1445
+ };
1446
+ };
1447
+ };
1448
+ setLayout: {
1449
+ target: {
1450
+ uid: string;
1451
+ };
1452
+ rows: {
1453
+ row1: string[][];
1454
+ };
1455
+ sizes: {
1456
+ row1: number[];
1457
+ };
1458
+ rowOrder: string[];
1459
+ };
1460
+ moveNode: {
1461
+ sourceUid: string;
1462
+ targetUid: string;
1463
+ position: string;
1464
+ };
1465
+ removeNode: {
1466
+ target: {
1467
+ uid: string;
1468
+ };
1469
+ };
1470
+ mutate: {
1471
+ atomic: boolean;
1472
+ ops: ({
1473
+ opId: string;
1474
+ type: string;
1475
+ values: {
1476
+ title: string;
1477
+ type: string;
1478
+ menuRouteId?: undefined;
1479
+ tabTitle?: undefined;
1480
+ target?: undefined;
1481
+ resourceInit?: undefined;
1482
+ fieldPath?: undefined;
1483
+ };
1484
+ } | {
1485
+ opId: string;
1486
+ type: string;
1487
+ values: {
1488
+ menuRouteId: {
1489
+ step: string;
1490
+ path: string;
1491
+ };
1492
+ tabTitle: string;
1493
+ title?: undefined;
1494
+ type?: undefined;
1495
+ target?: undefined;
1496
+ resourceInit?: undefined;
1497
+ fieldPath?: undefined;
1498
+ };
1499
+ } | {
1500
+ opId: string;
1501
+ type: string;
1502
+ values: {
1503
+ target: {
1504
+ uid: {
1505
+ step: string;
1506
+ path: string;
1507
+ };
1508
+ };
1509
+ type: string;
1510
+ resourceInit: {
1511
+ dataSourceKey: string;
1512
+ collectionName: string;
1513
+ };
1514
+ title?: undefined;
1515
+ menuRouteId?: undefined;
1516
+ tabTitle?: undefined;
1517
+ fieldPath?: undefined;
1518
+ };
1519
+ } | {
1520
+ type: string;
1521
+ values: {
1522
+ target: {
1523
+ uid: {
1524
+ step: string;
1525
+ path: string;
1526
+ };
1527
+ };
1528
+ fieldPath: string;
1529
+ title?: undefined;
1530
+ type?: undefined;
1531
+ menuRouteId?: undefined;
1532
+ tabTitle?: undefined;
1533
+ resourceInit?: undefined;
1534
+ };
1535
+ opId?: undefined;
1536
+ })[];
1537
+ };
1538
+ apply: {
1539
+ target: {
1540
+ uid: string;
1541
+ };
1542
+ mode: string;
1543
+ spec: {
1544
+ popup: {
1545
+ tryTemplate: boolean;
1546
+ };
1547
+ subModels: {
1548
+ items: ({
1549
+ clientKey: string;
1550
+ use: string;
1551
+ stepParams: {
1552
+ resourceSettings: {
1553
+ init: {
1554
+ dataSourceKey: string;
1555
+ collectionName: string;
1556
+ };
1557
+ };
1558
+ };
1559
+ props?: undefined;
1560
+ } | {
1561
+ clientKey: string;
1562
+ use: string;
1563
+ props: {
1564
+ content: string;
1565
+ };
1566
+ stepParams?: undefined;
1567
+ })[];
1568
+ };
1569
+ };
1570
+ };
1571
+ getPopupQuery: {
1572
+ uid: string;
1573
+ };
1574
+ getPageQuery: {
1575
+ pageSchemaUid: string;
1576
+ };
1577
+ };