@carthooks/arcubase-cli 0.1.20 → 0.1.22
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.
- package/bundle/arcubase-admin.mjs +1669 -163
- package/bundle/arcubase.mjs +1669 -163
- package/dist/generated/command_registry.generated.d.ts +300 -0
- package/dist/generated/command_registry.generated.d.ts.map +1 -1
- package/dist/generated/command_registry.generated.js +416 -0
- package/dist/generated/help_examples.generated.d.ts +191 -0
- package/dist/generated/help_examples.generated.d.ts.map +1 -1
- package/dist/generated/help_examples.generated.js +277 -0
- package/dist/generated/type_index.generated.d.ts +44 -1
- package/dist/generated/type_index.generated.d.ts.map +1 -1
- package/dist/generated/type_index.generated.js +46 -1
- package/dist/generated/zod_registry.generated.d.ts +32 -1
- package/dist/generated/zod_registry.generated.d.ts.map +1 -1
- package/dist/generated/zod_registry.generated.js +41 -0
- package/dist/runtime/dev_sdk_gen.d.ts +9 -0
- package/dist/runtime/dev_sdk_gen.d.ts.map +1 -0
- package/dist/runtime/dev_sdk_gen.js +319 -0
- package/dist/runtime/execute.d.ts.map +1 -1
- package/dist/runtime/execute.js +384 -32
- package/dist/runtime/zod_registry.d.ts.map +1 -1
- package/dist/runtime/zod_registry.js +66 -0
- package/package.json +1 -1
- package/sdk-dist/api/admin/index.ts +1 -0
- package/sdk-dist/api/admin/ingress.ts +11 -0
- package/sdk-dist/api/admin/public-link.ts +48 -0
- package/sdk-dist/api/shared-link/form.ts +42 -1
- package/sdk-dist/api/user/index.ts +0 -1
- package/sdk-dist/docs/runtime-reference/access-rule.md +19 -0
- package/sdk-dist/docs/runtime-reference/dashboard.md +15 -0
- package/sdk-dist/docs/runtime-reference/dev-sdk-gen.md +41 -0
- package/sdk-dist/docs/runtime-reference/help-examples/admin/access-rule/bulk-apply.json +105 -0
- package/sdk-dist/docs/runtime-reference/help-examples/admin/dashboard/update-layout.json +16 -0
- package/sdk-dist/docs/runtime-reference/help-examples/admin/widget/create.json +33 -0
- package/sdk-dist/docs/runtime-reference/help-examples/admin/widget/preview-data.json +42 -0
- package/sdk-dist/docs/runtime-reference/widgets.md +40 -0
- package/sdk-dist/generated/command_registry.generated.ts +416 -0
- package/sdk-dist/generated/help_examples.generated.ts +277 -0
- package/sdk-dist/generated/type_index.generated.ts +46 -1
- package/sdk-dist/generated/zod_registry.generated.ts +62 -0
- package/sdk-dist/types/app.ts +37 -1
- package/sdk-dist/types/common.ts +77 -35
- package/sdk-dist/types/index.ts +1 -1
- package/sdk-dist/types/ingress.ts +31 -0
- package/sdk-dist/types/public-link.ts +10 -0
- package/sdk-dist/types/shared-link.ts +16 -1
- package/sdk-dist/types/user-action.ts +1 -43
- package/src/generated/command_registry.generated.ts +416 -0
- package/src/generated/help_examples.generated.ts +277 -0
- package/src/generated/type_index.generated.ts +46 -1
- package/src/generated/zod_registry.generated.ts +62 -0
- package/src/runtime/dev_sdk_gen.ts +360 -0
- package/src/runtime/execute.ts +484 -52
- package/src/runtime/zod_registry.ts +66 -0
- package/src/tests/command_registry.test.ts +21 -2
- package/src/tests/dev_sdk_gen.test.ts +226 -0
- package/src/tests/docs_readability.test.ts +15 -0
- package/src/tests/execute_validation.test.ts +215 -0
- package/src/tests/help.test.ts +83 -0
- package/sdk-dist/api/user/copilot.ts +0 -20
- package/sdk-dist/types/copilot.ts +0 -34
|
@@ -36,6 +36,161 @@ export const helpExamplesIndex = {
|
|
|
36
36
|
}
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
|
+
"admin.access-rule.bulk-apply": {
|
|
40
|
+
"command": [
|
|
41
|
+
"access-rule",
|
|
42
|
+
"bulk-apply"
|
|
43
|
+
],
|
|
44
|
+
"examples": [
|
|
45
|
+
{
|
|
46
|
+
"title": "upsert permission matrix by rule name in one transaction",
|
|
47
|
+
"body": {
|
|
48
|
+
"mode": "upsert_by_name",
|
|
49
|
+
"items": [
|
|
50
|
+
{
|
|
51
|
+
"table_id": 2188893443,
|
|
52
|
+
"name": "Customer archive - sales owns rows",
|
|
53
|
+
"enabled": true,
|
|
54
|
+
"type": "form",
|
|
55
|
+
"options": {
|
|
56
|
+
"user_scope": [
|
|
57
|
+
{
|
|
58
|
+
"type": "department",
|
|
59
|
+
"id": 2188881201
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"policy": {
|
|
63
|
+
"key": "custom",
|
|
64
|
+
"actions": [
|
|
65
|
+
"view",
|
|
66
|
+
"add",
|
|
67
|
+
"edit"
|
|
68
|
+
],
|
|
69
|
+
"all_fields_read": true,
|
|
70
|
+
"all_fields_write": true,
|
|
71
|
+
"condition": {
|
|
72
|
+
"mode": "and",
|
|
73
|
+
"conditions": [
|
|
74
|
+
{
|
|
75
|
+
"column": "creator",
|
|
76
|
+
"operator": "$eq",
|
|
77
|
+
"value": "[[current_user]]",
|
|
78
|
+
"value_from": 0,
|
|
79
|
+
"value_relation": ""
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"list_options": {}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"table_id": 2188893444,
|
|
89
|
+
"name": "Lead review - manager queue",
|
|
90
|
+
"enabled": true,
|
|
91
|
+
"type": "form",
|
|
92
|
+
"options": {
|
|
93
|
+
"user_scope": [
|
|
94
|
+
{
|
|
95
|
+
"type": "actor",
|
|
96
|
+
"id": 2188883301
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"policy": {
|
|
100
|
+
"key": "custom",
|
|
101
|
+
"actions": [
|
|
102
|
+
"view",
|
|
103
|
+
"edit"
|
|
104
|
+
],
|
|
105
|
+
"all_fields_read": true,
|
|
106
|
+
"all_fields_write": true,
|
|
107
|
+
"condition": {
|
|
108
|
+
"mode": "and",
|
|
109
|
+
"conditions": [
|
|
110
|
+
{
|
|
111
|
+
"column": ":1004",
|
|
112
|
+
"operator": "$eq",
|
|
113
|
+
"value": "pending",
|
|
114
|
+
"value_from": 0,
|
|
115
|
+
"value_relation": ""
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"column": "",
|
|
119
|
+
"operator": "",
|
|
120
|
+
"value": null,
|
|
121
|
+
"value_from": 0,
|
|
122
|
+
"value_relation": "",
|
|
123
|
+
"subset": {
|
|
124
|
+
"mode": "or",
|
|
125
|
+
"conditions": [
|
|
126
|
+
{
|
|
127
|
+
"column": "creator",
|
|
128
|
+
"operator": "$eq",
|
|
129
|
+
"value": "[[current_user]]",
|
|
130
|
+
"value_from": 0,
|
|
131
|
+
"value_relation": ""
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"column": ":1005",
|
|
135
|
+
"operator": "$eq",
|
|
136
|
+
"value": "high",
|
|
137
|
+
"value_from": 0,
|
|
138
|
+
"value_relation": ""
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"list_options": {}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
"notes": [
|
|
152
|
+
"mode upsert_by_name is for idempotent setup; rule names must be unique within each table",
|
|
153
|
+
"department, actor, and specific user scopes all use options.user_scope",
|
|
154
|
+
"row-owner isolation uses [[current_user]] in policy.condition"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"title": "preview updates for existing rule ids",
|
|
159
|
+
"body": {
|
|
160
|
+
"mode": "update_existing",
|
|
161
|
+
"dry_run": true,
|
|
162
|
+
"items": [
|
|
163
|
+
{
|
|
164
|
+
"table_id": 2188893443,
|
|
165
|
+
"rule_id": 2188893557,
|
|
166
|
+
"enabled": true,
|
|
167
|
+
"options": {
|
|
168
|
+
"user_scope": [
|
|
169
|
+
{
|
|
170
|
+
"type": "user",
|
|
171
|
+
"id": 2188889901
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"policy": {
|
|
175
|
+
"key": "custom",
|
|
176
|
+
"actions": [
|
|
177
|
+
"view"
|
|
178
|
+
],
|
|
179
|
+
"all_fields_read": true,
|
|
180
|
+
"all_fields_write": false
|
|
181
|
+
},
|
|
182
|
+
"list_options": {}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
"notes": [
|
|
188
|
+
"dry_run true returns the planned operations without writing",
|
|
189
|
+
"update_existing requires rule_id on every item"
|
|
190
|
+
]
|
|
191
|
+
}
|
|
192
|
+
]
|
|
193
|
+
},
|
|
39
194
|
"admin.access-rule.create": {
|
|
40
195
|
"command": [
|
|
41
196
|
"access-rule",
|
|
@@ -184,6 +339,128 @@ export const helpExamplesIndex = {
|
|
|
184
339
|
}
|
|
185
340
|
]
|
|
186
341
|
},
|
|
342
|
+
"admin.dashboard.update-layout": {
|
|
343
|
+
"command": [
|
|
344
|
+
"dashboard",
|
|
345
|
+
"update-layout"
|
|
346
|
+
],
|
|
347
|
+
"examples": [
|
|
348
|
+
{
|
|
349
|
+
"title": "place one dashboard widget in the top-left area",
|
|
350
|
+
"body": [
|
|
351
|
+
{
|
|
352
|
+
"id": 2188892001,
|
|
353
|
+
"x": 0,
|
|
354
|
+
"y": 0,
|
|
355
|
+
"w": 12,
|
|
356
|
+
"h": 6
|
|
357
|
+
}
|
|
358
|
+
],
|
|
359
|
+
"notes": [
|
|
360
|
+
"the request body is a top-level array",
|
|
361
|
+
"do not wrap the array as {\"layout\":[...]}"
|
|
362
|
+
]
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
"admin.widget.create": {
|
|
367
|
+
"command": [
|
|
368
|
+
"widget",
|
|
369
|
+
"create"
|
|
370
|
+
],
|
|
371
|
+
"examples": [
|
|
372
|
+
{
|
|
373
|
+
"title": "create a dashboard chart widget",
|
|
374
|
+
"body": {
|
|
375
|
+
"type": "chart",
|
|
376
|
+
"options": {
|
|
377
|
+
"dashboard_id": 2188892001
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"notes": [
|
|
381
|
+
"do not set options.type by hand",
|
|
382
|
+
"dashboard_id selects a dashboard widget",
|
|
383
|
+
"use widget update next to save chart options"
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"title": "create an ingress list widget",
|
|
388
|
+
"body": {
|
|
389
|
+
"type": "list",
|
|
390
|
+
"options": {
|
|
391
|
+
"ingress_id": 2188893001
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"notes": [
|
|
395
|
+
"ingress_id selects an ingress widget",
|
|
396
|
+
"do not place ingress widgets with dashboard update-layout"
|
|
397
|
+
]
|
|
398
|
+
}
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
"admin.widget.preview-data": {
|
|
402
|
+
"command": [
|
|
403
|
+
"widget",
|
|
404
|
+
"preview-data"
|
|
405
|
+
],
|
|
406
|
+
"examples": [
|
|
407
|
+
{
|
|
408
|
+
"title": "preview dashboard chart data from a table",
|
|
409
|
+
"body": {
|
|
410
|
+
"dataSource": 2188891001,
|
|
411
|
+
"dataSourceType": "entity",
|
|
412
|
+
"dimensions": [
|
|
413
|
+
{
|
|
414
|
+
"IsField": true,
|
|
415
|
+
"FieldID": 1004,
|
|
416
|
+
"Name": "Source"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"measures": [
|
|
420
|
+
{
|
|
421
|
+
"FieldID": 1005,
|
|
422
|
+
"Aggregate": "sum",
|
|
423
|
+
"Name": "Total Amount"
|
|
424
|
+
}
|
|
425
|
+
]
|
|
426
|
+
},
|
|
427
|
+
"notes": [
|
|
428
|
+
"preview-data does not accept --widget-id",
|
|
429
|
+
"do not send widget_id or id in the request body",
|
|
430
|
+
"copy dimensions and measures from the chart query you want to preview"
|
|
431
|
+
]
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"title": "preview count and distinct_count in one grouped chart",
|
|
435
|
+
"body": {
|
|
436
|
+
"dataSource": 2188891001,
|
|
437
|
+
"dataSourceType": "entity",
|
|
438
|
+
"dimensions": [
|
|
439
|
+
{
|
|
440
|
+
"IsField": true,
|
|
441
|
+
"FieldID": 1004,
|
|
442
|
+
"Name": "Source"
|
|
443
|
+
}
|
|
444
|
+
],
|
|
445
|
+
"measures": [
|
|
446
|
+
{
|
|
447
|
+
"Aggregate": "count",
|
|
448
|
+
"Name": "Lead Count"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"FieldID": 1002,
|
|
452
|
+
"Aggregate": "distinct_count",
|
|
453
|
+
"Name": "Distinct Customers"
|
|
454
|
+
}
|
|
455
|
+
]
|
|
456
|
+
},
|
|
457
|
+
"notes": [
|
|
458
|
+
"supported Aggregate values are sum, avg, max, min, count, and distinct_count",
|
|
459
|
+
"unsupported aggregate names fail local body validation before the request is sent"
|
|
460
|
+
]
|
|
461
|
+
}
|
|
462
|
+
]
|
|
463
|
+
},
|
|
187
464
|
"user.row.bulk-update": {
|
|
188
465
|
"command": [
|
|
189
466
|
"row",
|
|
@@ -7,6 +7,10 @@ export declare const typeIndex: {
|
|
|
7
7
|
readonly file: "types/app.ts";
|
|
8
8
|
readonly dependencies: readonly [];
|
|
9
9
|
};
|
|
10
|
+
readonly AppIngressBulkApplyReqVO: {
|
|
11
|
+
readonly file: "types/ingress.ts";
|
|
12
|
+
readonly dependencies: readonly [];
|
|
13
|
+
};
|
|
10
14
|
readonly AppIngressCreateReqVO: {
|
|
11
15
|
readonly file: "types/ingress.ts";
|
|
12
16
|
readonly dependencies: readonly [];
|
|
@@ -15,10 +19,45 @@ export declare const typeIndex: {
|
|
|
15
19
|
readonly file: "types/ingress.ts";
|
|
16
20
|
readonly dependencies: readonly [];
|
|
17
21
|
};
|
|
22
|
+
readonly AppNewWidgetsReqVO: {
|
|
23
|
+
readonly file: "types/widgets.ts";
|
|
24
|
+
readonly dependencies: readonly [];
|
|
25
|
+
};
|
|
26
|
+
readonly AppPreviewWidgetsDataReqVO: {
|
|
27
|
+
readonly file: "types/widgets.ts";
|
|
28
|
+
readonly dependencies: readonly [];
|
|
29
|
+
};
|
|
18
30
|
readonly AppUpdateAppReqVO: {
|
|
19
31
|
readonly file: "types/app.ts";
|
|
20
32
|
readonly dependencies: readonly [];
|
|
21
33
|
};
|
|
34
|
+
readonly AppUpdateWidgetsIngressOptionsReqVO: {
|
|
35
|
+
readonly file: "types/widgets.ts";
|
|
36
|
+
readonly dependencies: readonly [];
|
|
37
|
+
};
|
|
38
|
+
readonly AppUpdateWidgetsReqVO: {
|
|
39
|
+
readonly file: "types/widgets.ts";
|
|
40
|
+
readonly dependencies: readonly [];
|
|
41
|
+
};
|
|
42
|
+
readonly DashboardCreateReqVO: {
|
|
43
|
+
readonly file: "types/dashboard.ts";
|
|
44
|
+
readonly dependencies: readonly [];
|
|
45
|
+
};
|
|
46
|
+
readonly DashboardUpdateLayoutReqVO: {
|
|
47
|
+
readonly file: "types/dashboard.ts";
|
|
48
|
+
readonly dependencies: readonly [{
|
|
49
|
+
readonly symbol: "LayoutPosition";
|
|
50
|
+
readonly file: "types/dashboard.ts";
|
|
51
|
+
}];
|
|
52
|
+
};
|
|
53
|
+
readonly DashboardUpdateOptionsReqVO: {
|
|
54
|
+
readonly file: "types/dashboard.ts";
|
|
55
|
+
readonly dependencies: readonly [];
|
|
56
|
+
};
|
|
57
|
+
readonly DashboardUpdateTitleReqVO: {
|
|
58
|
+
readonly file: "types/dashboard.ts";
|
|
59
|
+
readonly dependencies: readonly [];
|
|
60
|
+
};
|
|
22
61
|
readonly EntityBulkUpdateReqVO: {
|
|
23
62
|
readonly file: "types/user-action.ts";
|
|
24
63
|
readonly dependencies: readonly [];
|
|
@@ -28,7 +67,7 @@ export declare const typeIndex: {
|
|
|
28
67
|
readonly dependencies: readonly [];
|
|
29
68
|
};
|
|
30
69
|
readonly EntityQueryRelationReqVO: {
|
|
31
|
-
readonly file: "types/
|
|
70
|
+
readonly file: "types/common.ts";
|
|
32
71
|
readonly dependencies: readonly [];
|
|
33
72
|
};
|
|
34
73
|
readonly EntityQueryReqVO: {
|
|
@@ -67,6 +106,10 @@ export declare const typeIndex: {
|
|
|
67
106
|
readonly file: "types/workflow.ts";
|
|
68
107
|
readonly dependencies: readonly [];
|
|
69
108
|
};
|
|
109
|
+
readonly FetchWidgetsDataReqVO: {
|
|
110
|
+
readonly file: "types/user-action.ts";
|
|
111
|
+
readonly dependencies: readonly [];
|
|
112
|
+
};
|
|
70
113
|
readonly GetUploadTokenReqVO: {
|
|
71
114
|
readonly file: "types/user-action.ts";
|
|
72
115
|
readonly dependencies: readonly [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type_index.generated.d.ts","sourceRoot":"","sources":["../../src/generated/type_index.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"type_index.generated.d.ts","sourceRoot":"","sources":["../../src/generated/type_index.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0IZ,CAAA"}
|
|
@@ -8,6 +8,10 @@ export const typeIndex = {
|
|
|
8
8
|
"file": "types/app.ts",
|
|
9
9
|
"dependencies": []
|
|
10
10
|
},
|
|
11
|
+
"AppIngressBulkApplyReqVO": {
|
|
12
|
+
"file": "types/ingress.ts",
|
|
13
|
+
"dependencies": []
|
|
14
|
+
},
|
|
11
15
|
"AppIngressCreateReqVO": {
|
|
12
16
|
"file": "types/ingress.ts",
|
|
13
17
|
"dependencies": []
|
|
@@ -16,10 +20,47 @@ export const typeIndex = {
|
|
|
16
20
|
"file": "types/ingress.ts",
|
|
17
21
|
"dependencies": []
|
|
18
22
|
},
|
|
23
|
+
"AppNewWidgetsReqVO": {
|
|
24
|
+
"file": "types/widgets.ts",
|
|
25
|
+
"dependencies": []
|
|
26
|
+
},
|
|
27
|
+
"AppPreviewWidgetsDataReqVO": {
|
|
28
|
+
"file": "types/widgets.ts",
|
|
29
|
+
"dependencies": []
|
|
30
|
+
},
|
|
19
31
|
"AppUpdateAppReqVO": {
|
|
20
32
|
"file": "types/app.ts",
|
|
21
33
|
"dependencies": []
|
|
22
34
|
},
|
|
35
|
+
"AppUpdateWidgetsIngressOptionsReqVO": {
|
|
36
|
+
"file": "types/widgets.ts",
|
|
37
|
+
"dependencies": []
|
|
38
|
+
},
|
|
39
|
+
"AppUpdateWidgetsReqVO": {
|
|
40
|
+
"file": "types/widgets.ts",
|
|
41
|
+
"dependencies": []
|
|
42
|
+
},
|
|
43
|
+
"DashboardCreateReqVO": {
|
|
44
|
+
"file": "types/dashboard.ts",
|
|
45
|
+
"dependencies": []
|
|
46
|
+
},
|
|
47
|
+
"DashboardUpdateLayoutReqVO": {
|
|
48
|
+
"file": "types/dashboard.ts",
|
|
49
|
+
"dependencies": [
|
|
50
|
+
{
|
|
51
|
+
"symbol": "LayoutPosition",
|
|
52
|
+
"file": "types/dashboard.ts"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"DashboardUpdateOptionsReqVO": {
|
|
57
|
+
"file": "types/dashboard.ts",
|
|
58
|
+
"dependencies": []
|
|
59
|
+
},
|
|
60
|
+
"DashboardUpdateTitleReqVO": {
|
|
61
|
+
"file": "types/dashboard.ts",
|
|
62
|
+
"dependencies": []
|
|
63
|
+
},
|
|
23
64
|
"EntityBulkUpdateReqVO": {
|
|
24
65
|
"file": "types/user-action.ts",
|
|
25
66
|
"dependencies": []
|
|
@@ -29,7 +70,7 @@ export const typeIndex = {
|
|
|
29
70
|
"dependencies": []
|
|
30
71
|
},
|
|
31
72
|
"EntityQueryRelationReqVO": {
|
|
32
|
-
"file": "types/
|
|
73
|
+
"file": "types/common.ts",
|
|
33
74
|
"dependencies": []
|
|
34
75
|
},
|
|
35
76
|
"EntityQueryReqVO": {
|
|
@@ -68,6 +109,10 @@ export const typeIndex = {
|
|
|
68
109
|
"file": "types/workflow.ts",
|
|
69
110
|
"dependencies": []
|
|
70
111
|
},
|
|
112
|
+
"FetchWidgetsDataReqVO": {
|
|
113
|
+
"file": "types/user-action.ts",
|
|
114
|
+
"dependencies": []
|
|
115
|
+
},
|
|
71
116
|
"GetUploadTokenReqVO": {
|
|
72
117
|
"file": "types/user-action.ts",
|
|
73
118
|
"dependencies": []
|
|
@@ -15,11 +15,30 @@ export declare const PermitFieldPermitSchema: z.ZodTypeAny;
|
|
|
15
15
|
export declare const PermitPolicySchema: z.ZodTypeAny;
|
|
16
16
|
export declare const PermitUserScopeSchema: z.ZodTypeAny;
|
|
17
17
|
export declare const EntityIngressOptionsSchema: z.ZodTypeAny;
|
|
18
|
+
export declare const AppIngressBulkApplyItemVOSchema: z.ZodTypeAny;
|
|
19
|
+
export declare const AppIngressBulkApplyReqVOSchema: z.ZodTypeAny;
|
|
18
20
|
export declare const AppIngressCreateReqVOSchema: z.ZodTypeAny;
|
|
19
21
|
export declare const AppIngressUpdateReqVOSchema: z.ZodTypeAny;
|
|
22
|
+
export declare const WidgetsTypeCodeSchema: z.ZodTypeAny;
|
|
23
|
+
export declare const WidgetsTypeSchema: z.ZodTypeAny;
|
|
24
|
+
export declare const AppNewWidgetsReqVOSchema: z.ZodTypeAny;
|
|
25
|
+
export declare const CubeDimensionSchema: z.ZodTypeAny;
|
|
26
|
+
export declare const CubeMeasureAggregateSchema: z.ZodTypeAny;
|
|
27
|
+
export declare const CubeMeasureSchema: z.ZodTypeAny;
|
|
28
|
+
export declare const AppPreviewWidgetsDataReqVOSchema: z.ZodTypeAny;
|
|
20
29
|
export declare const GormDeletedAtSchema: z.ZodTypeAny;
|
|
21
30
|
export declare const AppOptionsSchema: z.ZodTypeAny;
|
|
22
31
|
export declare const AppUpdateAppReqVOSchema: z.ZodTypeAny;
|
|
32
|
+
export declare const WidgetsListViewOptionsSchema: z.ZodTypeAny;
|
|
33
|
+
export declare const AppUpdateWidgetsIngressOptionsReqVOSchema: z.ZodTypeAny;
|
|
34
|
+
export declare const ChartOptionSchema: z.ZodTypeAny;
|
|
35
|
+
export declare const WidgetsOptionSchema: z.ZodTypeAny;
|
|
36
|
+
export declare const AppUpdateWidgetsReqVOSchema: z.ZodTypeAny;
|
|
37
|
+
export declare const DashboardCreateReqVOSchema: z.ZodTypeAny;
|
|
38
|
+
export declare const LayoutPositionSchema: z.ZodTypeAny;
|
|
39
|
+
export declare const DashboardUpdateLayoutReqVOSchema: z.ZodTypeAny;
|
|
40
|
+
export declare const DashboardUpdateOptionsReqVOSchema: z.ZodTypeAny;
|
|
41
|
+
export declare const DashboardUpdateTitleReqVOSchema: z.ZodTypeAny;
|
|
23
42
|
export declare const EntityBulkUpdateActionVOSchema: z.ZodTypeAny;
|
|
24
43
|
export declare const EntityBulkUpdateFieldVOSchema: z.ZodTypeAny;
|
|
25
44
|
export declare const EntityBulkUpdateReqVOSchema: z.ZodTypeAny;
|
|
@@ -68,6 +87,8 @@ export declare const WorkflowSLAConfigSchema: z.ZodTypeAny;
|
|
|
68
87
|
export declare const WorkflowOptionsSchema: z.ZodTypeAny;
|
|
69
88
|
export declare const EntityWorkflowDeployReqVOSchema: z.ZodTypeAny;
|
|
70
89
|
export declare const EntityWorkflowUpdateReqVOSchema: z.ZodTypeAny;
|
|
90
|
+
export declare const EntityUtilsQueryOrderSchema: z.ZodTypeAny;
|
|
91
|
+
export declare const FetchWidgetsDataReqVOSchema: z.ZodTypeAny;
|
|
71
92
|
export declare const GetUploadTokenReqVOSchema: z.ZodTypeAny;
|
|
72
93
|
export declare const InsertReqVOSchema: z.ZodTypeAny;
|
|
73
94
|
export declare const MobileUploadCheckReqVOSchema: z.ZodTypeAny;
|
|
@@ -79,13 +100,22 @@ export declare const PronounsTypeSchema: z.ZodTypeAny;
|
|
|
79
100
|
export declare const UserSchema: z.ZodTypeAny;
|
|
80
101
|
export declare const TenantUserSchema: z.ZodTypeAny;
|
|
81
102
|
export declare const UserProfileUpdateReqVOSchema: z.ZodTypeAny;
|
|
82
|
-
export declare const generatedRequestTypes: readonly ["AppCreateByTenantsReqVO", "AppCreateEntityReqVO", "AppIngressCreateReqVO", "AppIngressUpdateReqVO", "AppUpdateAppReqVO", "EntityBulkUpdateReqVO", "EntityDoActionReqVO", "EntityQueryRelationReqVO", "EntityQueryReqVO", "EntityResolveWorkflowReqVO", "EntitySaveNameReqVO", "EntitySaveReqVO", "EntitySelectionActionReqVO", "EntityUpdateReqVO", "EntityWorkflowApproveUsersReqVO", "EntityWorkflowDeployReqVO", "EntityWorkflowUpdateReqVO", "GetUploadTokenReqVO", "InsertReqVO", "MobileUploadCheckReqVO", "MobileUploadReqVO", "UploadPreviewReqVO", "UserProfileUpdateReqVO"];
|
|
103
|
+
export declare const generatedRequestTypes: readonly ["AppCreateByTenantsReqVO", "AppCreateEntityReqVO", "AppIngressBulkApplyReqVO", "AppIngressCreateReqVO", "AppIngressUpdateReqVO", "AppNewWidgetsReqVO", "AppPreviewWidgetsDataReqVO", "AppUpdateAppReqVO", "AppUpdateWidgetsIngressOptionsReqVO", "AppUpdateWidgetsReqVO", "DashboardCreateReqVO", "DashboardUpdateLayoutReqVO", "DashboardUpdateOptionsReqVO", "DashboardUpdateTitleReqVO", "EntityBulkUpdateReqVO", "EntityDoActionReqVO", "EntityQueryRelationReqVO", "EntityQueryReqVO", "EntityResolveWorkflowReqVO", "EntitySaveNameReqVO", "EntitySaveReqVO", "EntitySelectionActionReqVO", "EntityUpdateReqVO", "EntityWorkflowApproveUsersReqVO", "EntityWorkflowDeployReqVO", "EntityWorkflowUpdateReqVO", "FetchWidgetsDataReqVO", "GetUploadTokenReqVO", "InsertReqVO", "MobileUploadCheckReqVO", "MobileUploadReqVO", "UploadPreviewReqVO", "UserProfileUpdateReqVO"];
|
|
83
104
|
export declare const bodySchemas: {
|
|
84
105
|
readonly AppCreateByTenantsReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
85
106
|
readonly AppCreateEntityReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
107
|
+
readonly AppIngressBulkApplyReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
86
108
|
readonly AppIngressCreateReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
87
109
|
readonly AppIngressUpdateReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
110
|
+
readonly AppNewWidgetsReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
111
|
+
readonly AppPreviewWidgetsDataReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
88
112
|
readonly AppUpdateAppReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
113
|
+
readonly AppUpdateWidgetsIngressOptionsReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
114
|
+
readonly AppUpdateWidgetsReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
115
|
+
readonly DashboardCreateReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
116
|
+
readonly DashboardUpdateLayoutReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
117
|
+
readonly DashboardUpdateOptionsReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
118
|
+
readonly DashboardUpdateTitleReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
89
119
|
readonly EntityBulkUpdateReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
90
120
|
readonly EntityDoActionReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
91
121
|
readonly EntityQueryRelationReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
@@ -98,6 +128,7 @@ export declare const bodySchemas: {
|
|
|
98
128
|
readonly EntityWorkflowApproveUsersReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
99
129
|
readonly EntityWorkflowDeployReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
100
130
|
readonly EntityWorkflowUpdateReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
131
|
+
readonly FetchWidgetsDataReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
101
132
|
readonly GetUploadTokenReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
102
133
|
readonly InsertReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
103
134
|
readonly MobileUploadCheckReqVO: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod_registry.generated.d.ts","sourceRoot":"","sources":["../../src/generated/zod_registry.generated.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,UAAwJ,CAAA;AAEtM,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,UAAgH,CAAA;AAE3J,eAAO,MAAM,cAAc,EAAE,CAAC,CAAC,UAA2D,CAAA;AAE1F,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,UAAsJ,CAAA;AAEzL,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,UAAoV,CAAA;AAE7X,eAAO,MAAM,sBAAsB,EAAE,C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Z,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,UAAkF,CAAA;AAE5H,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,UAAwI,CAAA;AAE1K,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,UAAuK,CAAA;AAEpN,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,UAAqG,CAAA;AAE7I,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,UAAoH,CAAA;AAE7J,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,UAAgH,CAAA;AAElJ,eAAO,MAAM,YAAY,EAAE,CAAC,CAAC,UAA0mB,CAAA;AAEvoB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,UAA0G,CAAA;AAE7I,eAAO,MAAM,UAAU,EAAE,CAAC,CAAC,UAA4c,CAAA;AAEve,eAAO,MAAM,gBAAgB,EAAE,CAAC,CAAC,UAAmsB,CAAA;AAEpuB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,UAAmL,CAAA;AAEhO,eAAO,MAAM,qBAAqB,61BAkCxB,CAAA;AAEV,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCd,CAAA;AAEV,eAAO,MAAM,sBAAsB,IAEzB,CAAA;AAEV,MAAM,MAAM,uBAAuB,GAAG,MAAM,OAAO,WAAW,CAAA"}
|
|
@@ -16,11 +16,30 @@ export const PermitFieldPermitSchema = z.lazy(() => z.object({ "key": z.string()
|
|
|
16
16
|
export const PermitPolicySchema = z.lazy(() => z.object({ "actions": z.array(z.string()).optional(), "all_fields_read": z.boolean().optional(), "all_fields_write": z.boolean().optional(), "condition": PermitConditionSetSchema.optional(), "description": z.string().optional(), "fields": z.array(PermitFieldPermitSchema).optional(), "id": z.string().optional(), "key": z.string().optional(), "name": z.string().optional() }).strict());
|
|
17
17
|
export const PermitUserScopeSchema = z.lazy(() => z.object({ "data": z.object({ "name": z.string().optional() }).strict().optional(), "id": z.number().optional(), "type": z.string().optional() }).strict());
|
|
18
18
|
export const EntityIngressOptionsSchema = z.lazy(() => z.object({ "i18n_name": I18NTextSchema.optional(), "list_options": PermitEntityListOptionsSchema.optional(), "policy": PermitPolicySchema.optional(), "user_scope": z.array(PermitUserScopeSchema).optional() }).strict());
|
|
19
|
+
export const AppIngressBulkApplyItemVOSchema = z.lazy(() => z.object({ "enabled": z.boolean().optional(), "name": z.string().optional(), "options": EntityIngressOptionsSchema.optional(), "rule_id": z.number().optional(), "table_id": z.number().optional(), "type": z.string().optional() }).strict());
|
|
20
|
+
export const AppIngressBulkApplyReqVOSchema = z.lazy(() => z.object({ "dry_run": z.boolean().optional(), "items": z.array(AppIngressBulkApplyItemVOSchema).optional(), "mode": z.string().optional() }).strict());
|
|
19
21
|
export const AppIngressCreateReqVOSchema = z.lazy(() => z.object({ "enabled": z.boolean().optional(), "entity_id": z.number().optional(), "icon_name": z.string().optional(), "name": z.string().optional(), "options": EntityIngressOptionsSchema.optional(), "type": z.string().optional(), "url": z.string().optional() }).strict());
|
|
20
22
|
export const AppIngressUpdateReqVOSchema = z.lazy(() => z.object({ "enabled": z.boolean().optional(), "name": z.string().optional(), "options": EntityIngressOptionsSchema.optional(), "update": z.array(z.string()).optional() }).strict());
|
|
23
|
+
export const WidgetsTypeCodeSchema = z.lazy(() => z.union([z.literal(1), z.literal(2)]));
|
|
24
|
+
export const WidgetsTypeSchema = z.lazy(() => z.object({ "dashboard_id": z.number().optional(), "ingress_id": z.number().optional(), "type": WidgetsTypeCodeSchema.optional() }).strict());
|
|
25
|
+
export const AppNewWidgetsReqVOSchema = z.lazy(() => z.object({ "options": WidgetsTypeSchema.optional(), "type": z.string().optional() }).strict());
|
|
26
|
+
export const CubeDimensionSchema = z.lazy(() => z.object({ "FieldID": z.number().optional(), "IsField": z.boolean().optional(), "Label": z.string().optional(), "Name": z.string().optional(), "Options": z.record(z.string(), z.any()).optional(), "OrderBy": z.string().optional(), "PropName": z.string().optional() }).strict());
|
|
27
|
+
export const CubeMeasureAggregateSchema = z.lazy(() => z.union([z.literal("sum"), z.literal("avg"), z.literal("max"), z.literal("min"), z.literal("count"), z.literal("distinct_count")]));
|
|
28
|
+
export const CubeMeasureSchema = z.lazy(() => z.object({ "Aggregate": CubeMeasureAggregateSchema.optional(), "FieldID": z.number().optional(), "Label": z.string().optional(), "Name": z.string().optional(), "Options": z.record(z.string(), z.any()).optional(), "OrderBy": z.string().optional() }).strict());
|
|
29
|
+
export const AppPreviewWidgetsDataReqVOSchema = z.lazy(() => z.object({ "conditions": PermitConditionSetSchema.optional(), "dataSource": z.number().optional(), "dataSourceType": z.string().optional(), "dimensions": z.array(CubeDimensionSchema).optional(), "measures": z.array(CubeMeasureSchema).optional() }).strict());
|
|
21
30
|
export const GormDeletedAtSchema = z.lazy(() => z.object({ "Time": z.string().optional(), "Valid": z.boolean().optional() }).strict());
|
|
22
31
|
export const AppOptionsSchema = z.lazy(() => z.object({ "use_home_dashboard": z.boolean().optional() }).strict());
|
|
23
32
|
export const AppUpdateAppReqVOSchema = z.lazy(() => z.object({ "CreatedAt": z.string().optional(), "DeletedAt": GormDeletedAtSchema.optional(), "ID": z.number().optional(), "Options": AppOptionsSchema.optional(), "UpdatedAt": z.string().optional(), "changed": z.array(z.string()).optional(), "has_workflow": z.boolean().optional(), "icon_color": z.string().optional(), "icon_name": z.string().optional(), "name": z.string().optional(), "tenant_id": z.number().optional(), "use_home_dashboard": z.boolean().optional() }).strict());
|
|
33
|
+
export const WidgetsListViewOptionsSchema = z.lazy(() => z.object({ "cond_follow": z.boolean().optional(), "cond_follow_cols": z.array(z.string()).optional(), "cond_follow_tab": z.boolean().optional(), "link": z.record(z.string(), z.any()).optional() }).strict());
|
|
34
|
+
export const AppUpdateWidgetsIngressOptionsReqVOSchema = z.lazy(() => z.object({ "options": WidgetsListViewOptionsSchema.optional() }).strict());
|
|
35
|
+
export const ChartOptionSchema = z.lazy(() => z.object({ "conditions": PermitConditionSetSchema.optional(), "dimensions": z.array(CubeDimensionSchema).optional(), "entity_id": z.number().optional(), "measures": z.array(CubeMeasureSchema).optional(), "options": z.record(z.string(), z.any()).optional(), "type": z.string().optional() }).strict());
|
|
36
|
+
export const WidgetsOptionSchema = z.lazy(() => z.object({ "charts": ChartOptionSchema.optional(), "ingress": WidgetsListViewOptionsSchema.optional(), "render": z.record(z.string(), z.any()).optional() }).strict());
|
|
37
|
+
export const AppUpdateWidgetsReqVOSchema = z.lazy(() => z.object({ "entity_id": z.number().optional(), "options": WidgetsOptionSchema.optional() }).strict());
|
|
38
|
+
export const DashboardCreateReqVOSchema = z.lazy(() => z.object({ "name": z.string().optional() }).strict());
|
|
39
|
+
export const LayoutPositionSchema = z.lazy(() => z.object({ "h": z.number().optional(), "id": z.number().optional(), "w": z.number().optional(), "x": z.number().optional(), "y": z.number().optional() }).strict());
|
|
40
|
+
export const DashboardUpdateLayoutReqVOSchema = z.lazy(() => z.array(LayoutPositionSchema));
|
|
41
|
+
export const DashboardUpdateOptionsReqVOSchema = z.lazy(() => z.object({ "changed": z.array(z.string()).optional(), "i18n_name": z.record(z.string(), z.string()).optional(), "theme": z.object({ "gutter": z.number().optional(), "has_shadow": z.boolean().optional(), "round_corners": z.number().optional() }).strict().optional(), "users": z.array(PermitUserScopeSchema).optional() }).strict());
|
|
42
|
+
export const DashboardUpdateTitleReqVOSchema = z.lazy(() => z.object({ "name": z.string().optional() }).strict());
|
|
24
43
|
export const EntityBulkUpdateActionVOSchema = z.lazy(() => z.object({ "number_add": z.number().optional(), "number_mul": z.number().optional(), "number_sub": z.number().optional(), "text_append": z.string().optional(), "text_prepend": z.string().optional(), "text_replace": z.string().optional(), "text_search": z.string().optional(), "type": z.string().optional(), "value": z.any().optional() }).strict());
|
|
25
44
|
export const EntityBulkUpdateFieldVOSchema = z.lazy(() => z.object({ "action": EntityBulkUpdateActionVOSchema.optional(), "id": z.number().optional() }).strict());
|
|
26
45
|
export const EntityBulkUpdateReqVOSchema = z.lazy(() => z.object({ "fields": z.array(EntityBulkUpdateFieldVOSchema).optional(), "policy_id": z.string().optional() }).strict());
|
|
@@ -69,6 +88,8 @@ export const WorkflowSLAConfigSchema = z.lazy(() => z.object({ "ddl": z.number()
|
|
|
69
88
|
export const WorkflowOptionsSchema = z.lazy(() => z.object({ "allow_urge": z.boolean().optional(), "allow_view_diagram": z.boolean().optional(), "auto_approve_rule": WorkflowAutoApproveRuleSchema.optional(), "retract_rule": WorkflowRetractRuleSchema.optional(), "sla": z.array(WorkflowSLAConfigSchema).optional() }).strict());
|
|
70
89
|
export const EntityWorkflowDeployReqVOSchema = z.lazy(() => z.object({ "diagram": WorkflowConfigDiagramSchema.optional(), "id": z.number().optional(), "options": WorkflowOptionsSchema.optional() }).strict());
|
|
71
90
|
export const EntityWorkflowUpdateReqVOSchema = z.lazy(() => z.object({ "diagram": WorkflowConfigDiagramSchema.optional(), "id": z.number().optional(), "options": WorkflowOptionsSchema.optional() }).strict());
|
|
91
|
+
export const EntityUtilsQueryOrderSchema = z.lazy(() => z.object({ "column": z.string().optional(), "order": z.string().optional() }).strict());
|
|
92
|
+
export const FetchWidgetsDataReqVOSchema = z.lazy(() => z.object({ "dashboard_id": z.number().optional(), "ingress_hash_id": z.string().optional(), "ingress_id": z.number().optional(), "querys": z.object({ "search": z.record(z.string(), z.any()).optional(), "sorts": z.array(EntityUtilsQueryOrderSchema).optional() }).strict().optional(), "type": WidgetsTypeCodeSchema.optional() }).strict());
|
|
72
93
|
export const GetUploadTokenReqVOSchema = z.lazy(() => z.object({ "global": z.boolean().optional() }).strict());
|
|
73
94
|
export const InsertReqVOSchema = z.lazy(() => z.object({ "fields": z.record(z.string(), z.any()).optional(), "policy_id": z.string().optional() }).strict());
|
|
74
95
|
export const MobileUploadCheckReqVOSchema = z.lazy(() => z.object({ "id": z.number().optional(), "ignored": z.record(z.string(), z.boolean()).optional(), "secret": z.string().optional() }).strict());
|
|
@@ -83,9 +104,18 @@ export const UserProfileUpdateReqVOSchema = z.lazy(() => z.object({ "Changed": z
|
|
|
83
104
|
export const generatedRequestTypes = [
|
|
84
105
|
"AppCreateByTenantsReqVO",
|
|
85
106
|
"AppCreateEntityReqVO",
|
|
107
|
+
"AppIngressBulkApplyReqVO",
|
|
86
108
|
"AppIngressCreateReqVO",
|
|
87
109
|
"AppIngressUpdateReqVO",
|
|
110
|
+
"AppNewWidgetsReqVO",
|
|
111
|
+
"AppPreviewWidgetsDataReqVO",
|
|
88
112
|
"AppUpdateAppReqVO",
|
|
113
|
+
"AppUpdateWidgetsIngressOptionsReqVO",
|
|
114
|
+
"AppUpdateWidgetsReqVO",
|
|
115
|
+
"DashboardCreateReqVO",
|
|
116
|
+
"DashboardUpdateLayoutReqVO",
|
|
117
|
+
"DashboardUpdateOptionsReqVO",
|
|
118
|
+
"DashboardUpdateTitleReqVO",
|
|
89
119
|
"EntityBulkUpdateReqVO",
|
|
90
120
|
"EntityDoActionReqVO",
|
|
91
121
|
"EntityQueryRelationReqVO",
|
|
@@ -98,6 +128,7 @@ export const generatedRequestTypes = [
|
|
|
98
128
|
"EntityWorkflowApproveUsersReqVO",
|
|
99
129
|
"EntityWorkflowDeployReqVO",
|
|
100
130
|
"EntityWorkflowUpdateReqVO",
|
|
131
|
+
"FetchWidgetsDataReqVO",
|
|
101
132
|
"GetUploadTokenReqVO",
|
|
102
133
|
"InsertReqVO",
|
|
103
134
|
"MobileUploadCheckReqVO",
|
|
@@ -108,9 +139,18 @@ export const generatedRequestTypes = [
|
|
|
108
139
|
export const bodySchemas = {
|
|
109
140
|
"AppCreateByTenantsReqVO": AppCreateByTenantsReqVOSchema,
|
|
110
141
|
"AppCreateEntityReqVO": AppCreateEntityReqVOSchema,
|
|
142
|
+
"AppIngressBulkApplyReqVO": AppIngressBulkApplyReqVOSchema,
|
|
111
143
|
"AppIngressCreateReqVO": AppIngressCreateReqVOSchema,
|
|
112
144
|
"AppIngressUpdateReqVO": AppIngressUpdateReqVOSchema,
|
|
145
|
+
"AppNewWidgetsReqVO": AppNewWidgetsReqVOSchema,
|
|
146
|
+
"AppPreviewWidgetsDataReqVO": AppPreviewWidgetsDataReqVOSchema,
|
|
113
147
|
"AppUpdateAppReqVO": AppUpdateAppReqVOSchema,
|
|
148
|
+
"AppUpdateWidgetsIngressOptionsReqVO": AppUpdateWidgetsIngressOptionsReqVOSchema,
|
|
149
|
+
"AppUpdateWidgetsReqVO": AppUpdateWidgetsReqVOSchema,
|
|
150
|
+
"DashboardCreateReqVO": DashboardCreateReqVOSchema,
|
|
151
|
+
"DashboardUpdateLayoutReqVO": DashboardUpdateLayoutReqVOSchema,
|
|
152
|
+
"DashboardUpdateOptionsReqVO": DashboardUpdateOptionsReqVOSchema,
|
|
153
|
+
"DashboardUpdateTitleReqVO": DashboardUpdateTitleReqVOSchema,
|
|
114
154
|
"EntityBulkUpdateReqVO": EntityBulkUpdateReqVOSchema,
|
|
115
155
|
"EntityDoActionReqVO": EntityDoActionReqVOSchema,
|
|
116
156
|
"EntityQueryRelationReqVO": EntityQueryRelationReqVOSchema,
|
|
@@ -123,6 +163,7 @@ export const bodySchemas = {
|
|
|
123
163
|
"EntityWorkflowApproveUsersReqVO": EntityWorkflowApproveUsersReqVOSchema,
|
|
124
164
|
"EntityWorkflowDeployReqVO": EntityWorkflowDeployReqVOSchema,
|
|
125
165
|
"EntityWorkflowUpdateReqVO": EntityWorkflowUpdateReqVOSchema,
|
|
166
|
+
"FetchWidgetsDataReqVO": FetchWidgetsDataReqVOSchema,
|
|
126
167
|
"GetUploadTokenReqVO": GetUploadTokenReqVOSchema,
|
|
127
168
|
"InsertReqVO": InsertReqVOSchema,
|
|
128
169
|
"MobileUploadCheckReqVO": MobileUploadCheckReqVOSchema,
|