@stndrds/schema 0.1.0-alpha.19 → 0.1.0-alpha.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.
- package/dist/chunk-3RVLIIUK.mjs +9257 -0
- package/dist/chunk-4SW4V3YU.mjs +8854 -0
- package/dist/chunk-6FNFXEQY.mjs +9316 -0
- package/dist/chunk-6TJR4WDK.mjs +9262 -0
- package/dist/chunk-7GSIXU67.mjs +8820 -0
- package/dist/chunk-BQUYTOB3.mjs +8815 -0
- package/dist/chunk-BSAR4UKK.mjs +8851 -0
- package/dist/chunk-F27AKBTL.mjs +9452 -0
- package/dist/chunk-HSNBVKQU.mjs +9316 -0
- package/dist/chunk-I4TTNDN7.mjs +8910 -0
- package/dist/chunk-JJLODIBK.mjs +9389 -0
- package/dist/chunk-KDHA2N7D.mjs +8927 -0
- package/dist/chunk-MAXEN3GU.mjs +9266 -0
- package/dist/chunk-MX4X4UEN.mjs +8854 -0
- package/dist/chunk-OJWVSONX.mjs +8900 -0
- package/dist/chunk-PMYSW54L.mjs +8855 -0
- package/dist/chunk-Y5KIRAND.mjs +8916 -0
- package/dist/chunk-ZD3BFM25.mjs +9316 -0
- package/dist/chunk-ZU5SR355.mjs +8862 -0
- package/dist/index.d.mts +8 -197
- package/dist/index.d.ts +8 -197
- package/dist/index.js +921 -272
- package/dist/index.mjs +21 -5
- package/dist/runtime-09fOm3VO.d.mts +6383 -0
- package/dist/runtime-09fOm3VO.d.ts +6383 -0
- package/dist/runtime-0gaIqXql.d.mts +7074 -0
- package/dist/runtime-0gaIqXql.d.ts +7074 -0
- package/dist/runtime-3u5doYAK.d.mts +6934 -0
- package/dist/runtime-3u5doYAK.d.ts +6934 -0
- package/dist/runtime-B6mOrMV4.d.mts +6985 -0
- package/dist/runtime-B6mOrMV4.d.ts +6985 -0
- package/dist/runtime-BMHqETm7.d.mts +6450 -0
- package/dist/runtime-BMHqETm7.d.ts +6450 -0
- package/dist/runtime-BNML-fPx.d.mts +6969 -0
- package/dist/runtime-BNML-fPx.d.ts +6969 -0
- package/dist/runtime-BPdsKDJo.d.mts +6969 -0
- package/dist/runtime-BPdsKDJo.d.ts +6969 -0
- package/dist/runtime-BpsaNQPs.d.mts +6397 -0
- package/dist/runtime-BpsaNQPs.d.ts +6397 -0
- package/dist/runtime-CHAkwiwa.d.mts +6450 -0
- package/dist/runtime-CHAkwiwa.d.ts +6450 -0
- package/dist/runtime-CfVfZtoq.d.mts +6437 -0
- package/dist/runtime-CfVfZtoq.d.ts +6437 -0
- package/dist/runtime-D1jyS1lS.d.mts +7008 -0
- package/dist/runtime-D1jyS1lS.d.ts +7008 -0
- package/dist/runtime-DjEUAeL4.d.mts +6713 -0
- package/dist/runtime-DjEUAeL4.d.ts +6713 -0
- package/dist/runtime-rTM9ddEe.d.mts +6934 -0
- package/dist/runtime-rTM9ddEe.d.ts +6934 -0
- package/dist/runtime-xLzAkAnp.d.mts +6969 -0
- package/dist/runtime-xLzAkAnp.d.ts +6969 -0
- package/dist/runtime-xtAfMn_f.d.mts +6436 -0
- package/dist/runtime-xtAfMn_f.d.ts +6436 -0
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +901 -272
- package/dist/runtime.mjs +17 -5
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -29,6 +29,9 @@ import {
|
|
|
29
29
|
PermissionService,
|
|
30
30
|
ProtectedResourceError,
|
|
31
31
|
ProtectedRoleError,
|
|
32
|
+
QueryBuilder,
|
|
33
|
+
QueryMultipleResultsError,
|
|
34
|
+
QueryNoResultError,
|
|
32
35
|
RecordNotFoundError,
|
|
33
36
|
RecordReferencedError,
|
|
34
37
|
RecordService,
|
|
@@ -37,6 +40,7 @@ import {
|
|
|
37
40
|
RoleNotFoundError,
|
|
38
41
|
RollupScheduler,
|
|
39
42
|
RollupService,
|
|
43
|
+
SHORTCUT_TO_FILTER_OPERATOR,
|
|
40
44
|
SchemaError,
|
|
41
45
|
SchemaErrorCode,
|
|
42
46
|
SyncError,
|
|
@@ -57,6 +61,7 @@ import {
|
|
|
57
61
|
createCheckboxValidator,
|
|
58
62
|
createCurrencyValidator,
|
|
59
63
|
createDateValidator,
|
|
64
|
+
createDefaultState,
|
|
60
65
|
createDraftValidator,
|
|
61
66
|
createFileValidator,
|
|
62
67
|
createFormulaValidator,
|
|
@@ -67,9 +72,9 @@ import {
|
|
|
67
72
|
createNumberValidator,
|
|
68
73
|
createObjectValidator,
|
|
69
74
|
createPhoneValidator,
|
|
75
|
+
createQueryBuilder,
|
|
70
76
|
createRatingValidator,
|
|
71
77
|
createRelationValidator,
|
|
72
|
-
createRollupHooks,
|
|
73
78
|
createRollupValidator,
|
|
74
79
|
createSelectValidator,
|
|
75
80
|
createSingleRelationValidator,
|
|
@@ -97,6 +102,8 @@ import {
|
|
|
97
102
|
flow,
|
|
98
103
|
formatAttributeValue,
|
|
99
104
|
formatFormulaResult,
|
|
105
|
+
formatRecord,
|
|
106
|
+
formatRecords,
|
|
100
107
|
formula,
|
|
101
108
|
formulaConfigSchema,
|
|
102
109
|
generateId,
|
|
@@ -131,7 +138,6 @@ import {
|
|
|
131
138
|
phoneConfigSchema,
|
|
132
139
|
rating,
|
|
133
140
|
ratingConfigSchema,
|
|
134
|
-
registerAllRollupHooks,
|
|
135
141
|
registry,
|
|
136
142
|
relation,
|
|
137
143
|
relationConfigSchema,
|
|
@@ -168,7 +174,7 @@ import {
|
|
|
168
174
|
verifyNativeObjectsSync,
|
|
169
175
|
verifyNativeViewsSync,
|
|
170
176
|
view
|
|
171
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-F27AKBTL.mjs";
|
|
172
178
|
import {
|
|
173
179
|
ALL_SYSTEM_RESOURCES,
|
|
174
180
|
DEFAULT_ROLES,
|
|
@@ -303,6 +309,9 @@ function isSystemFlow(flow2) {
|
|
|
303
309
|
return flow2.system === true;
|
|
304
310
|
}
|
|
305
311
|
|
|
312
|
+
// src/types/inference.ts
|
|
313
|
+
var SYSTEM_FIELD_NAMES = ["id", "createdAt", "updatedAt"];
|
|
314
|
+
|
|
306
315
|
// src/types/views.ts
|
|
307
316
|
function isFormTab(tab) {
|
|
308
317
|
return tab.type === "form";
|
|
@@ -492,6 +501,9 @@ export {
|
|
|
492
501
|
PermissionService,
|
|
493
502
|
ProtectedResourceError,
|
|
494
503
|
ProtectedRoleError,
|
|
504
|
+
QueryBuilder,
|
|
505
|
+
QueryMultipleResultsError,
|
|
506
|
+
QueryNoResultError,
|
|
495
507
|
RecordNotFoundError,
|
|
496
508
|
RecordReferencedError,
|
|
497
509
|
RecordService,
|
|
@@ -500,6 +512,8 @@ export {
|
|
|
500
512
|
RoleNotFoundError,
|
|
501
513
|
RollupScheduler,
|
|
502
514
|
RollupService,
|
|
515
|
+
SHORTCUT_TO_FILTER_OPERATOR,
|
|
516
|
+
SYSTEM_FIELD_NAMES,
|
|
503
517
|
SYSTEM_RESOURCES,
|
|
504
518
|
SYSTEM_RESOURCE_LABELS,
|
|
505
519
|
SchemaError,
|
|
@@ -522,6 +536,7 @@ export {
|
|
|
522
536
|
createCheckboxValidator,
|
|
523
537
|
createCurrencyValidator,
|
|
524
538
|
createDateValidator,
|
|
539
|
+
createDefaultState,
|
|
525
540
|
createDraftValidator,
|
|
526
541
|
createFileValidator,
|
|
527
542
|
createFormulaValidator,
|
|
@@ -532,9 +547,9 @@ export {
|
|
|
532
547
|
createNumberValidator,
|
|
533
548
|
createObjectValidator,
|
|
534
549
|
createPhoneValidator,
|
|
550
|
+
createQueryBuilder,
|
|
535
551
|
createRatingValidator,
|
|
536
552
|
createRelationValidator,
|
|
537
|
-
createRollupHooks,
|
|
538
553
|
createRollupValidator,
|
|
539
554
|
createSelectValidator,
|
|
540
555
|
createSingleRelationValidator,
|
|
@@ -562,6 +577,8 @@ export {
|
|
|
562
577
|
flow,
|
|
563
578
|
formatAttributeValue,
|
|
564
579
|
formatFormulaResult,
|
|
580
|
+
formatRecord,
|
|
581
|
+
formatRecords,
|
|
565
582
|
formula,
|
|
566
583
|
formulaConfigSchema,
|
|
567
584
|
generateId,
|
|
@@ -606,7 +623,6 @@ export {
|
|
|
606
623
|
phoneConfigSchema,
|
|
607
624
|
rating,
|
|
608
625
|
ratingConfigSchema,
|
|
609
|
-
registerAllRollupHooks,
|
|
610
626
|
registry,
|
|
611
627
|
relation,
|
|
612
628
|
relationConfigSchema,
|