@plitzi/sdk-schema 0.37.8 → 0.37.9

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.d.ts CHANGED
@@ -2,6 +2,7 @@ import { default as FlatMap } from './helpers/FlatMap';
2
2
  import { default as SchemaReducer } from './SchemaReducer';
3
3
  export * from './SchemaReducer';
4
4
  export * from './helpers/FlatMap';
5
+ export * from './helpers/components';
5
6
  export * from './helpers/elementTree';
6
7
  export * from './helpers/schemaValidator';
7
8
  export { FlatMap, SchemaReducer };
package/dist/index.mjs CHANGED
@@ -1,5 +1,6 @@
1
1
  import { descendants as e, elementsByRoot as t, parentChain as n, renderContext as r, rootName as i } from "./helpers/elementTree.mjs";
2
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 };
3
+ import { RESERVED_PROP_NAMES as o, addComponent as s, componentNamed as c, detachInstance as l, documentIds as u, flatMapOf as d, instancesOf as f, isInstance as p, propNameProblem as m, removeComponent as h, renameElement as g, treeOf as _, treesOf as v, updateComponent as y } from "./helpers/components.mjs";
4
+ import b, { SchemaActions as x } from "./SchemaReducer.mjs";
5
+ import { REFERENCE_ERROR_CODES as S, assertSchemaValid as C, isIntegrityError as w, isSchemaValid as T, validateSchema as E } from "./helpers/schemaValidator.mjs";
6
+ export { a as FlatMap, S as REFERENCE_ERROR_CODES, o as RESERVED_PROP_NAMES, x as SchemaActions, b as SchemaReducer, s as addComponent, C as assertSchemaValid, c as componentNamed, e as descendants, l as detachInstance, u as documentIds, t as elementsByRoot, d as flatMapOf, f as instancesOf, p as isInstance, w as isIntegrityError, T as isSchemaValid, n as parentChain, m as propNameProblem, h as removeComponent, g as renameElement, r as renderContext, i as rootName, _ as treeOf, v as treesOf, y as updateComponent, E as validateSchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-schema",
3
- "version": "0.37.8",
3
+ "version": "0.37.9",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist"
@@ -18,6 +18,10 @@
18
18
  "types": "./dist/helpers/FlatMap.d.ts",
19
19
  "import": "./dist/helpers/FlatMap.mjs"
20
20
  },
21
+ "./helpers/components": {
22
+ "types": "./dist/helpers/components.d.ts",
23
+ "import": "./dist/helpers/components.mjs"
24
+ },
21
25
  "./helpers/elementId": {
22
26
  "types": "./dist/helpers/elementId.d.ts",
23
27
  "import": "./dist/helpers/elementId.mjs"
@@ -52,9 +56,9 @@
52
56
  "build:prod": "vite build && node ../sdk-shared/scripts/generate-exports.mjs"
53
57
  },
54
58
  "dependencies": {
55
- "@plitzi/plitzi-ui": "^1.6.24",
56
- "@plitzi/sdk-shared": "0.37.8",
57
- "@plitzi/sdk-style": "0.37.8",
59
+ "@plitzi/plitzi-ui": "^1.6.26",
60
+ "@plitzi/sdk-shared": "0.37.9",
61
+ "@plitzi/sdk-style": "0.37.9",
58
62
  "prop-types": "^15.8.1"
59
63
  },
60
64
  "devDependencies": {