@stndrds/schema 0.1.0-alpha.17 → 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.
Files changed (39) hide show
  1. package/dist/chunk-2PBQNUTS.mjs +7400 -0
  2. package/dist/chunk-4D476S25.mjs +7713 -0
  3. package/dist/chunk-BKOV4XVX.mjs +8816 -0
  4. package/dist/chunk-CWPOGEK2.mjs +7707 -0
  5. package/dist/chunk-DPOXIK3M.mjs +8816 -0
  6. package/dist/chunk-DU2HLOQH.mjs +8813 -0
  7. package/dist/chunk-EWNSOD22.mjs +7707 -0
  8. package/dist/chunk-JD2MVLTW.mjs +8814 -0
  9. package/dist/chunk-KZSM5546.mjs +7706 -0
  10. package/dist/chunk-L7AQ7SZC.mjs +7432 -0
  11. package/dist/chunk-LZW2MI43.mjs +7404 -0
  12. package/dist/chunk-SD2UXOSF.mjs +8814 -0
  13. package/dist/chunk-V5QXU2OK.mjs +82 -0
  14. package/dist/chunk-XMGMXAHW.mjs +7706 -0
  15. package/dist/chunk-YLVZT3H4.mjs +8793 -0
  16. package/dist/default-roles-AKWIWTLE.mjs +20 -0
  17. package/dist/index.d.mts +127 -8
  18. package/dist/index.d.ts +127 -8
  19. package/dist/index.js +1787 -182
  20. package/dist/index.mjs +90 -3
  21. package/dist/runtime-CPggQqoW.d.mts +6428 -0
  22. package/dist/runtime-CPggQqoW.d.ts +6428 -0
  23. package/dist/runtime-DSMMZRLE.d.mts +6430 -0
  24. package/dist/runtime-DSMMZRLE.d.ts +6430 -0
  25. package/dist/runtime-DWhSpnn4.d.mts +5256 -0
  26. package/dist/runtime-DWhSpnn4.d.ts +5256 -0
  27. package/dist/runtime-Dw2exb5q.d.mts +5601 -0
  28. package/dist/runtime-Dw2exb5q.d.ts +5601 -0
  29. package/dist/runtime-DySuNV6Y.d.mts +5245 -0
  30. package/dist/runtime-DySuNV6Y.d.ts +5245 -0
  31. package/dist/runtime-DzdsFCyL.d.mts +5601 -0
  32. package/dist/runtime-DzdsFCyL.d.ts +5601 -0
  33. package/dist/runtime-uXhTgSIx.d.mts +5260 -0
  34. package/dist/runtime-uXhTgSIx.d.ts +5260 -0
  35. package/dist/runtime.d.mts +1 -1
  36. package/dist/runtime.d.ts +1 -1
  37. package/dist/runtime.js +1520 -59
  38. package/dist/runtime.mjs +59 -1
  39. package/package.json +4 -3
package/dist/runtime.mjs CHANGED
@@ -5,28 +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,
20
+ UserService,
15
21
  ViewService,
16
22
  buildAuditChanges,
17
23
  createMockAdapter,
24
+ createRollupHooks,
18
25
  enrichValuesWithSelectLabels,
26
+ evaluateFormula,
27
+ evaluateFormulaAttribute,
28
+ evaluateFormulaAttributeWithRelations,
29
+ evaluateFormulaWithRelations,
30
+ evaluateFormulaWithResult,
19
31
  extractAttributeNames,
32
+ extractFormulaVariables,
33
+ extractRelationNames,
34
+ extractRelationReferences,
35
+ flattenRelationsForEval,
36
+ formatFormulaResult,
37
+ getPathDepth,
38
+ getRelationPath,
20
39
  getSyncPreview,
40
+ getTargetAttributeName,
21
41
  getViewSyncPreview,
42
+ hasRelationReferences,
22
43
  isLabelExpression,
44
+ parsePath,
45
+ pathHasManyCardinality,
46
+ registerAllRollupHooks,
23
47
  renderLabelExpression,
48
+ resolveMultiplePaths,
49
+ resolveSingleValue,
24
50
  syncAll,
25
51
  syncNativeObjects,
26
52
  syncNativeViews,
53
+ traversePath,
54
+ validateFormulaExpression,
55
+ validatePath,
27
56
  verifyNativeObjectsSync,
28
57
  verifyNativeViewsSync
29
- } from "./chunk-PMJZPJDP.mjs";
58
+ } from "./chunk-JD2MVLTW.mjs";
30
59
  export {
31
60
  AuditService,
32
61
  DEFAULT_LABEL_FALLBACK,
@@ -34,25 +63,54 @@ export {
34
63
  FlowService,
35
64
  GeocodingService,
36
65
  GlobalSearchService,
66
+ InvalidPathError,
67
+ MaxDepthExceededError,
37
68
  NoopGeocodingAdapter,
38
69
  NoopHookRegistry,
39
70
  ObjectSchemaService,
40
71
  PermissionService,
41
72
  RecordService,
73
+ RelationResolverService,
42
74
  RelationService,
75
+ RollupScheduler,
76
+ RollupService,
43
77
  UserProfileService,
78
+ UserService,
44
79
  ViewService,
45
80
  buildAuditChanges,
46
81
  createMockAdapter,
82
+ createRollupHooks,
47
83
  enrichValuesWithSelectLabels,
84
+ evaluateFormula,
85
+ evaluateFormulaAttribute,
86
+ evaluateFormulaAttributeWithRelations,
87
+ evaluateFormulaWithRelations,
88
+ evaluateFormulaWithResult,
48
89
  extractAttributeNames,
90
+ extractFormulaVariables,
91
+ extractRelationNames,
92
+ extractRelationReferences,
93
+ flattenRelationsForEval,
94
+ formatFormulaResult,
95
+ getPathDepth,
96
+ getRelationPath,
49
97
  getSyncPreview,
98
+ getTargetAttributeName,
50
99
  getViewSyncPreview,
100
+ hasRelationReferences,
51
101
  isLabelExpression,
102
+ parsePath,
103
+ pathHasManyCardinality,
104
+ registerAllRollupHooks,
52
105
  renderLabelExpression,
106
+ resolveMultiplePaths,
107
+ resolveSingleValue,
53
108
  syncAll,
54
109
  syncNativeObjects,
55
110
  syncNativeViews,
111
+ traversePath,
112
+ validateFormulaExpression,
113
+ validatePath,
56
114
  verifyNativeObjectsSync,
57
115
  verifyNativeViewsSync
58
116
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stndrds/schema",
3
- "version": "0.1.0-alpha.17",
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.17"
26
+ "@stndrds/constants": "0.1.0-alpha.19"
26
27
  },
27
28
  "devDependencies": {
28
29
  "@vitest/coverage-v8": "^2.1.9",
@@ -50,7 +51,7 @@
50
51
  "build": "tsup src/index.ts src/runtime.ts --format cjs,esm --dts",
51
52
  "dev": "tsup src/index.ts src/runtime.ts --format cjs,esm --dts --watch",
52
53
  "lint": "biome check .",
53
- "test": "vitest",
54
+ "test": "vitest run",
54
55
  "test:ui": "vitest --ui",
55
56
  "test:coverage": "vitest --coverage",
56
57
  "clean": "rm -rf dist"