@plitzi/sdk-schema 0.37.1 → 0.37.3

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/index.mjs CHANGED
@@ -1,4 +1,5 @@
1
- import { assertSchemaValid as e, isSchemaValid as t, validateSchema as n } from "./helpers/schemaValidator.mjs";
2
- import r from "./helpers/FlatMap.mjs";
3
- import i, { SchemaActions as a } from "./SchemaReducer.mjs";
4
- export { r as FlatMap, a as SchemaActions, i as SchemaReducer, e as assertSchemaValid, t as isSchemaValid, n as validateSchema };
1
+ import { descendants as e, elementsByRoot as t, parentChain as n, renderContext as r, rootName as i } from "./helpers/elementTree.mjs";
2
+ import a from "./helpers/FlatMap.mjs";
3
+ import o, { SchemaActions as s } from "./SchemaReducer.mjs";
4
+ import { REFERENCE_ERROR_CODES as c, assertSchemaValid as l, isIntegrityError as u, isSchemaValid as d, validateSchema as f } from "./helpers/schemaValidator.mjs";
5
+ export { a as FlatMap, c as REFERENCE_ERROR_CODES, s as SchemaActions, o as SchemaReducer, l as assertSchemaValid, e as descendants, t as elementsByRoot, u as isIntegrityError, d as isSchemaValid, n as parentChain, r as renderContext, i as rootName, f as validateSchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-schema",
3
- "version": "0.37.1",
3
+ "version": "0.37.3",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist"
@@ -22,6 +22,10 @@
22
22
  "types": "./dist/helpers/elementId.d.ts",
23
23
  "import": "./dist/helpers/elementId.mjs"
24
24
  },
25
+ "./helpers/elementTree": {
26
+ "types": "./dist/helpers/elementTree.d.ts",
27
+ "import": "./dist/helpers/elementTree.mjs"
28
+ },
25
29
  "./helpers/schemaValidator": {
26
30
  "types": "./dist/helpers/schemaValidator.d.ts",
27
31
  "import": "./dist/helpers/schemaValidator.mjs"
@@ -48,15 +52,15 @@
48
52
  "build:prod": "vite build && node ../sdk-shared/scripts/generate-exports.mjs"
49
53
  },
50
54
  "dependencies": {
51
- "@plitzi/plitzi-ui": "^1.6.21",
52
- "@plitzi/sdk-shared": "0.37.1",
53
- "@plitzi/sdk-style": "0.37.1",
55
+ "@plitzi/plitzi-ui": "^1.6.24",
56
+ "@plitzi/sdk-shared": "0.37.3",
57
+ "@plitzi/sdk-style": "0.37.3",
54
58
  "prop-types": "^15.8.1"
55
59
  },
56
60
  "devDependencies": {
57
61
  "eslint": "^9.39.5",
58
62
  "typescript": "^6.0.3",
59
- "vite": "^8.3.0",
63
+ "vite": "^8.3.1",
60
64
  "vitest": "^5.0.1"
61
65
  }
62
66
  }