@stndrds/schema 0.1.0-alpha.18 → 0.1.0-alpha.19
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-BKOV4XVX.mjs +8816 -0
- package/dist/chunk-DPOXIK3M.mjs +8816 -0
- package/dist/chunk-DU2HLOQH.mjs +8813 -0
- package/dist/chunk-JD2MVLTW.mjs +8814 -0
- package/dist/chunk-SD2UXOSF.mjs +8814 -0
- package/dist/chunk-YLVZT3H4.mjs +8793 -0
- package/dist/index.d.mts +114 -6
- package/dist/index.d.ts +114 -6
- package/dist/index.js +1169 -11
- package/dist/index.mjs +87 -2
- package/dist/runtime-CPggQqoW.d.mts +6428 -0
- package/dist/runtime-CPggQqoW.d.ts +6428 -0
- package/dist/runtime-DSMMZRLE.d.mts +6430 -0
- package/dist/runtime-DSMMZRLE.d.ts +6430 -0
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1037 -9
- package/dist/runtime.mjs +57 -1
- package/package.json +3 -2
package/dist/runtime.mjs
CHANGED
|
@@ -5,29 +5,57 @@ import {
|
|
|
5
5
|
FlowService,
|
|
6
6
|
GeocodingService,
|
|
7
7
|
GlobalSearchService,
|
|
8
|
+
InvalidPathError,
|
|
9
|
+
MaxDepthExceededError,
|
|
8
10
|
NoopGeocodingAdapter,
|
|
9
11
|
NoopHookRegistry,
|
|
10
12
|
ObjectSchemaService,
|
|
11
13
|
PermissionService,
|
|
12
14
|
RecordService,
|
|
15
|
+
RelationResolverService,
|
|
13
16
|
RelationService,
|
|
17
|
+
RollupScheduler,
|
|
18
|
+
RollupService,
|
|
14
19
|
UserProfileService,
|
|
15
20
|
UserService,
|
|
16
21
|
ViewService,
|
|
17
22
|
buildAuditChanges,
|
|
18
23
|
createMockAdapter,
|
|
24
|
+
createRollupHooks,
|
|
19
25
|
enrichValuesWithSelectLabels,
|
|
26
|
+
evaluateFormula,
|
|
27
|
+
evaluateFormulaAttribute,
|
|
28
|
+
evaluateFormulaAttributeWithRelations,
|
|
29
|
+
evaluateFormulaWithRelations,
|
|
30
|
+
evaluateFormulaWithResult,
|
|
20
31
|
extractAttributeNames,
|
|
32
|
+
extractFormulaVariables,
|
|
33
|
+
extractRelationNames,
|
|
34
|
+
extractRelationReferences,
|
|
35
|
+
flattenRelationsForEval,
|
|
36
|
+
formatFormulaResult,
|
|
37
|
+
getPathDepth,
|
|
38
|
+
getRelationPath,
|
|
21
39
|
getSyncPreview,
|
|
40
|
+
getTargetAttributeName,
|
|
22
41
|
getViewSyncPreview,
|
|
42
|
+
hasRelationReferences,
|
|
23
43
|
isLabelExpression,
|
|
44
|
+
parsePath,
|
|
45
|
+
pathHasManyCardinality,
|
|
46
|
+
registerAllRollupHooks,
|
|
24
47
|
renderLabelExpression,
|
|
48
|
+
resolveMultiplePaths,
|
|
49
|
+
resolveSingleValue,
|
|
25
50
|
syncAll,
|
|
26
51
|
syncNativeObjects,
|
|
27
52
|
syncNativeViews,
|
|
53
|
+
traversePath,
|
|
54
|
+
validateFormulaExpression,
|
|
55
|
+
validatePath,
|
|
28
56
|
verifyNativeObjectsSync,
|
|
29
57
|
verifyNativeViewsSync
|
|
30
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-JD2MVLTW.mjs";
|
|
31
59
|
export {
|
|
32
60
|
AuditService,
|
|
33
61
|
DEFAULT_LABEL_FALLBACK,
|
|
@@ -35,26 +63,54 @@ export {
|
|
|
35
63
|
FlowService,
|
|
36
64
|
GeocodingService,
|
|
37
65
|
GlobalSearchService,
|
|
66
|
+
InvalidPathError,
|
|
67
|
+
MaxDepthExceededError,
|
|
38
68
|
NoopGeocodingAdapter,
|
|
39
69
|
NoopHookRegistry,
|
|
40
70
|
ObjectSchemaService,
|
|
41
71
|
PermissionService,
|
|
42
72
|
RecordService,
|
|
73
|
+
RelationResolverService,
|
|
43
74
|
RelationService,
|
|
75
|
+
RollupScheduler,
|
|
76
|
+
RollupService,
|
|
44
77
|
UserProfileService,
|
|
45
78
|
UserService,
|
|
46
79
|
ViewService,
|
|
47
80
|
buildAuditChanges,
|
|
48
81
|
createMockAdapter,
|
|
82
|
+
createRollupHooks,
|
|
49
83
|
enrichValuesWithSelectLabels,
|
|
84
|
+
evaluateFormula,
|
|
85
|
+
evaluateFormulaAttribute,
|
|
86
|
+
evaluateFormulaAttributeWithRelations,
|
|
87
|
+
evaluateFormulaWithRelations,
|
|
88
|
+
evaluateFormulaWithResult,
|
|
50
89
|
extractAttributeNames,
|
|
90
|
+
extractFormulaVariables,
|
|
91
|
+
extractRelationNames,
|
|
92
|
+
extractRelationReferences,
|
|
93
|
+
flattenRelationsForEval,
|
|
94
|
+
formatFormulaResult,
|
|
95
|
+
getPathDepth,
|
|
96
|
+
getRelationPath,
|
|
51
97
|
getSyncPreview,
|
|
98
|
+
getTargetAttributeName,
|
|
52
99
|
getViewSyncPreview,
|
|
100
|
+
hasRelationReferences,
|
|
53
101
|
isLabelExpression,
|
|
102
|
+
parsePath,
|
|
103
|
+
pathHasManyCardinality,
|
|
104
|
+
registerAllRollupHooks,
|
|
54
105
|
renderLabelExpression,
|
|
106
|
+
resolveMultiplePaths,
|
|
107
|
+
resolveSingleValue,
|
|
55
108
|
syncAll,
|
|
56
109
|
syncNativeObjects,
|
|
57
110
|
syncNativeViews,
|
|
111
|
+
traversePath,
|
|
112
|
+
validateFormulaExpression,
|
|
113
|
+
validatePath,
|
|
58
114
|
verifyNativeObjectsSync,
|
|
59
115
|
verifyNativeViewsSync
|
|
60
116
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stndrds/schema",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.19",
|
|
4
4
|
"description": "Standard schema definitions and utilities",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
+
"expr-eval": "^2.0.2",
|
|
24
25
|
"zod": "^4.2.1",
|
|
25
|
-
"@stndrds/constants": "0.1.0-alpha.
|
|
26
|
+
"@stndrds/constants": "0.1.0-alpha.19"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"@vitest/coverage-v8": "^2.1.9",
|