@stndrds/schema 0.1.0-alpha.18 → 0.1.0-alpha.20

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 (42) hide show
  1. package/dist/chunk-4SW4V3YU.mjs +8854 -0
  2. package/dist/chunk-7GSIXU67.mjs +8820 -0
  3. package/dist/chunk-BKOV4XVX.mjs +8816 -0
  4. package/dist/chunk-BQUYTOB3.mjs +8815 -0
  5. package/dist/chunk-BSAR4UKK.mjs +8851 -0
  6. package/dist/chunk-DPOXIK3M.mjs +8816 -0
  7. package/dist/chunk-DU2HLOQH.mjs +8813 -0
  8. package/dist/chunk-I4TTNDN7.mjs +8910 -0
  9. package/dist/chunk-JD2MVLTW.mjs +8814 -0
  10. package/dist/chunk-KDHA2N7D.mjs +8927 -0
  11. package/dist/chunk-MX4X4UEN.mjs +8854 -0
  12. package/dist/chunk-OJWVSONX.mjs +8900 -0
  13. package/dist/chunk-PMYSW54L.mjs +8855 -0
  14. package/dist/chunk-SD2UXOSF.mjs +8814 -0
  15. package/dist/chunk-Y5KIRAND.mjs +8916 -0
  16. package/dist/chunk-YLVZT3H4.mjs +8793 -0
  17. package/dist/chunk-ZU5SR355.mjs +8862 -0
  18. package/dist/index.d.mts +119 -6
  19. package/dist/index.d.ts +119 -6
  20. package/dist/index.js +1215 -11
  21. package/dist/index.mjs +83 -2
  22. package/dist/runtime-09fOm3VO.d.mts +6383 -0
  23. package/dist/runtime-09fOm3VO.d.ts +6383 -0
  24. package/dist/runtime-BMHqETm7.d.mts +6450 -0
  25. package/dist/runtime-BMHqETm7.d.ts +6450 -0
  26. package/dist/runtime-BpsaNQPs.d.mts +6397 -0
  27. package/dist/runtime-BpsaNQPs.d.ts +6397 -0
  28. package/dist/runtime-CHAkwiwa.d.mts +6450 -0
  29. package/dist/runtime-CHAkwiwa.d.ts +6450 -0
  30. package/dist/runtime-CPggQqoW.d.mts +6428 -0
  31. package/dist/runtime-CPggQqoW.d.ts +6428 -0
  32. package/dist/runtime-CfVfZtoq.d.mts +6437 -0
  33. package/dist/runtime-CfVfZtoq.d.ts +6437 -0
  34. package/dist/runtime-DSMMZRLE.d.mts +6430 -0
  35. package/dist/runtime-DSMMZRLE.d.ts +6430 -0
  36. package/dist/runtime-xtAfMn_f.d.mts +6436 -0
  37. package/dist/runtime-xtAfMn_f.d.ts +6436 -0
  38. package/dist/runtime.d.mts +1 -1
  39. package/dist/runtime.d.ts +1 -1
  40. package/dist/runtime.js +1075 -9
  41. package/dist/runtime.mjs +53 -1
  42. package/package.json +3 -2
package/dist/runtime.mjs CHANGED
@@ -5,29 +5,55 @@ 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,
19
24
  enrichValuesWithSelectLabels,
25
+ evaluateFormula,
26
+ evaluateFormulaAttribute,
27
+ evaluateFormulaAttributeWithRelations,
28
+ evaluateFormulaWithRelations,
29
+ evaluateFormulaWithResult,
20
30
  extractAttributeNames,
31
+ extractFormulaVariables,
32
+ extractRelationNames,
33
+ extractRelationReferences,
34
+ flattenRelationsForEval,
35
+ formatFormulaResult,
36
+ getPathDepth,
37
+ getRelationPath,
21
38
  getSyncPreview,
39
+ getTargetAttributeName,
22
40
  getViewSyncPreview,
41
+ hasRelationReferences,
23
42
  isLabelExpression,
43
+ parsePath,
44
+ pathHasManyCardinality,
24
45
  renderLabelExpression,
46
+ resolveMultiplePaths,
47
+ resolveSingleValue,
25
48
  syncAll,
26
49
  syncNativeObjects,
27
50
  syncNativeViews,
51
+ traversePath,
52
+ validateFormulaExpression,
53
+ validatePath,
28
54
  verifyNativeObjectsSync,
29
55
  verifyNativeViewsSync
30
- } from "./chunk-EWNSOD22.mjs";
56
+ } from "./chunk-ZU5SR355.mjs";
31
57
  export {
32
58
  AuditService,
33
59
  DEFAULT_LABEL_FALLBACK,
@@ -35,26 +61,52 @@ export {
35
61
  FlowService,
36
62
  GeocodingService,
37
63
  GlobalSearchService,
64
+ InvalidPathError,
65
+ MaxDepthExceededError,
38
66
  NoopGeocodingAdapter,
39
67
  NoopHookRegistry,
40
68
  ObjectSchemaService,
41
69
  PermissionService,
42
70
  RecordService,
71
+ RelationResolverService,
43
72
  RelationService,
73
+ RollupScheduler,
74
+ RollupService,
44
75
  UserProfileService,
45
76
  UserService,
46
77
  ViewService,
47
78
  buildAuditChanges,
48
79
  createMockAdapter,
49
80
  enrichValuesWithSelectLabels,
81
+ evaluateFormula,
82
+ evaluateFormulaAttribute,
83
+ evaluateFormulaAttributeWithRelations,
84
+ evaluateFormulaWithRelations,
85
+ evaluateFormulaWithResult,
50
86
  extractAttributeNames,
87
+ extractFormulaVariables,
88
+ extractRelationNames,
89
+ extractRelationReferences,
90
+ flattenRelationsForEval,
91
+ formatFormulaResult,
92
+ getPathDepth,
93
+ getRelationPath,
51
94
  getSyncPreview,
95
+ getTargetAttributeName,
52
96
  getViewSyncPreview,
97
+ hasRelationReferences,
53
98
  isLabelExpression,
99
+ parsePath,
100
+ pathHasManyCardinality,
54
101
  renderLabelExpression,
102
+ resolveMultiplePaths,
103
+ resolveSingleValue,
55
104
  syncAll,
56
105
  syncNativeObjects,
57
106
  syncNativeViews,
107
+ traversePath,
108
+ validateFormulaExpression,
109
+ validatePath,
58
110
  verifyNativeObjectsSync,
59
111
  verifyNativeViewsSync
60
112
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stndrds/schema",
3
- "version": "0.1.0-alpha.18",
3
+ "version": "0.1.0-alpha.20",
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.18"
26
+ "@stndrds/constants": "0.1.0-alpha.20"
26
27
  },
27
28
  "devDependencies": {
28
29
  "@vitest/coverage-v8": "^2.1.9",