@revisium/schema-toolkit 0.24.0 → 0.24.1

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.
@@ -267,7 +267,7 @@ var getDBJsonPathByJsonSchemaStore = (store) => {
267
267
  let path = "";
268
268
  while (node.parent) {
269
269
  if (node.parent.type === "object") {
270
- path = `.${node.name}${path}`;
270
+ path = `."${node.name}"${path}`;
271
271
  } else if (node.parent.type === "array") {
272
272
  path = `[*]${path}`;
273
273
  }
@@ -261,7 +261,7 @@ var getDBJsonPathByJsonSchemaStore = (store) => {
261
261
  let path = "";
262
262
  while (node.parent) {
263
263
  if (node.parent.type === "object") {
264
- path = `.${node.name}${path}`;
264
+ path = `."${node.name}"${path}`;
265
265
  } else if (node.parent.type === "array") {
266
266
  path = `[*]${path}`;
267
267
  }
package/dist/index.cjs CHANGED
@@ -7,7 +7,7 @@ var chunkRQBW7ATZ_cjs = require('./chunk-RQBW7ATZ.cjs');
7
7
  var chunkJHNATNUI_cjs = require('./chunk-JHNATNUI.cjs');
8
8
  var chunkPJ5OFCLO_cjs = require('./chunk-PJ5OFCLO.cjs');
9
9
  var chunk2PIMJSWJ_cjs = require('./chunk-2PIMJSWJ.cjs');
10
- var chunkOIPLFFMB_cjs = require('./chunk-OIPLFFMB.cjs');
10
+ var chunkCWALZIHX_cjs = require('./chunk-CWALZIHX.cjs');
11
11
  var chunkERW5XVED_cjs = require('./chunk-ERW5XVED.cjs');
12
12
  var chunkT3QQSHAC_cjs = require('./chunk-T3QQSHAC.cjs');
13
13
  var chunkFL6PWPVJ_cjs = require('./chunk-FL6PWPVJ.cjs');
@@ -521,155 +521,155 @@ Object.defineProperty(exports, "strFormula", {
521
521
  });
522
522
  Object.defineProperty(exports, "RevisiumValidator", {
523
523
  enumerable: true,
524
- get: function () { return chunkOIPLFFMB_cjs.RevisiumValidator; }
524
+ get: function () { return chunkCWALZIHX_cjs.RevisiumValidator; }
525
525
  });
526
526
  Object.defineProperty(exports, "SchemaTable", {
527
527
  enumerable: true,
528
- get: function () { return chunkOIPLFFMB_cjs.SchemaTable; }
528
+ get: function () { return chunkCWALZIHX_cjs.SchemaTable; }
529
529
  });
530
530
  Object.defineProperty(exports, "VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE", {
531
531
  enumerable: true,
532
- get: function () { return chunkOIPLFFMB_cjs.VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE; }
532
+ get: function () { return chunkCWALZIHX_cjs.VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE; }
533
533
  });
534
534
  Object.defineProperty(exports, "applyAddPatch", {
535
535
  enumerable: true,
536
- get: function () { return chunkOIPLFFMB_cjs.applyAddPatch; }
536
+ get: function () { return chunkCWALZIHX_cjs.applyAddPatch; }
537
537
  });
538
538
  Object.defineProperty(exports, "applyMovePatch", {
539
539
  enumerable: true,
540
- get: function () { return chunkOIPLFFMB_cjs.applyMovePatch; }
540
+ get: function () { return chunkCWALZIHX_cjs.applyMovePatch; }
541
541
  });
542
542
  Object.defineProperty(exports, "applyRemovePatch", {
543
543
  enumerable: true,
544
- get: function () { return chunkOIPLFFMB_cjs.applyRemovePatch; }
544
+ get: function () { return chunkCWALZIHX_cjs.applyRemovePatch; }
545
545
  });
546
546
  Object.defineProperty(exports, "applyReplacePatch", {
547
547
  enumerable: true,
548
- get: function () { return chunkOIPLFFMB_cjs.applyReplacePatch; }
548
+ get: function () { return chunkCWALZIHX_cjs.applyReplacePatch; }
549
549
  });
550
550
  Object.defineProperty(exports, "calculateDataWeight", {
551
551
  enumerable: true,
552
- get: function () { return chunkOIPLFFMB_cjs.calculateDataWeight; }
552
+ get: function () { return chunkCWALZIHX_cjs.calculateDataWeight; }
553
553
  });
554
554
  Object.defineProperty(exports, "calculateDataWeightFromStore", {
555
555
  enumerable: true,
556
- get: function () { return chunkOIPLFFMB_cjs.calculateDataWeightFromStore; }
556
+ get: function () { return chunkCWALZIHX_cjs.calculateDataWeightFromStore; }
557
557
  });
558
558
  Object.defineProperty(exports, "calculateSchemaWeight", {
559
559
  enumerable: true,
560
- get: function () { return chunkOIPLFFMB_cjs.calculateSchemaWeight; }
560
+ get: function () { return chunkCWALZIHX_cjs.calculateSchemaWeight; }
561
561
  });
562
562
  Object.defineProperty(exports, "convertJsonPathToSchemaPath", {
563
563
  enumerable: true,
564
- get: function () { return chunkOIPLFFMB_cjs.convertJsonPathToSchemaPath; }
564
+ get: function () { return chunkCWALZIHX_cjs.convertJsonPathToSchemaPath; }
565
565
  });
566
566
  Object.defineProperty(exports, "convertSchemaPathToJsonPath", {
567
567
  enumerable: true,
568
- get: function () { return chunkOIPLFFMB_cjs.convertSchemaPathToJsonPath; }
568
+ get: function () { return chunkCWALZIHX_cjs.convertSchemaPathToJsonPath; }
569
569
  });
570
570
  Object.defineProperty(exports, "createJsonObjectSchemaStore", {
571
571
  enumerable: true,
572
- get: function () { return chunkOIPLFFMB_cjs.createJsonObjectSchemaStore; }
572
+ get: function () { return chunkCWALZIHX_cjs.createJsonObjectSchemaStore; }
573
573
  });
574
574
  Object.defineProperty(exports, "createJsonSchemaStore", {
575
575
  enumerable: true,
576
- get: function () { return chunkOIPLFFMB_cjs.createJsonSchemaStore; }
576
+ get: function () { return chunkCWALZIHX_cjs.createJsonSchemaStore; }
577
577
  });
578
578
  Object.defineProperty(exports, "createPrimitiveStoreBySchema", {
579
579
  enumerable: true,
580
- get: function () { return chunkOIPLFFMB_cjs.createPrimitiveStoreBySchema; }
580
+ get: function () { return chunkCWALZIHX_cjs.createPrimitiveStoreBySchema; }
581
581
  });
582
582
  Object.defineProperty(exports, "deepEqual", {
583
583
  enumerable: true,
584
- get: function () { return chunkOIPLFFMB_cjs.deepEqual; }
584
+ get: function () { return chunkCWALZIHX_cjs.deepEqual; }
585
585
  });
586
586
  Object.defineProperty(exports, "getDBJsonPathByJsonSchemaStore", {
587
587
  enumerable: true,
588
- get: function () { return chunkOIPLFFMB_cjs.getDBJsonPathByJsonSchemaStore; }
588
+ get: function () { return chunkCWALZIHX_cjs.getDBJsonPathByJsonSchemaStore; }
589
589
  });
590
590
  Object.defineProperty(exports, "getForeignKeyPatchesFromSchema", {
591
591
  enumerable: true,
592
- get: function () { return chunkOIPLFFMB_cjs.getForeignKeyPatchesFromSchema; }
592
+ get: function () { return chunkCWALZIHX_cjs.getForeignKeyPatchesFromSchema; }
593
593
  });
594
594
  Object.defineProperty(exports, "getForeignKeysFromSchema", {
595
595
  enumerable: true,
596
- get: function () { return chunkOIPLFFMB_cjs.getForeignKeysFromSchema; }
596
+ get: function () { return chunkCWALZIHX_cjs.getForeignKeysFromSchema; }
597
597
  });
598
598
  Object.defineProperty(exports, "getForeignKeysFromValue", {
599
599
  enumerable: true,
600
- get: function () { return chunkOIPLFFMB_cjs.getForeignKeysFromValue; }
600
+ get: function () { return chunkCWALZIHX_cjs.getForeignKeysFromValue; }
601
601
  });
602
602
  Object.defineProperty(exports, "getInvalidFieldNamesInSchema", {
603
603
  enumerable: true,
604
- get: function () { return chunkOIPLFFMB_cjs.getInvalidFieldNamesInSchema; }
604
+ get: function () { return chunkCWALZIHX_cjs.getInvalidFieldNamesInSchema; }
605
605
  });
606
606
  Object.defineProperty(exports, "getJsonSchemaStoreByPath", {
607
607
  enumerable: true,
608
- get: function () { return chunkOIPLFFMB_cjs.getJsonSchemaStoreByPath; }
608
+ get: function () { return chunkCWALZIHX_cjs.getJsonSchemaStoreByPath; }
609
609
  });
610
610
  Object.defineProperty(exports, "getJsonValueStoreByPath", {
611
611
  enumerable: true,
612
- get: function () { return chunkOIPLFFMB_cjs.getJsonValueStoreByPath; }
612
+ get: function () { return chunkCWALZIHX_cjs.getJsonValueStoreByPath; }
613
613
  });
614
614
  Object.defineProperty(exports, "getParentForPath", {
615
615
  enumerable: true,
616
- get: function () { return chunkOIPLFFMB_cjs.getParentForPath; }
616
+ get: function () { return chunkCWALZIHX_cjs.getParentForPath; }
617
617
  });
618
618
  Object.defineProperty(exports, "getPathByStore", {
619
619
  enumerable: true,
620
- get: function () { return chunkOIPLFFMB_cjs.getPathByStore; }
620
+ get: function () { return chunkCWALZIHX_cjs.getPathByStore; }
621
621
  });
622
622
  Object.defineProperty(exports, "getValueByPath", {
623
623
  enumerable: true,
624
- get: function () { return chunkOIPLFFMB_cjs.getValueByPath; }
624
+ get: function () { return chunkCWALZIHX_cjs.getValueByPath; }
625
625
  });
626
626
  Object.defineProperty(exports, "hasPath", {
627
627
  enumerable: true,
628
- get: function () { return chunkOIPLFFMB_cjs.hasPath; }
628
+ get: function () { return chunkCWALZIHX_cjs.hasPath; }
629
629
  });
630
630
  Object.defineProperty(exports, "parsePath", {
631
631
  enumerable: true,
632
- get: function () { return chunkOIPLFFMB_cjs.parsePath; }
632
+ get: function () { return chunkCWALZIHX_cjs.parsePath; }
633
633
  });
634
634
  Object.defineProperty(exports, "pluginRefs", {
635
635
  enumerable: true,
636
- get: function () { return chunkOIPLFFMB_cjs.pluginRefs; }
636
+ get: function () { return chunkCWALZIHX_cjs.pluginRefs; }
637
637
  });
638
638
  Object.defineProperty(exports, "replaceForeignKeyValue", {
639
639
  enumerable: true,
640
- get: function () { return chunkOIPLFFMB_cjs.replaceForeignKeyValue; }
640
+ get: function () { return chunkCWALZIHX_cjs.replaceForeignKeyValue; }
641
641
  });
642
642
  Object.defineProperty(exports, "resolveRefs", {
643
643
  enumerable: true,
644
- get: function () { return chunkOIPLFFMB_cjs.resolveRefs; }
644
+ get: function () { return chunkCWALZIHX_cjs.resolveRefs; }
645
645
  });
646
646
  Object.defineProperty(exports, "saveSharedFields", {
647
647
  enumerable: true,
648
- get: function () { return chunkOIPLFFMB_cjs.saveSharedFields; }
648
+ get: function () { return chunkCWALZIHX_cjs.saveSharedFields; }
649
649
  });
650
650
  Object.defineProperty(exports, "setValueByPath", {
651
651
  enumerable: true,
652
- get: function () { return chunkOIPLFFMB_cjs.setValueByPath; }
652
+ get: function () { return chunkCWALZIHX_cjs.setValueByPath; }
653
653
  });
654
654
  Object.defineProperty(exports, "sortTablesByDependencies", {
655
655
  enumerable: true,
656
- get: function () { return chunkOIPLFFMB_cjs.sortTablesByDependencies; }
656
+ get: function () { return chunkCWALZIHX_cjs.sortTablesByDependencies; }
657
657
  });
658
658
  Object.defineProperty(exports, "traverseStore", {
659
659
  enumerable: true,
660
- get: function () { return chunkOIPLFFMB_cjs.traverseStore; }
660
+ get: function () { return chunkCWALZIHX_cjs.traverseStore; }
661
661
  });
662
662
  Object.defineProperty(exports, "traverseValue", {
663
663
  enumerable: true,
664
- get: function () { return chunkOIPLFFMB_cjs.traverseValue; }
664
+ get: function () { return chunkCWALZIHX_cjs.traverseValue; }
665
665
  });
666
666
  Object.defineProperty(exports, "validateJsonFieldName", {
667
667
  enumerable: true,
668
- get: function () { return chunkOIPLFFMB_cjs.validateJsonFieldName; }
668
+ get: function () { return chunkCWALZIHX_cjs.validateJsonFieldName; }
669
669
  });
670
670
  Object.defineProperty(exports, "validateRevisiumSchema", {
671
671
  enumerable: true,
672
- get: function () { return chunkOIPLFFMB_cjs.validateRevisiumSchema; }
672
+ get: function () { return chunkCWALZIHX_cjs.validateRevisiumSchema; }
673
673
  });
674
674
  Object.defineProperty(exports, "collectFormulaNodes", {
675
675
  enumerable: true,
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ export { CustomSchemeKeywords } from './chunk-WE4OLW5U.js';
5
5
  export { ArrayToItemsTypeTransformer, ArrayValueNode, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, DataModelImpl, DefaultTransformer, ForeignKeyNotFoundError, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, ForeignKeyValueNodeImpl, FormulaChangeDetector, FormulaDependencyIndex, FormulaPath, NodeFactory, NodeFactoryRegistry, NumberValueNode, ObjectToArrayTransformer, ObjectValueNode, ParsedFormula, PrimitiveToArrayTransformer, RefTransformer, RowModelImpl, SchemaParser, StringValueNode, TableModelImpl, TypeTransformChain, NodeFactory2 as ValueNodeFactory, ValueTree, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, createRowModel, createSchemaModel, createTableModel, createTypeTransformChain, createTypedTree, extractFormulaDefinition, generateDefaultValue, generateNodeId, isForeignKeyValueNode, resetNodeIdCounter, typedNode } from './chunk-B3W5BASK.js';
6
6
  export { ChangeCoalescer, ChangeCollector, CompositeRule, EMPTY_METADATA, EMPTY_PATH, EnumValidator, FIELD_NAME_ERROR_MESSAGE, ForeignKeyValidator, FormulaPathBuilder, FormulaSerializer, ItemsSegment, MaxLengthValidator, MaximumValidator, MinLengthValidator, MinimumValidator, NULL_NODE, NodePathIndex, PatchBuilder, PatchEnricher, PatchGenerator, PatternValidator, PropertySegment, RequiredValidator, ResolvedDependency, SchemaDiff, SchemaPropertyRule, SchemaSerializer, SchemaTruthyRule, ValidationEngine, ValidatorRegistry, ValidatorResolver, areNodesContentEqual, areNodesEqual, coalesceChanges, collectChanges, createArrayNode, createBooleanNode, createDefaultValidatorRegistry, createMobxProvider, createNumberNode, createObjectNode, createPath, createRefNode, createSchemaTree, createStringNode, createValidationEngine, isValidFieldName, jsonPointerToPath, jsonPointerToSegments, jsonPointerToSimplePath, makeAutoObservable, makeObservable, observable, reaction, resetReactivityProvider, runInAction, setReactivityProvider, validateFormulas, validateSchema } from './chunk-2GZ3M3RV.js';
7
7
  export { arr, bool, boolFormula, getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema, num, numFormula, obj, ref, str, strFormula } from './chunk-IZMBM36H.js';
8
- export { RevisiumValidator, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, calculateDataWeight, calculateDataWeightFromStore, calculateSchemaWeight, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonObjectSchemaStore, createJsonSchemaStore, createPrimitiveStoreBySchema, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, sortTablesByDependencies, traverseStore, traverseValue, validateJsonFieldName, validateRevisiumSchema } from './chunk-ISCEWIDC.js';
8
+ export { RevisiumValidator, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, calculateDataWeight, calculateDataWeightFromStore, calculateSchemaWeight, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonObjectSchemaStore, createJsonSchemaStore, createPrimitiveStoreBySchema, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, sortTablesByDependencies, traverseStore, traverseValue, validateJsonFieldName, validateRevisiumSchema } from './chunk-HLNALHHO.js';
9
9
  export { collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, formulaSpec, validateFormulaAgainstSchema, validateSchemaFormulas } from './chunk-GJM63Q4K.js';
10
10
  export { computeValueDiff } from './chunk-7PEC6ZYY.js';
11
11
  export { FieldChangeType } from './chunk-ZPRBA4AQ.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkOIPLFFMB_cjs = require('../chunk-OIPLFFMB.cjs');
3
+ var chunkCWALZIHX_cjs = require('../chunk-CWALZIHX.cjs');
4
4
  var chunkERW5XVED_cjs = require('../chunk-ERW5XVED.cjs');
5
5
  var chunkT3QQSHAC_cjs = require('../chunk-T3QQSHAC.cjs');
6
6
  require('../chunk-FL6PWPVJ.cjs');
@@ -13,155 +13,155 @@ require('../chunk-C3HDJOTY.cjs');
13
13
 
14
14
  Object.defineProperty(exports, "RevisiumValidator", {
15
15
  enumerable: true,
16
- get: function () { return chunkOIPLFFMB_cjs.RevisiumValidator; }
16
+ get: function () { return chunkCWALZIHX_cjs.RevisiumValidator; }
17
17
  });
18
18
  Object.defineProperty(exports, "SchemaTable", {
19
19
  enumerable: true,
20
- get: function () { return chunkOIPLFFMB_cjs.SchemaTable; }
20
+ get: function () { return chunkCWALZIHX_cjs.SchemaTable; }
21
21
  });
22
22
  Object.defineProperty(exports, "VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE", {
23
23
  enumerable: true,
24
- get: function () { return chunkOIPLFFMB_cjs.VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE; }
24
+ get: function () { return chunkCWALZIHX_cjs.VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE; }
25
25
  });
26
26
  Object.defineProperty(exports, "applyAddPatch", {
27
27
  enumerable: true,
28
- get: function () { return chunkOIPLFFMB_cjs.applyAddPatch; }
28
+ get: function () { return chunkCWALZIHX_cjs.applyAddPatch; }
29
29
  });
30
30
  Object.defineProperty(exports, "applyMovePatch", {
31
31
  enumerable: true,
32
- get: function () { return chunkOIPLFFMB_cjs.applyMovePatch; }
32
+ get: function () { return chunkCWALZIHX_cjs.applyMovePatch; }
33
33
  });
34
34
  Object.defineProperty(exports, "applyRemovePatch", {
35
35
  enumerable: true,
36
- get: function () { return chunkOIPLFFMB_cjs.applyRemovePatch; }
36
+ get: function () { return chunkCWALZIHX_cjs.applyRemovePatch; }
37
37
  });
38
38
  Object.defineProperty(exports, "applyReplacePatch", {
39
39
  enumerable: true,
40
- get: function () { return chunkOIPLFFMB_cjs.applyReplacePatch; }
40
+ get: function () { return chunkCWALZIHX_cjs.applyReplacePatch; }
41
41
  });
42
42
  Object.defineProperty(exports, "calculateDataWeight", {
43
43
  enumerable: true,
44
- get: function () { return chunkOIPLFFMB_cjs.calculateDataWeight; }
44
+ get: function () { return chunkCWALZIHX_cjs.calculateDataWeight; }
45
45
  });
46
46
  Object.defineProperty(exports, "calculateDataWeightFromStore", {
47
47
  enumerable: true,
48
- get: function () { return chunkOIPLFFMB_cjs.calculateDataWeightFromStore; }
48
+ get: function () { return chunkCWALZIHX_cjs.calculateDataWeightFromStore; }
49
49
  });
50
50
  Object.defineProperty(exports, "calculateSchemaWeight", {
51
51
  enumerable: true,
52
- get: function () { return chunkOIPLFFMB_cjs.calculateSchemaWeight; }
52
+ get: function () { return chunkCWALZIHX_cjs.calculateSchemaWeight; }
53
53
  });
54
54
  Object.defineProperty(exports, "convertJsonPathToSchemaPath", {
55
55
  enumerable: true,
56
- get: function () { return chunkOIPLFFMB_cjs.convertJsonPathToSchemaPath; }
56
+ get: function () { return chunkCWALZIHX_cjs.convertJsonPathToSchemaPath; }
57
57
  });
58
58
  Object.defineProperty(exports, "convertSchemaPathToJsonPath", {
59
59
  enumerable: true,
60
- get: function () { return chunkOIPLFFMB_cjs.convertSchemaPathToJsonPath; }
60
+ get: function () { return chunkCWALZIHX_cjs.convertSchemaPathToJsonPath; }
61
61
  });
62
62
  Object.defineProperty(exports, "createJsonObjectSchemaStore", {
63
63
  enumerable: true,
64
- get: function () { return chunkOIPLFFMB_cjs.createJsonObjectSchemaStore; }
64
+ get: function () { return chunkCWALZIHX_cjs.createJsonObjectSchemaStore; }
65
65
  });
66
66
  Object.defineProperty(exports, "createJsonSchemaStore", {
67
67
  enumerable: true,
68
- get: function () { return chunkOIPLFFMB_cjs.createJsonSchemaStore; }
68
+ get: function () { return chunkCWALZIHX_cjs.createJsonSchemaStore; }
69
69
  });
70
70
  Object.defineProperty(exports, "createPrimitiveStoreBySchema", {
71
71
  enumerable: true,
72
- get: function () { return chunkOIPLFFMB_cjs.createPrimitiveStoreBySchema; }
72
+ get: function () { return chunkCWALZIHX_cjs.createPrimitiveStoreBySchema; }
73
73
  });
74
74
  Object.defineProperty(exports, "deepEqual", {
75
75
  enumerable: true,
76
- get: function () { return chunkOIPLFFMB_cjs.deepEqual; }
76
+ get: function () { return chunkCWALZIHX_cjs.deepEqual; }
77
77
  });
78
78
  Object.defineProperty(exports, "getDBJsonPathByJsonSchemaStore", {
79
79
  enumerable: true,
80
- get: function () { return chunkOIPLFFMB_cjs.getDBJsonPathByJsonSchemaStore; }
80
+ get: function () { return chunkCWALZIHX_cjs.getDBJsonPathByJsonSchemaStore; }
81
81
  });
82
82
  Object.defineProperty(exports, "getForeignKeyPatchesFromSchema", {
83
83
  enumerable: true,
84
- get: function () { return chunkOIPLFFMB_cjs.getForeignKeyPatchesFromSchema; }
84
+ get: function () { return chunkCWALZIHX_cjs.getForeignKeyPatchesFromSchema; }
85
85
  });
86
86
  Object.defineProperty(exports, "getForeignKeysFromSchema", {
87
87
  enumerable: true,
88
- get: function () { return chunkOIPLFFMB_cjs.getForeignKeysFromSchema; }
88
+ get: function () { return chunkCWALZIHX_cjs.getForeignKeysFromSchema; }
89
89
  });
90
90
  Object.defineProperty(exports, "getForeignKeysFromValue", {
91
91
  enumerable: true,
92
- get: function () { return chunkOIPLFFMB_cjs.getForeignKeysFromValue; }
92
+ get: function () { return chunkCWALZIHX_cjs.getForeignKeysFromValue; }
93
93
  });
94
94
  Object.defineProperty(exports, "getInvalidFieldNamesInSchema", {
95
95
  enumerable: true,
96
- get: function () { return chunkOIPLFFMB_cjs.getInvalidFieldNamesInSchema; }
96
+ get: function () { return chunkCWALZIHX_cjs.getInvalidFieldNamesInSchema; }
97
97
  });
98
98
  Object.defineProperty(exports, "getJsonSchemaStoreByPath", {
99
99
  enumerable: true,
100
- get: function () { return chunkOIPLFFMB_cjs.getJsonSchemaStoreByPath; }
100
+ get: function () { return chunkCWALZIHX_cjs.getJsonSchemaStoreByPath; }
101
101
  });
102
102
  Object.defineProperty(exports, "getJsonValueStoreByPath", {
103
103
  enumerable: true,
104
- get: function () { return chunkOIPLFFMB_cjs.getJsonValueStoreByPath; }
104
+ get: function () { return chunkCWALZIHX_cjs.getJsonValueStoreByPath; }
105
105
  });
106
106
  Object.defineProperty(exports, "getParentForPath", {
107
107
  enumerable: true,
108
- get: function () { return chunkOIPLFFMB_cjs.getParentForPath; }
108
+ get: function () { return chunkCWALZIHX_cjs.getParentForPath; }
109
109
  });
110
110
  Object.defineProperty(exports, "getPathByStore", {
111
111
  enumerable: true,
112
- get: function () { return chunkOIPLFFMB_cjs.getPathByStore; }
112
+ get: function () { return chunkCWALZIHX_cjs.getPathByStore; }
113
113
  });
114
114
  Object.defineProperty(exports, "getValueByPath", {
115
115
  enumerable: true,
116
- get: function () { return chunkOIPLFFMB_cjs.getValueByPath; }
116
+ get: function () { return chunkCWALZIHX_cjs.getValueByPath; }
117
117
  });
118
118
  Object.defineProperty(exports, "hasPath", {
119
119
  enumerable: true,
120
- get: function () { return chunkOIPLFFMB_cjs.hasPath; }
120
+ get: function () { return chunkCWALZIHX_cjs.hasPath; }
121
121
  });
122
122
  Object.defineProperty(exports, "parsePath", {
123
123
  enumerable: true,
124
- get: function () { return chunkOIPLFFMB_cjs.parsePath; }
124
+ get: function () { return chunkCWALZIHX_cjs.parsePath; }
125
125
  });
126
126
  Object.defineProperty(exports, "pluginRefs", {
127
127
  enumerable: true,
128
- get: function () { return chunkOIPLFFMB_cjs.pluginRefs; }
128
+ get: function () { return chunkCWALZIHX_cjs.pluginRefs; }
129
129
  });
130
130
  Object.defineProperty(exports, "replaceForeignKeyValue", {
131
131
  enumerable: true,
132
- get: function () { return chunkOIPLFFMB_cjs.replaceForeignKeyValue; }
132
+ get: function () { return chunkCWALZIHX_cjs.replaceForeignKeyValue; }
133
133
  });
134
134
  Object.defineProperty(exports, "resolveRefs", {
135
135
  enumerable: true,
136
- get: function () { return chunkOIPLFFMB_cjs.resolveRefs; }
136
+ get: function () { return chunkCWALZIHX_cjs.resolveRefs; }
137
137
  });
138
138
  Object.defineProperty(exports, "saveSharedFields", {
139
139
  enumerable: true,
140
- get: function () { return chunkOIPLFFMB_cjs.saveSharedFields; }
140
+ get: function () { return chunkCWALZIHX_cjs.saveSharedFields; }
141
141
  });
142
142
  Object.defineProperty(exports, "setValueByPath", {
143
143
  enumerable: true,
144
- get: function () { return chunkOIPLFFMB_cjs.setValueByPath; }
144
+ get: function () { return chunkCWALZIHX_cjs.setValueByPath; }
145
145
  });
146
146
  Object.defineProperty(exports, "sortTablesByDependencies", {
147
147
  enumerable: true,
148
- get: function () { return chunkOIPLFFMB_cjs.sortTablesByDependencies; }
148
+ get: function () { return chunkCWALZIHX_cjs.sortTablesByDependencies; }
149
149
  });
150
150
  Object.defineProperty(exports, "traverseStore", {
151
151
  enumerable: true,
152
- get: function () { return chunkOIPLFFMB_cjs.traverseStore; }
152
+ get: function () { return chunkCWALZIHX_cjs.traverseStore; }
153
153
  });
154
154
  Object.defineProperty(exports, "traverseValue", {
155
155
  enumerable: true,
156
- get: function () { return chunkOIPLFFMB_cjs.traverseValue; }
156
+ get: function () { return chunkCWALZIHX_cjs.traverseValue; }
157
157
  });
158
158
  Object.defineProperty(exports, "validateJsonFieldName", {
159
159
  enumerable: true,
160
- get: function () { return chunkOIPLFFMB_cjs.validateJsonFieldName; }
160
+ get: function () { return chunkCWALZIHX_cjs.validateJsonFieldName; }
161
161
  });
162
162
  Object.defineProperty(exports, "validateRevisiumSchema", {
163
163
  enumerable: true,
164
- get: function () { return chunkOIPLFFMB_cjs.validateRevisiumSchema; }
164
+ get: function () { return chunkCWALZIHX_cjs.validateRevisiumSchema; }
165
165
  });
166
166
  Object.defineProperty(exports, "collectFormulaNodes", {
167
167
  enumerable: true,
package/dist/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { RevisiumValidator, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, calculateDataWeight, calculateDataWeightFromStore, calculateSchemaWeight, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonObjectSchemaStore, createJsonSchemaStore, createPrimitiveStoreBySchema, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, sortTablesByDependencies, traverseStore, traverseValue, validateJsonFieldName, validateRevisiumSchema } from '../chunk-ISCEWIDC.js';
1
+ export { RevisiumValidator, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, calculateDataWeight, calculateDataWeightFromStore, calculateSchemaWeight, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonObjectSchemaStore, createJsonSchemaStore, createPrimitiveStoreBySchema, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, sortTablesByDependencies, traverseStore, traverseValue, validateJsonFieldName, validateRevisiumSchema } from '../chunk-HLNALHHO.js';
2
2
  export { collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, formulaSpec, validateFormulaAgainstSchema, validateSchemaFormulas } from '../chunk-GJM63Q4K.js';
3
3
  export { computeValueDiff } from '../chunk-7PEC6ZYY.js';
4
4
  import '../chunk-ZPRBA4AQ.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revisium/schema-toolkit",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "description": "Universal schema toolkit with TypeScript types and utilities for JSON Schema manipulation",
5
5
  "keywords": [
6
6
  "json-schema",