@stndrds/schema 0.1.0-alpha.15 → 0.1.0-alpha.16
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/dist/chunk-BTVPMGYW.mjs +6327 -0
- package/dist/chunk-C7HZ55GJ.mjs +6882 -0
- package/dist/chunk-JDUTFH3J.mjs +6940 -0
- package/dist/chunk-QAGN53HE.mjs +6327 -0
- package/dist/chunk-UUOAVXAI.mjs +6327 -0
- package/dist/chunk-VYZ3BOSB.mjs +6946 -0
- package/dist/chunk-XAX75NSP.mjs +6321 -0
- package/dist/chunk-ZG3PT3RL.mjs +6944 -0
- package/dist/index.d.mts +229 -4
- package/dist/index.d.ts +229 -4
- package/dist/index.js +769 -134
- package/dist/index.mjs +25 -1
- package/dist/runtime-BPYJWZfC.d.mts +5130 -0
- package/dist/runtime-BPYJWZfC.d.ts +5130 -0
- package/dist/runtime-DRc_OhnM.d.mts +5142 -0
- package/dist/runtime-DRc_OhnM.d.ts +5142 -0
- package/dist/runtime-D_S3m9jf.d.mts +5142 -0
- package/dist/runtime-D_S3m9jf.d.ts +5142 -0
- package/dist/runtime-Db3rRxbJ.d.mts +4821 -0
- package/dist/runtime-Db3rRxbJ.d.ts +4821 -0
- package/dist/runtime-DlCiIIfr.d.mts +5130 -0
- package/dist/runtime-DlCiIIfr.d.ts +5130 -0
- package/dist/runtime-WqYxjhjJ.d.mts +5125 -0
- package/dist/runtime-WqYxjhjJ.d.ts +5125 -0
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +389 -129
- package/dist/runtime.mjs +3 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -7,6 +7,10 @@ import {
|
|
|
7
7
|
DuplicateError,
|
|
8
8
|
FileNotFoundError,
|
|
9
9
|
FileService,
|
|
10
|
+
FlowBuilder,
|
|
11
|
+
FlowPageBuilder,
|
|
12
|
+
FlowRowBuilder,
|
|
13
|
+
FlowService,
|
|
10
14
|
ForbiddenError,
|
|
11
15
|
GeocodingService,
|
|
12
16
|
GlobalSearchService,
|
|
@@ -70,6 +74,7 @@ import {
|
|
|
70
74
|
extractAttributeNames,
|
|
71
75
|
file,
|
|
72
76
|
fileConfigSchema,
|
|
77
|
+
flow,
|
|
73
78
|
generateId,
|
|
74
79
|
generatePrefixedId,
|
|
75
80
|
getAttributeConfigSchema,
|
|
@@ -125,7 +130,7 @@ import {
|
|
|
125
130
|
verifyNativeObjectsSync,
|
|
126
131
|
verifyNativeViewsSync,
|
|
127
132
|
view
|
|
128
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-JDUTFH3J.mjs";
|
|
129
134
|
import {
|
|
130
135
|
ALL_SYSTEM_RESOURCES,
|
|
131
136
|
DEFAULT_ROLES,
|
|
@@ -232,6 +237,17 @@ function isNoValueOperator(operator) {
|
|
|
232
237
|
return NO_VALUE_OPERATORS.includes(operator);
|
|
233
238
|
}
|
|
234
239
|
|
|
240
|
+
// src/types/flows.ts
|
|
241
|
+
function isFlowDefinition(obj) {
|
|
242
|
+
return typeof obj === "object" && obj !== null && "slots" in obj && "pages" in obj && "relations" in obj && "status" in obj;
|
|
243
|
+
}
|
|
244
|
+
function isFlowPublished(flow2) {
|
|
245
|
+
return flow2.status === "published";
|
|
246
|
+
}
|
|
247
|
+
function isSystemFlow(flow2) {
|
|
248
|
+
return flow2.system === true;
|
|
249
|
+
}
|
|
250
|
+
|
|
235
251
|
// src/types/views.ts
|
|
236
252
|
function isFormTab(tab) {
|
|
237
253
|
return tab.type === "form";
|
|
@@ -394,6 +410,10 @@ export {
|
|
|
394
410
|
DuplicateError,
|
|
395
411
|
FileNotFoundError,
|
|
396
412
|
FileService,
|
|
413
|
+
FlowBuilder,
|
|
414
|
+
FlowPageBuilder,
|
|
415
|
+
FlowRowBuilder,
|
|
416
|
+
FlowService,
|
|
397
417
|
ForbiddenError,
|
|
398
418
|
GeocodingService,
|
|
399
419
|
GlobalSearchService,
|
|
@@ -461,6 +481,7 @@ export {
|
|
|
461
481
|
extractAttributeNames,
|
|
462
482
|
file,
|
|
463
483
|
fileConfigSchema,
|
|
484
|
+
flow,
|
|
464
485
|
generateId,
|
|
465
486
|
generatePrefixedId,
|
|
466
487
|
getAttributeConfigSchema,
|
|
@@ -471,6 +492,8 @@ export {
|
|
|
471
492
|
isAdvancedFilterState,
|
|
472
493
|
isCustomTab,
|
|
473
494
|
isDefaultRole,
|
|
495
|
+
isFlowDefinition,
|
|
496
|
+
isFlowPublished,
|
|
474
497
|
isForbiddenError,
|
|
475
498
|
isFormTab,
|
|
476
499
|
isLabelExpression,
|
|
@@ -479,6 +502,7 @@ export {
|
|
|
479
502
|
isProtectedResourceError,
|
|
480
503
|
isRecordComplete,
|
|
481
504
|
isSchemaError,
|
|
505
|
+
isSystemFlow,
|
|
482
506
|
isTableTab,
|
|
483
507
|
isValidationError,
|
|
484
508
|
location,
|