@revisium/schema-toolkit 0.20.2 → 0.21.0

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 (96) hide show
  1. package/README.md +216 -0
  2. package/dist/FormulaPathBuilder-BUJRR0Am.d.cts +48 -0
  3. package/dist/FormulaPathBuilder-QR0htn-e.d.ts +48 -0
  4. package/dist/chunk-2NARA22J.js +3 -0
  5. package/dist/{chunk-NY3H6C7K.js.map → chunk-2NARA22J.js.map} +1 -1
  6. package/dist/{chunk-EGC32GPY.cjs → chunk-3DDUT57J.cjs} +21 -21
  7. package/dist/chunk-3DDUT57J.cjs.map +1 -0
  8. package/dist/{chunk-LLHQWDAR.js → chunk-62A5JJJ3.js} +21 -21
  9. package/dist/chunk-62A5JJJ3.js.map +1 -0
  10. package/dist/{chunk-R4CFU33U.js → chunk-BIBFHULN.js} +12 -9
  11. package/dist/chunk-BIBFHULN.js.map +1 -0
  12. package/dist/chunk-BZWL424W.cjs +4 -0
  13. package/dist/{chunk-G6ZKEVVU.cjs.map → chunk-BZWL424W.cjs.map} +1 -1
  14. package/dist/{chunk-J6SCHJKG.cjs → chunk-CGVYS7EK.cjs} +2 -2
  15. package/dist/chunk-CGVYS7EK.cjs.map +1 -0
  16. package/dist/{chunk-MPF6VCB5.js → chunk-DRPNJ4YP.js} +2 -2
  17. package/dist/chunk-DRPNJ4YP.js.map +1 -0
  18. package/dist/{chunk-FZ2MS4Q5.cjs → chunk-F4POD7AE.cjs} +149 -90
  19. package/dist/chunk-F4POD7AE.cjs.map +1 -0
  20. package/dist/{chunk-B3T6YB2D.cjs → chunk-HH2LDPVV.cjs} +30 -30
  21. package/dist/chunk-HH2LDPVV.cjs.map +1 -0
  22. package/dist/{chunk-46ME2TAU.cjs → chunk-JWYYVKRT.cjs} +7 -7
  23. package/dist/{chunk-46ME2TAU.cjs.map → chunk-JWYYVKRT.cjs.map} +1 -1
  24. package/dist/{chunk-U5YDA3LA.js → chunk-MK3IKVZO.js} +80 -24
  25. package/dist/chunk-MK3IKVZO.js.map +1 -0
  26. package/dist/{chunk-VGADCIBG.cjs → chunk-SBO2UMI3.cjs} +14 -8
  27. package/dist/chunk-SBO2UMI3.cjs.map +1 -0
  28. package/dist/{chunk-55AMH44G.js → chunk-TKMR6CQW.js} +30 -30
  29. package/dist/chunk-TKMR6CQW.js.map +1 -0
  30. package/dist/{chunk-3JZKQWQH.js → chunk-TMCRV6V5.js} +7 -7
  31. package/dist/{chunk-3JZKQWQH.js.map → chunk-TMCRV6V5.js.map} +1 -1
  32. package/dist/{chunk-QEV4Q4TR.js → chunk-UTSL45Q4.js} +32 -32
  33. package/dist/chunk-UTSL45Q4.js.map +1 -0
  34. package/dist/{chunk-V6JTSET2.cjs → chunk-Z7M4ZGC6.cjs} +51 -51
  35. package/dist/chunk-Z7M4ZGC6.cjs.map +1 -0
  36. package/dist/core/index.cjs +60 -62
  37. package/dist/core/index.d.cts +6 -4
  38. package/dist/core/index.d.ts +6 -4
  39. package/dist/core/index.js +1 -3
  40. package/dist/formula/index.d.cts +1 -1
  41. package/dist/formula/index.d.ts +1 -1
  42. package/dist/index.cjs +237 -214
  43. package/dist/index.d.cts +8 -7
  44. package/dist/index.d.ts +8 -7
  45. package/dist/index.js +9 -10
  46. package/dist/{json-patch.types-DY7k9hxy.d.ts → json-patch.types-BpVnp08Z.d.ts} +1 -1
  47. package/dist/{json-patch.types-Cu0Medki.d.cts → json-patch.types-eM6pYC2P.d.cts} +1 -1
  48. package/dist/{json-string.store-C58zbl31.d.ts → json-string.store-DfdLcgnM.d.ts} +11 -11
  49. package/dist/{json-string.store-DuI--IL2.d.cts → json-string.store-cAOADo23.d.cts} +11 -11
  50. package/dist/lib/index.cjs +41 -42
  51. package/dist/lib/index.d.cts +3 -3
  52. package/dist/lib/index.d.ts +3 -3
  53. package/dist/lib/index.js +4 -5
  54. package/dist/mocks/index.cjs +30 -19
  55. package/dist/mocks/index.d.cts +22 -8
  56. package/dist/mocks/index.d.ts +22 -8
  57. package/dist/mocks/index.js +2 -3
  58. package/dist/model/index.cjs +85 -76
  59. package/dist/model/index.d.cts +158 -346
  60. package/dist/model/index.d.ts +158 -346
  61. package/dist/model/index.js +4 -7
  62. package/dist/plugins/index.cjs +19 -20
  63. package/dist/plugins/index.d.cts +10 -10
  64. package/dist/plugins/index.d.ts +10 -10
  65. package/dist/plugins/index.js +1 -2
  66. package/dist/{schema.types-B5OgKLpV.d.cts → schema.types-On_VGw2m.d.cts} +7 -6
  67. package/dist/{schema.types-B5OgKLpV.d.ts → schema.types-On_VGw2m.d.ts} +7 -6
  68. package/dist/typed-BinPIf3R.d.ts +455 -0
  69. package/dist/typed-LSaUJayS.d.cts +455 -0
  70. package/dist/types/index.cjs +5 -6
  71. package/dist/types/index.d.cts +7 -5
  72. package/dist/types/index.d.ts +7 -5
  73. package/dist/types/index.js +1 -2
  74. package/dist/{FormulaPathBuilder-DwlKOvVB.d.ts → types-BIvIURgy.d.cts} +37 -82
  75. package/dist/{FormulaPathBuilder-D9LkBcSv.d.cts → types-C_pTFtSY.d.ts} +37 -82
  76. package/package.json +1 -1
  77. package/dist/chunk-3IKI64T2.js +0 -3
  78. package/dist/chunk-3IKI64T2.js.map +0 -1
  79. package/dist/chunk-55AMH44G.js.map +0 -1
  80. package/dist/chunk-B3T6YB2D.cjs.map +0 -1
  81. package/dist/chunk-EGC32GPY.cjs.map +0 -1
  82. package/dist/chunk-FZ2MS4Q5.cjs.map +0 -1
  83. package/dist/chunk-G6ZKEVVU.cjs +0 -4
  84. package/dist/chunk-J6SCHJKG.cjs.map +0 -1
  85. package/dist/chunk-LLHQWDAR.js.map +0 -1
  86. package/dist/chunk-MPF6VCB5.js.map +0 -1
  87. package/dist/chunk-NY3H6C7K.js +0 -3
  88. package/dist/chunk-QEV4Q4TR.js.map +0 -1
  89. package/dist/chunk-R4CFU33U.js.map +0 -1
  90. package/dist/chunk-TBFTADML.cjs +0 -4
  91. package/dist/chunk-TBFTADML.cjs.map +0 -1
  92. package/dist/chunk-U5YDA3LA.js.map +0 -1
  93. package/dist/chunk-V6JTSET2.cjs.map +0 -1
  94. package/dist/chunk-VGADCIBG.cjs.map +0 -1
  95. package/dist/json-value-patch.types-CgiEpchp.d.ts +0 -24
  96. package/dist/json-value-patch.types-LEJxcIWR.d.cts +0 -24
package/dist/index.d.cts CHANGED
@@ -1,15 +1,16 @@
1
1
  export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue } from './json.types-PrMmLhba.cjs';
2
- export { h as JsonPatch, g as JsonPatchAdd, c as JsonPatchAddOperation, d as JsonPatchMove, J as JsonPatchMoveOperation, f as JsonPatchRemove, b as JsonPatchRemoveOperation, e as JsonPatchReplace, a as JsonPatchReplaceOperation } from './json-patch.types-Cu0Medki.cjs';
3
- export { d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace } from './json-value-patch.types-LEJxcIWR.cjs';
2
+ export { h as JsonPatch, g as JsonPatchAdd, c as JsonPatchAddOperation, d as JsonPatchMove, J as JsonPatchMoveOperation, f as JsonPatchRemove, b as JsonPatchRemoveOperation, e as JsonPatchReplace, a as JsonPatchReplaceOperation } from './json-patch.types-eM6pYC2P.cjs';
3
+ export { v as ArrayNodeOptions, A as ArrayValueNodeInterface, a2 as CompositeTypeName, D as DirtyTrackable, $ as FieldSchemaSpec, C as FieldType, E as FieldTypeSpec, X as ForeignKeyResolver, F as FormulaDefinition, r as FormulaWarning, g as InferNode, I as InferValue, d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace, N as NodeAtPath, w as NodeFactoryFn, x as NodeFactoryOptions, n as NodeFactoryRegistry, j as NodeFromValue, u as ObjectNodeOptions, O as ObjectValueNodeInterface, t as PrimitiveNodeOptions, a1 as PrimitiveTypeName, P as PrimitiveValueNode, R as RefSchemas, G as ReplaceResult, M as RowData, Q as RowModel, U as RowModelOptions, h as SchemaAtPath, i as SchemaFromValue, B as SchemaModel, H as SchemaModelOptions, S as SchemaPaths, a0 as SimpleFieldType, K as TableModel, W as TableModelLike, L as TableModelOptions, Z as TransformContext, _ as TransformResult, Y as TypeTransformer, f as TypedArrayValueNode, e as TypedObjectValueNode, T as TypedPrimitiveValueNode, V as ValueAtPath, q as ValueNode, y as ValueNodeFactory, s as ValueNodeOptions, k as ValuePaths, z as ValueTreeLike, l as ValueType, p as createDefaultRegistry, o as createNodeFactory, m as extractFormulaDefinition } from './typed-LSaUJayS.cjs';
4
4
  export { InitMigration, Migration, RemoveMigration, RenameMigration, UpdateMigration } from './types/index.cjs';
5
- export { C as ContentMediaType, g as JsonArraySchema, d as JsonBooleanSchema, c as JsonNumberSchema, f as JsonObjectSchema, h as JsonRefSchema, i as JsonSchema, e as JsonSchemaPrimitives, a as JsonSchemaSharedFields, J as JsonSchemaTypeName, j as JsonSchemaWithoutRef, b as JsonStringSchema, X as XFormula } from './schema.types-B5OgKLpV.cjs';
5
+ export { C as ContentMediaType, h as JsonArraySchema, e as JsonBooleanSchema, d as JsonNumberSchema, g as JsonObjectSchema, i as JsonRefSchema, j as JsonSchema, f as JsonSchemaPrimitives, b as JsonSchemaSharedFields, a as JsonSchemaType, J as JsonSchemaTypeName, k as JsonSchemaWithoutRef, c as JsonStringSchema, X as XFormula } from './schema.types-On_VGw2m.cjs';
6
6
  export { a as FieldChange, F as FieldChangeType } from './types-C_GxaUve.cjs';
7
7
  export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './plugins/index.cjs';
8
- export { ArraySchemaOptions, BooleanSchemaOptions, NumberSchemaOptions, ObjectSchemaOptions, RefSchemaOptions, StringSchemaOptions, arr, bool, getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema, num, obj, ref, str } from './mocks/index.cjs';
8
+ export { ArraySchemaOptions, BooleanFormulaOptions, BooleanSchemaOptions, NumberFormulaOptions, NumberSchemaOptions, ObjectSchemaOptions, RefSchemaOptions, StringFormulaOptions, StringSchemaOptions, arr, bool, boolFormula, getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema, num, numFormula, obj, ref, str, strFormula } from './mocks/index.cjs';
9
9
  export { CustomSchemeKeywords } from './consts/index.cjs';
10
- export { A as AddedPropertyEvent, C as ChangeNameEvent, f as JsonArrayStore, m as JsonArrayValueStore, b as JsonBooleanStore, k as JsonBooleanValueStore, a as JsonNumberStore, j as JsonNumberValueStore, c as JsonObjectStore, l as JsonObjectValueStore, h as JsonSchemaStore, g as JsonSchemaStorePrimitives, J as JsonStringStore, i as JsonStringValueStore, p as JsonValueStore, o as JsonValueStoreParent, n as JsonValueStorePrimitives, d as MigrateItemsEvent, M as MigratePropertyEvent, R as RemovedPropertyEvent, e as ReplaceItemsEvent } from './json-string.store-DuI--IL2.cjs';
11
- export { ArrayNodeOptions, ArrayToItemsTypeTransformer, ArrayValueNode, ArrayValueNodeInterface, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, CompositeTypeName, DataModel, DataModelImpl, DataModelOptions, DefaultTransformer, DirtyTrackable, FieldSchemaSpec, FieldType, FieldTypeSpec, ForeignKeyLoader, ForeignKeyLoaderResult, ForeignKeyNotFoundError, ForeignKeyResolver, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, ForeignKeyResolverOptions, ForeignKeyRowLoaderResult, ForeignKeyValueNode, ForeignKeyValueNodeImpl, FormulaChangeDetector, FormulaDefinition, FormulaDependencyIndex, FormulaPath, FormulaWarning, GenerateDefaultValueOptions, IndirectFormulaChange, NodeFactory, NodeFactoryFn, NodeFactoryOptions, NodeFactoryRegistry, NumberValueNode, ObjectNodeOptions, ObjectToArrayTransformer, ObjectValueNode, ObjectValueNodeInterface, ParsedFormula, PrimitiveNodeOptions, PrimitiveToArrayTransformer, PrimitiveTypeName, PrimitiveValueNode, RefSchemas, RefTransformer, ReplaceResult, RowData, RowModel, RowModelImpl, RowModelOptions, SchemaModel, SchemaModelOptions, SchemaParser, SimpleFieldType, StringValueNode, TableModel, TableModelImpl, TableModelLike, TableModelOptions, TransformContext, TransformResult, TypeTransformChain, TypeTransformChainOptions, TypeTransformer, ValueNode, ValueNodeFactory, ValueNodeOptions, ValueTreeLike, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, createRowModel, createSchemaModel, createTableModel, createTypeTransformChain, equal, extractFormulaDefinition, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, generateDefaultValue, generateNodeId, getTransformation, isForeignKeyValueNode, resetNodeIdCounter, toArrayTransformation } from './model/index.cjs';
12
- export { o as DefaultValueType, D as Diagnostic, d as DiagnosticSeverity, E as EMPTY_METADATA, k as Formula, F as FormulaDependency, b as FormulaPathBuilder, a as FormulaSerializer, j as NodeMetadata, N as NodeType, P as Path, c as PathSegment, p as PropertyChange, q as PropertyName, R as ResolvedDependency, S as SchemaLike, l as SchemaNode, n as SchemaPatch, m as SchemaTree, h as SchemaValidationError, i as SchemaValidationErrorType, T as TreeFormulaValidationError, V as ValidationContext, e as Validator, g as ValidatorFactoryFn, f as ValidatorRule } from './FormulaPathBuilder-D9LkBcSv.cjs';
10
+ export { A as AddedPropertyEvent, C as ChangeNameEvent, f as JsonArrayStore, m as JsonArrayValueStore, b as JsonBooleanStore, k as JsonBooleanValueStore, a as JsonNumberStore, j as JsonNumberValueStore, c as JsonObjectStore, l as JsonObjectValueStore, h as JsonSchemaStore, g as JsonSchemaStorePrimitives, J as JsonStringStore, i as JsonStringValueStore, p as JsonValueStore, o as JsonValueStoreParent, n as JsonValueStorePrimitives, d as MigrateItemsEvent, M as MigratePropertyEvent, R as RemovedPropertyEvent, e as ReplaceItemsEvent } from './json-string.store-cAOADo23.cjs';
11
+ export { ArrayToItemsTypeTransformer, ArrayValueNode, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, DataModel, DataModelImpl, DataModelOptions, DefaultTransformer, ForeignKeyLoader, ForeignKeyNotFoundError, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, ForeignKeyResolverOptions, ForeignKeyRowLoaderResult, ForeignKeyValueNode, ForeignKeyValueNodeImpl, FormulaChangeDetector, FormulaDependencyIndex, FormulaPath, GenerateDefaultValueOptions, IndirectFormulaChange, NodeFactory, NumberValueNode, ObjectToArrayTransformer, ObjectValueNode, ParsedFormula, PrimitiveToArrayTransformer, RefTransformer, RowModelImpl, SchemaParser, StringValueNode, TableModelImpl, TypeTransformChain, TypeTransformChainOptions, TypedRowData, TypedRowModel, TypedRowModelOptions, TypedTableModel, TypedTableModelOptions, TypedValueTree, ValueTree, createDataModel, createForeignKeyResolver, createRowModel, createSchemaModel, createTableModel, createTypeTransformChain, createTypedTree, equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, generateDefaultValue, generateNodeId, getTransformation, isForeignKeyValueNode, resetNodeIdCounter, toArrayTransformation, typedNode } from './model/index.cjs';
12
+ export { l as DefaultValueType, D as Diagnostic, b as DiagnosticSeverity, E as EMPTY_METADATA, i as Formula, F as FormulaDependency, h as NodeMetadata, N as NodeType, P as Path, a as PathSegment, m as PropertyChange, n as PropertyName, R as ResolvedDependency, S as SchemaLike, j as SchemaNode, k as SchemaPatch, f as SchemaValidationError, g as SchemaValidationErrorType, T as TreeFormulaValidationError, V as ValidationContext, c as Validator, e as ValidatorFactoryFn, d as ValidatorRule } from './types-BIvIURgy.cjs';
13
+ export { a as FormulaPathBuilder, F as FormulaSerializer, S as SchemaTree } from './FormulaPathBuilder-BUJRR0Am.cjs';
13
14
  export { GetForeignKeysFromValueType, RefsType, ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonArrayValueStore, createJsonObjectSchemaStore, createJsonObjectValueStore, createJsonSchemaStore, createJsonValueStore, createPrimitiveStoreBySchema, createPrimitiveValueStore, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from './lib/index.cjs';
14
15
  export { c as computeValueDiff } from './computeValueDiff-CNT84rwK.cjs';
15
16
  export { EvaluateFormulasOptions, EvaluateFormulasResult, ExtractedFormula, FormulaError, FormulaNode, FormulaValidationError, SchemaValidationResult, collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, validateFormulaAgainstSchema, validateSchemaFormulas } from './formula/index.cjs';
package/dist/index.d.ts CHANGED
@@ -1,15 +1,16 @@
1
1
  export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue } from './json.types-PrMmLhba.js';
2
- export { h as JsonPatch, g as JsonPatchAdd, c as JsonPatchAddOperation, d as JsonPatchMove, J as JsonPatchMoveOperation, f as JsonPatchRemove, b as JsonPatchRemoveOperation, e as JsonPatchReplace, a as JsonPatchReplaceOperation } from './json-patch.types-DY7k9hxy.js';
3
- export { d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace } from './json-value-patch.types-CgiEpchp.js';
2
+ export { h as JsonPatch, g as JsonPatchAdd, c as JsonPatchAddOperation, d as JsonPatchMove, J as JsonPatchMoveOperation, f as JsonPatchRemove, b as JsonPatchRemoveOperation, e as JsonPatchReplace, a as JsonPatchReplaceOperation } from './json-patch.types-BpVnp08Z.js';
3
+ export { v as ArrayNodeOptions, A as ArrayValueNodeInterface, a2 as CompositeTypeName, D as DirtyTrackable, $ as FieldSchemaSpec, C as FieldType, E as FieldTypeSpec, X as ForeignKeyResolver, F as FormulaDefinition, r as FormulaWarning, g as InferNode, I as InferValue, d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace, N as NodeAtPath, w as NodeFactoryFn, x as NodeFactoryOptions, n as NodeFactoryRegistry, j as NodeFromValue, u as ObjectNodeOptions, O as ObjectValueNodeInterface, t as PrimitiveNodeOptions, a1 as PrimitiveTypeName, P as PrimitiveValueNode, R as RefSchemas, G as ReplaceResult, M as RowData, Q as RowModel, U as RowModelOptions, h as SchemaAtPath, i as SchemaFromValue, B as SchemaModel, H as SchemaModelOptions, S as SchemaPaths, a0 as SimpleFieldType, K as TableModel, W as TableModelLike, L as TableModelOptions, Z as TransformContext, _ as TransformResult, Y as TypeTransformer, f as TypedArrayValueNode, e as TypedObjectValueNode, T as TypedPrimitiveValueNode, V as ValueAtPath, q as ValueNode, y as ValueNodeFactory, s as ValueNodeOptions, k as ValuePaths, z as ValueTreeLike, l as ValueType, p as createDefaultRegistry, o as createNodeFactory, m as extractFormulaDefinition } from './typed-BinPIf3R.js';
4
4
  export { InitMigration, Migration, RemoveMigration, RenameMigration, UpdateMigration } from './types/index.js';
5
- export { C as ContentMediaType, g as JsonArraySchema, d as JsonBooleanSchema, c as JsonNumberSchema, f as JsonObjectSchema, h as JsonRefSchema, i as JsonSchema, e as JsonSchemaPrimitives, a as JsonSchemaSharedFields, J as JsonSchemaTypeName, j as JsonSchemaWithoutRef, b as JsonStringSchema, X as XFormula } from './schema.types-B5OgKLpV.js';
5
+ export { C as ContentMediaType, h as JsonArraySchema, e as JsonBooleanSchema, d as JsonNumberSchema, g as JsonObjectSchema, i as JsonRefSchema, j as JsonSchema, f as JsonSchemaPrimitives, b as JsonSchemaSharedFields, a as JsonSchemaType, J as JsonSchemaTypeName, k as JsonSchemaWithoutRef, c as JsonStringSchema, X as XFormula } from './schema.types-On_VGw2m.js';
6
6
  export { a as FieldChange, F as FieldChangeType } from './types-C_GxaUve.js';
7
7
  export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './plugins/index.js';
8
- export { ArraySchemaOptions, BooleanSchemaOptions, NumberSchemaOptions, ObjectSchemaOptions, RefSchemaOptions, StringSchemaOptions, arr, bool, getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema, num, obj, ref, str } from './mocks/index.js';
8
+ export { ArraySchemaOptions, BooleanFormulaOptions, BooleanSchemaOptions, NumberFormulaOptions, NumberSchemaOptions, ObjectSchemaOptions, RefSchemaOptions, StringFormulaOptions, StringSchemaOptions, arr, bool, boolFormula, getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema, num, numFormula, obj, ref, str, strFormula } from './mocks/index.js';
9
9
  export { CustomSchemeKeywords } from './consts/index.js';
10
- export { A as AddedPropertyEvent, C as ChangeNameEvent, f as JsonArrayStore, m as JsonArrayValueStore, b as JsonBooleanStore, k as JsonBooleanValueStore, a as JsonNumberStore, j as JsonNumberValueStore, c as JsonObjectStore, l as JsonObjectValueStore, h as JsonSchemaStore, g as JsonSchemaStorePrimitives, J as JsonStringStore, i as JsonStringValueStore, p as JsonValueStore, o as JsonValueStoreParent, n as JsonValueStorePrimitives, d as MigrateItemsEvent, M as MigratePropertyEvent, R as RemovedPropertyEvent, e as ReplaceItemsEvent } from './json-string.store-C58zbl31.js';
11
- export { ArrayNodeOptions, ArrayToItemsTypeTransformer, ArrayValueNode, ArrayValueNodeInterface, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, CompositeTypeName, DataModel, DataModelImpl, DataModelOptions, DefaultTransformer, DirtyTrackable, FieldSchemaSpec, FieldType, FieldTypeSpec, ForeignKeyLoader, ForeignKeyLoaderResult, ForeignKeyNotFoundError, ForeignKeyResolver, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, ForeignKeyResolverOptions, ForeignKeyRowLoaderResult, ForeignKeyValueNode, ForeignKeyValueNodeImpl, FormulaChangeDetector, FormulaDefinition, FormulaDependencyIndex, FormulaPath, FormulaWarning, GenerateDefaultValueOptions, IndirectFormulaChange, NodeFactory, NodeFactoryFn, NodeFactoryOptions, NodeFactoryRegistry, NumberValueNode, ObjectNodeOptions, ObjectToArrayTransformer, ObjectValueNode, ObjectValueNodeInterface, ParsedFormula, PrimitiveNodeOptions, PrimitiveToArrayTransformer, PrimitiveTypeName, PrimitiveValueNode, RefSchemas, RefTransformer, ReplaceResult, RowData, RowModel, RowModelImpl, RowModelOptions, SchemaModel, SchemaModelOptions, SchemaParser, SimpleFieldType, StringValueNode, TableModel, TableModelImpl, TableModelLike, TableModelOptions, TransformContext, TransformResult, TypeTransformChain, TypeTransformChainOptions, TypeTransformer, ValueNode, ValueNodeFactory, ValueNodeOptions, ValueTreeLike, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, createRowModel, createSchemaModel, createTableModel, createTypeTransformChain, equal, extractFormulaDefinition, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, generateDefaultValue, generateNodeId, getTransformation, isForeignKeyValueNode, resetNodeIdCounter, toArrayTransformation } from './model/index.js';
12
- export { o as DefaultValueType, D as Diagnostic, d as DiagnosticSeverity, E as EMPTY_METADATA, k as Formula, F as FormulaDependency, b as FormulaPathBuilder, a as FormulaSerializer, j as NodeMetadata, N as NodeType, P as Path, c as PathSegment, p as PropertyChange, q as PropertyName, R as ResolvedDependency, S as SchemaLike, l as SchemaNode, n as SchemaPatch, m as SchemaTree, h as SchemaValidationError, i as SchemaValidationErrorType, T as TreeFormulaValidationError, V as ValidationContext, e as Validator, g as ValidatorFactoryFn, f as ValidatorRule } from './FormulaPathBuilder-DwlKOvVB.js';
10
+ export { A as AddedPropertyEvent, C as ChangeNameEvent, f as JsonArrayStore, m as JsonArrayValueStore, b as JsonBooleanStore, k as JsonBooleanValueStore, a as JsonNumberStore, j as JsonNumberValueStore, c as JsonObjectStore, l as JsonObjectValueStore, h as JsonSchemaStore, g as JsonSchemaStorePrimitives, J as JsonStringStore, i as JsonStringValueStore, p as JsonValueStore, o as JsonValueStoreParent, n as JsonValueStorePrimitives, d as MigrateItemsEvent, M as MigratePropertyEvent, R as RemovedPropertyEvent, e as ReplaceItemsEvent } from './json-string.store-DfdLcgnM.js';
11
+ export { ArrayToItemsTypeTransformer, ArrayValueNode, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, DataModel, DataModelImpl, DataModelOptions, DefaultTransformer, ForeignKeyLoader, ForeignKeyNotFoundError, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, ForeignKeyResolverOptions, ForeignKeyRowLoaderResult, ForeignKeyValueNode, ForeignKeyValueNodeImpl, FormulaChangeDetector, FormulaDependencyIndex, FormulaPath, GenerateDefaultValueOptions, IndirectFormulaChange, NodeFactory, NumberValueNode, ObjectToArrayTransformer, ObjectValueNode, ParsedFormula, PrimitiveToArrayTransformer, RefTransformer, RowModelImpl, SchemaParser, StringValueNode, TableModelImpl, TypeTransformChain, TypeTransformChainOptions, TypedRowData, TypedRowModel, TypedRowModelOptions, TypedTableModel, TypedTableModelOptions, TypedValueTree, ValueTree, createDataModel, createForeignKeyResolver, createRowModel, createSchemaModel, createTableModel, createTypeTransformChain, createTypedTree, equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, generateDefaultValue, generateNodeId, getTransformation, isForeignKeyValueNode, resetNodeIdCounter, toArrayTransformation, typedNode } from './model/index.js';
12
+ export { l as DefaultValueType, D as Diagnostic, b as DiagnosticSeverity, E as EMPTY_METADATA, i as Formula, F as FormulaDependency, h as NodeMetadata, N as NodeType, P as Path, a as PathSegment, m as PropertyChange, n as PropertyName, R as ResolvedDependency, S as SchemaLike, j as SchemaNode, k as SchemaPatch, f as SchemaValidationError, g as SchemaValidationErrorType, T as TreeFormulaValidationError, V as ValidationContext, c as Validator, e as ValidatorFactoryFn, d as ValidatorRule } from './types-C_pTFtSY.js';
13
+ export { a as FormulaPathBuilder, F as FormulaSerializer, S as SchemaTree } from './FormulaPathBuilder-QR0htn-e.js';
13
14
  export { GetForeignKeysFromValueType, RefsType, ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonArrayValueStore, createJsonObjectSchemaStore, createJsonObjectValueStore, createJsonSchemaStore, createJsonValueStore, createPrimitiveStoreBySchema, createPrimitiveValueStore, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from './lib/index.js';
14
15
  export { c as computeValueDiff } from './computeValueDiff-CDwbNw8F.js';
15
16
  export { EvaluateFormulasOptions, EvaluateFormulasResult, ExtractedFormula, FormulaError, FormulaNode, FormulaValidationError, SchemaValidationResult, collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, validateFormulaAgainstSchema, validateSchemaFormulas } from './formula/index.js';
package/dist/index.js CHANGED
@@ -1,18 +1,17 @@
1
1
  import './chunk-3FJZMVWA.js';
2
- import './chunk-NY3H6C7K.js';
2
+ export { JsonSchemaTypeName } from './chunk-DRPNJ4YP.js';
3
+ import './chunk-2NARA22J.js';
3
4
  export { CustomSchemeKeywords } from './chunk-5VDDLW7U.js';
4
- 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, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, createRowModel, createSchemaModel, createTableModel, createTypeTransformChain, extractFormulaDefinition, generateDefaultValue, generateNodeId, isForeignKeyValueNode, resetNodeIdCounter } from './chunk-U5YDA3LA.js';
5
- 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-3JZKQWQH.js';
6
- import './chunk-3IKI64T2.js';
7
- export { arr, bool, getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema, num, obj, ref, str } from './chunk-R4CFU33U.js';
8
- export { SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonObjectSchemaStore, createJsonSchemaStore, createPrimitiveStoreBySchema, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from './chunk-QEV4Q4TR.js';
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-MK3IKVZO.js';
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-TMCRV6V5.js';
7
+ export { arr, bool, boolFormula, getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema, num, numFormula, obj, ref, str, strFormula } from './chunk-BIBFHULN.js';
8
+ export { SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonObjectSchemaStore, createJsonSchemaStore, createPrimitiveStoreBySchema, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from './chunk-UTSL45Q4.js';
9
9
  export { collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, formulaSpec, validateFormulaAgainstSchema, validateSchemaFormulas } from './chunk-R3MS2N4A.js';
10
10
  export { computeValueDiff } from './chunk-YFWOURZL.js';
11
- export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './chunk-LLHQWDAR.js';
12
- export { SystemSchemaIds } from './chunk-Q2UOTIMG.js';
13
- export { JsonArrayStore, JsonArrayValueStore, JsonBooleanStore, JsonBooleanValueStore, JsonNumberStore, JsonNumberValueStore, JsonObjectStore, JsonObjectValueStore, JsonStringStore, JsonStringValueStore, addSharedFieldsFromState, createJsonArrayValueStore, createJsonObjectValueStore, createJsonValueStore, createPrimitiveValueStore, equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, getTransformation, toArrayTransformation } from './chunk-55AMH44G.js';
14
11
  export { FieldChangeType } from './chunk-ZBPUTF3Q.js';
15
- export { JsonSchemaTypeName } from './chunk-MPF6VCB5.js';
12
+ export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './chunk-62A5JJJ3.js';
13
+ export { SystemSchemaIds } from './chunk-Q2UOTIMG.js';
14
+ export { JsonArrayStore, JsonArrayValueStore, JsonBooleanStore, JsonBooleanValueStore, JsonNumberStore, JsonNumberValueStore, JsonObjectStore, JsonObjectValueStore, JsonStringStore, JsonStringValueStore, addSharedFieldsFromState, createJsonArrayValueStore, createJsonObjectValueStore, createJsonValueStore, createPrimitiveValueStore, equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, getTransformation, toArrayTransformation } from './chunk-TKMR6CQW.js';
16
15
  export { arrayMetaSchema, baseStringFields, booleanMetaSchema, foreignKeyExcludesFormula, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema, xFormulaRequiresReadOnly, xFormulaSchema } from './chunk-JUOGJFTL.js';
17
16
  //# sourceMappingURL=index.js.map
18
17
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { i as JsonSchema } from './schema.types-B5OgKLpV.js';
1
+ import { j as JsonSchema } from './schema.types-On_VGw2m.js';
2
2
 
3
3
  type JsonPatchMoveOperation = 'move';
4
4
  type JsonPatchReplaceOperation = 'replace';
@@ -1,4 +1,4 @@
1
- import { i as JsonSchema } from './schema.types-B5OgKLpV.cjs';
1
+ import { j as JsonSchema } from './schema.types-On_VGw2m.cjs';
2
2
 
3
3
  type JsonPatchMoveOperation = 'move';
4
4
  type JsonPatchReplaceOperation = 'replace';
@@ -1,10 +1,10 @@
1
1
  import { EventEmitter } from 'eventemitter3';
2
- import { d as JsonBooleanSchema, J as JsonSchemaTypeName, X as XFormula, h as JsonRefSchema, c as JsonNumberSchema, f as JsonObjectSchema, g as JsonArraySchema, b as JsonStringSchema } from './schema.types-B5OgKLpV.js';
2
+ import { e as JsonBooleanSchema, X as XFormula, i as JsonRefSchema, d as JsonNumberSchema, g as JsonObjectSchema, h as JsonArraySchema, c as JsonStringSchema } from './schema.types-On_VGw2m.js';
3
3
  import { J as JsonObject, b as JsonArray } from './json.types-PrMmLhba.js';
4
4
 
5
5
  declare class JsonBooleanStore extends EventEmitter implements JsonBooleanSchema {
6
6
  readonly nodeId: string;
7
- readonly type = JsonSchemaTypeName.Boolean;
7
+ readonly type: "boolean";
8
8
  $ref: string;
9
9
  name: string;
10
10
  parent: JsonSchemaStore | null;
@@ -28,7 +28,7 @@ declare class JsonBooleanValueStore {
28
28
  readonly schema: JsonBooleanStore;
29
29
  readonly rowId: string;
30
30
  value: boolean | null;
31
- readonly type = JsonSchemaTypeName.Boolean;
31
+ readonly type: "boolean";
32
32
  readonly index: number;
33
33
  parent: JsonValueStoreParent | null;
34
34
  constructor(schema: JsonBooleanStore, rowId: string, value?: boolean | null);
@@ -37,7 +37,7 @@ declare class JsonBooleanValueStore {
37
37
 
38
38
  declare class JsonNumberStore extends EventEmitter implements JsonNumberSchema {
39
39
  readonly nodeId: string;
40
- readonly type = JsonSchemaTypeName.Number;
40
+ readonly type: "number";
41
41
  $ref: string;
42
42
  name: string;
43
43
  parent: JsonSchemaStore | null;
@@ -61,7 +61,7 @@ declare class JsonNumberValueStore {
61
61
  readonly schema: JsonNumberStore;
62
62
  readonly rowId: string;
63
63
  value: number | null;
64
- readonly type = JsonSchemaTypeName.Number;
64
+ readonly type: "number";
65
65
  readonly index: number;
66
66
  parent: JsonValueStoreParent | null;
67
67
  constructor(schema: JsonNumberStore, rowId: string, value?: number | null);
@@ -88,7 +88,7 @@ type ChangeNameEvent = {
88
88
  };
89
89
  declare class JsonObjectStore implements JsonObjectSchema {
90
90
  readonly nodeId: string;
91
- readonly type = JsonSchemaTypeName.Object;
91
+ readonly type: "object";
92
92
  $ref: string;
93
93
  name: string;
94
94
  parent: JsonSchemaStore | null;
@@ -120,7 +120,7 @@ declare class JsonObjectValueStore {
120
120
  readonly schema: JsonObjectStore;
121
121
  readonly rowId: string;
122
122
  value: Record<string, JsonValueStore>;
123
- readonly type = JsonSchemaTypeName.Object;
123
+ readonly type: "object";
124
124
  index: number;
125
125
  parent: JsonValueStoreParent | null;
126
126
  constructor(schema: JsonObjectStore, rowId: string, value: Record<string, JsonValueStore>);
@@ -139,7 +139,7 @@ declare class JsonStringValueStore {
139
139
  readonly schema: JsonStringStore;
140
140
  readonly rowId: string;
141
141
  value: string | null;
142
- readonly type = JsonSchemaTypeName.String;
142
+ readonly type: "string";
143
143
  readonly index: number;
144
144
  parent: JsonValueStoreParent | null;
145
145
  constructor(schema: JsonStringStore, rowId: string, value?: string | null);
@@ -155,7 +155,7 @@ declare class JsonArrayValueStore {
155
155
  readonly schema: JsonArrayStore;
156
156
  readonly rowId: string;
157
157
  value: JsonValueStore[];
158
- readonly type = JsonSchemaTypeName.Array;
158
+ readonly type: "array";
159
159
  index: number;
160
160
  parent: JsonValueStoreParent | null;
161
161
  constructor(schema: JsonArrayStore, rowId: string, value: JsonValueStore[]);
@@ -177,7 +177,7 @@ type ReplaceItemsEvent = {
177
177
  declare class JsonArrayStore implements JsonArraySchema {
178
178
  private _items;
179
179
  readonly nodeId: string;
180
- readonly type = JsonSchemaTypeName.Array;
180
+ readonly type: "array";
181
181
  $ref: string;
182
182
  name: string;
183
183
  parent: JsonSchemaStore | null;
@@ -204,7 +204,7 @@ type JsonSchemaStore = JsonObjectStore | JsonArrayStore | JsonSchemaStorePrimiti
204
204
 
205
205
  declare class JsonStringStore extends EventEmitter implements JsonStringSchema {
206
206
  readonly nodeId: string;
207
- readonly type = JsonSchemaTypeName.String;
207
+ readonly type: "string";
208
208
  $ref: string;
209
209
  name: string;
210
210
  parent: JsonSchemaStore | null;
@@ -1,10 +1,10 @@
1
1
  import { EventEmitter } from 'eventemitter3';
2
- import { d as JsonBooleanSchema, J as JsonSchemaTypeName, X as XFormula, h as JsonRefSchema, c as JsonNumberSchema, f as JsonObjectSchema, g as JsonArraySchema, b as JsonStringSchema } from './schema.types-B5OgKLpV.cjs';
2
+ import { e as JsonBooleanSchema, X as XFormula, i as JsonRefSchema, d as JsonNumberSchema, g as JsonObjectSchema, h as JsonArraySchema, c as JsonStringSchema } from './schema.types-On_VGw2m.cjs';
3
3
  import { J as JsonObject, b as JsonArray } from './json.types-PrMmLhba.cjs';
4
4
 
5
5
  declare class JsonBooleanStore extends EventEmitter implements JsonBooleanSchema {
6
6
  readonly nodeId: string;
7
- readonly type = JsonSchemaTypeName.Boolean;
7
+ readonly type: "boolean";
8
8
  $ref: string;
9
9
  name: string;
10
10
  parent: JsonSchemaStore | null;
@@ -28,7 +28,7 @@ declare class JsonBooleanValueStore {
28
28
  readonly schema: JsonBooleanStore;
29
29
  readonly rowId: string;
30
30
  value: boolean | null;
31
- readonly type = JsonSchemaTypeName.Boolean;
31
+ readonly type: "boolean";
32
32
  readonly index: number;
33
33
  parent: JsonValueStoreParent | null;
34
34
  constructor(schema: JsonBooleanStore, rowId: string, value?: boolean | null);
@@ -37,7 +37,7 @@ declare class JsonBooleanValueStore {
37
37
 
38
38
  declare class JsonNumberStore extends EventEmitter implements JsonNumberSchema {
39
39
  readonly nodeId: string;
40
- readonly type = JsonSchemaTypeName.Number;
40
+ readonly type: "number";
41
41
  $ref: string;
42
42
  name: string;
43
43
  parent: JsonSchemaStore | null;
@@ -61,7 +61,7 @@ declare class JsonNumberValueStore {
61
61
  readonly schema: JsonNumberStore;
62
62
  readonly rowId: string;
63
63
  value: number | null;
64
- readonly type = JsonSchemaTypeName.Number;
64
+ readonly type: "number";
65
65
  readonly index: number;
66
66
  parent: JsonValueStoreParent | null;
67
67
  constructor(schema: JsonNumberStore, rowId: string, value?: number | null);
@@ -88,7 +88,7 @@ type ChangeNameEvent = {
88
88
  };
89
89
  declare class JsonObjectStore implements JsonObjectSchema {
90
90
  readonly nodeId: string;
91
- readonly type = JsonSchemaTypeName.Object;
91
+ readonly type: "object";
92
92
  $ref: string;
93
93
  name: string;
94
94
  parent: JsonSchemaStore | null;
@@ -120,7 +120,7 @@ declare class JsonObjectValueStore {
120
120
  readonly schema: JsonObjectStore;
121
121
  readonly rowId: string;
122
122
  value: Record<string, JsonValueStore>;
123
- readonly type = JsonSchemaTypeName.Object;
123
+ readonly type: "object";
124
124
  index: number;
125
125
  parent: JsonValueStoreParent | null;
126
126
  constructor(schema: JsonObjectStore, rowId: string, value: Record<string, JsonValueStore>);
@@ -139,7 +139,7 @@ declare class JsonStringValueStore {
139
139
  readonly schema: JsonStringStore;
140
140
  readonly rowId: string;
141
141
  value: string | null;
142
- readonly type = JsonSchemaTypeName.String;
142
+ readonly type: "string";
143
143
  readonly index: number;
144
144
  parent: JsonValueStoreParent | null;
145
145
  constructor(schema: JsonStringStore, rowId: string, value?: string | null);
@@ -155,7 +155,7 @@ declare class JsonArrayValueStore {
155
155
  readonly schema: JsonArrayStore;
156
156
  readonly rowId: string;
157
157
  value: JsonValueStore[];
158
- readonly type = JsonSchemaTypeName.Array;
158
+ readonly type: "array";
159
159
  index: number;
160
160
  parent: JsonValueStoreParent | null;
161
161
  constructor(schema: JsonArrayStore, rowId: string, value: JsonValueStore[]);
@@ -177,7 +177,7 @@ type ReplaceItemsEvent = {
177
177
  declare class JsonArrayStore implements JsonArraySchema {
178
178
  private _items;
179
179
  readonly nodeId: string;
180
- readonly type = JsonSchemaTypeName.Array;
180
+ readonly type: "array";
181
181
  $ref: string;
182
182
  name: string;
183
183
  parent: JsonSchemaStore | null;
@@ -204,7 +204,7 @@ type JsonSchemaStore = JsonObjectStore | JsonArrayStore | JsonSchemaStorePrimiti
204
204
 
205
205
  declare class JsonStringStore extends EventEmitter implements JsonStringSchema {
206
206
  readonly nodeId: string;
207
- readonly type = JsonSchemaTypeName.String;
207
+ readonly type: "string";
208
208
  $ref: string;
209
209
  name: string;
210
210
  parent: JsonSchemaStore | null;
@@ -1,143 +1,142 @@
1
1
  'use strict';
2
2
 
3
- var chunkV6JTSET2_cjs = require('../chunk-V6JTSET2.cjs');
3
+ var chunkZ7M4ZGC6_cjs = require('../chunk-Z7M4ZGC6.cjs');
4
4
  var chunkX2VRR7V7_cjs = require('../chunk-X2VRR7V7.cjs');
5
5
  var chunkWSPFHUHU_cjs = require('../chunk-WSPFHUHU.cjs');
6
- require('../chunk-EGC32GPY.cjs');
7
- require('../chunk-XNFSFT7T.cjs');
8
- var chunkB3T6YB2D_cjs = require('../chunk-B3T6YB2D.cjs');
9
6
  require('../chunk-ZRNFSUOV.cjs');
10
- require('../chunk-J6SCHJKG.cjs');
7
+ require('../chunk-3DDUT57J.cjs');
8
+ require('../chunk-XNFSFT7T.cjs');
9
+ var chunkHH2LDPVV_cjs = require('../chunk-HH2LDPVV.cjs');
11
10
 
12
11
 
13
12
 
14
13
  Object.defineProperty(exports, "SchemaTable", {
15
14
  enumerable: true,
16
- get: function () { return chunkV6JTSET2_cjs.SchemaTable; }
15
+ get: function () { return chunkZ7M4ZGC6_cjs.SchemaTable; }
17
16
  });
18
17
  Object.defineProperty(exports, "VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE", {
19
18
  enumerable: true,
20
- get: function () { return chunkV6JTSET2_cjs.VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE; }
19
+ get: function () { return chunkZ7M4ZGC6_cjs.VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE; }
21
20
  });
22
21
  Object.defineProperty(exports, "applyAddPatch", {
23
22
  enumerable: true,
24
- get: function () { return chunkV6JTSET2_cjs.applyAddPatch; }
23
+ get: function () { return chunkZ7M4ZGC6_cjs.applyAddPatch; }
25
24
  });
26
25
  Object.defineProperty(exports, "applyMovePatch", {
27
26
  enumerable: true,
28
- get: function () { return chunkV6JTSET2_cjs.applyMovePatch; }
27
+ get: function () { return chunkZ7M4ZGC6_cjs.applyMovePatch; }
29
28
  });
30
29
  Object.defineProperty(exports, "applyRemovePatch", {
31
30
  enumerable: true,
32
- get: function () { return chunkV6JTSET2_cjs.applyRemovePatch; }
31
+ get: function () { return chunkZ7M4ZGC6_cjs.applyRemovePatch; }
33
32
  });
34
33
  Object.defineProperty(exports, "applyReplacePatch", {
35
34
  enumerable: true,
36
- get: function () { return chunkV6JTSET2_cjs.applyReplacePatch; }
35
+ get: function () { return chunkZ7M4ZGC6_cjs.applyReplacePatch; }
37
36
  });
38
37
  Object.defineProperty(exports, "convertJsonPathToSchemaPath", {
39
38
  enumerable: true,
40
- get: function () { return chunkV6JTSET2_cjs.convertJsonPathToSchemaPath; }
39
+ get: function () { return chunkZ7M4ZGC6_cjs.convertJsonPathToSchemaPath; }
41
40
  });
42
41
  Object.defineProperty(exports, "convertSchemaPathToJsonPath", {
43
42
  enumerable: true,
44
- get: function () { return chunkV6JTSET2_cjs.convertSchemaPathToJsonPath; }
43
+ get: function () { return chunkZ7M4ZGC6_cjs.convertSchemaPathToJsonPath; }
45
44
  });
46
45
  Object.defineProperty(exports, "createJsonObjectSchemaStore", {
47
46
  enumerable: true,
48
- get: function () { return chunkV6JTSET2_cjs.createJsonObjectSchemaStore; }
47
+ get: function () { return chunkZ7M4ZGC6_cjs.createJsonObjectSchemaStore; }
49
48
  });
50
49
  Object.defineProperty(exports, "createJsonSchemaStore", {
51
50
  enumerable: true,
52
- get: function () { return chunkV6JTSET2_cjs.createJsonSchemaStore; }
51
+ get: function () { return chunkZ7M4ZGC6_cjs.createJsonSchemaStore; }
53
52
  });
54
53
  Object.defineProperty(exports, "createPrimitiveStoreBySchema", {
55
54
  enumerable: true,
56
- get: function () { return chunkV6JTSET2_cjs.createPrimitiveStoreBySchema; }
55
+ get: function () { return chunkZ7M4ZGC6_cjs.createPrimitiveStoreBySchema; }
57
56
  });
58
57
  Object.defineProperty(exports, "deepEqual", {
59
58
  enumerable: true,
60
- get: function () { return chunkV6JTSET2_cjs.deepEqual; }
59
+ get: function () { return chunkZ7M4ZGC6_cjs.deepEqual; }
61
60
  });
62
61
  Object.defineProperty(exports, "getDBJsonPathByJsonSchemaStore", {
63
62
  enumerable: true,
64
- get: function () { return chunkV6JTSET2_cjs.getDBJsonPathByJsonSchemaStore; }
63
+ get: function () { return chunkZ7M4ZGC6_cjs.getDBJsonPathByJsonSchemaStore; }
65
64
  });
66
65
  Object.defineProperty(exports, "getForeignKeyPatchesFromSchema", {
67
66
  enumerable: true,
68
- get: function () { return chunkV6JTSET2_cjs.getForeignKeyPatchesFromSchema; }
67
+ get: function () { return chunkZ7M4ZGC6_cjs.getForeignKeyPatchesFromSchema; }
69
68
  });
70
69
  Object.defineProperty(exports, "getForeignKeysFromSchema", {
71
70
  enumerable: true,
72
- get: function () { return chunkV6JTSET2_cjs.getForeignKeysFromSchema; }
71
+ get: function () { return chunkZ7M4ZGC6_cjs.getForeignKeysFromSchema; }
73
72
  });
74
73
  Object.defineProperty(exports, "getForeignKeysFromValue", {
75
74
  enumerable: true,
76
- get: function () { return chunkV6JTSET2_cjs.getForeignKeysFromValue; }
75
+ get: function () { return chunkZ7M4ZGC6_cjs.getForeignKeysFromValue; }
77
76
  });
78
77
  Object.defineProperty(exports, "getInvalidFieldNamesInSchema", {
79
78
  enumerable: true,
80
- get: function () { return chunkV6JTSET2_cjs.getInvalidFieldNamesInSchema; }
79
+ get: function () { return chunkZ7M4ZGC6_cjs.getInvalidFieldNamesInSchema; }
81
80
  });
82
81
  Object.defineProperty(exports, "getJsonSchemaStoreByPath", {
83
82
  enumerable: true,
84
- get: function () { return chunkV6JTSET2_cjs.getJsonSchemaStoreByPath; }
83
+ get: function () { return chunkZ7M4ZGC6_cjs.getJsonSchemaStoreByPath; }
85
84
  });
86
85
  Object.defineProperty(exports, "getJsonValueStoreByPath", {
87
86
  enumerable: true,
88
- get: function () { return chunkV6JTSET2_cjs.getJsonValueStoreByPath; }
87
+ get: function () { return chunkZ7M4ZGC6_cjs.getJsonValueStoreByPath; }
89
88
  });
90
89
  Object.defineProperty(exports, "getParentForPath", {
91
90
  enumerable: true,
92
- get: function () { return chunkV6JTSET2_cjs.getParentForPath; }
91
+ get: function () { return chunkZ7M4ZGC6_cjs.getParentForPath; }
93
92
  });
94
93
  Object.defineProperty(exports, "getPathByStore", {
95
94
  enumerable: true,
96
- get: function () { return chunkV6JTSET2_cjs.getPathByStore; }
95
+ get: function () { return chunkZ7M4ZGC6_cjs.getPathByStore; }
97
96
  });
98
97
  Object.defineProperty(exports, "getValueByPath", {
99
98
  enumerable: true,
100
- get: function () { return chunkV6JTSET2_cjs.getValueByPath; }
99
+ get: function () { return chunkZ7M4ZGC6_cjs.getValueByPath; }
101
100
  });
102
101
  Object.defineProperty(exports, "hasPath", {
103
102
  enumerable: true,
104
- get: function () { return chunkV6JTSET2_cjs.hasPath; }
103
+ get: function () { return chunkZ7M4ZGC6_cjs.hasPath; }
105
104
  });
106
105
  Object.defineProperty(exports, "parsePath", {
107
106
  enumerable: true,
108
- get: function () { return chunkV6JTSET2_cjs.parsePath; }
107
+ get: function () { return chunkZ7M4ZGC6_cjs.parsePath; }
109
108
  });
110
109
  Object.defineProperty(exports, "pluginRefs", {
111
110
  enumerable: true,
112
- get: function () { return chunkV6JTSET2_cjs.pluginRefs; }
111
+ get: function () { return chunkZ7M4ZGC6_cjs.pluginRefs; }
113
112
  });
114
113
  Object.defineProperty(exports, "replaceForeignKeyValue", {
115
114
  enumerable: true,
116
- get: function () { return chunkV6JTSET2_cjs.replaceForeignKeyValue; }
115
+ get: function () { return chunkZ7M4ZGC6_cjs.replaceForeignKeyValue; }
117
116
  });
118
117
  Object.defineProperty(exports, "resolveRefs", {
119
118
  enumerable: true,
120
- get: function () { return chunkV6JTSET2_cjs.resolveRefs; }
119
+ get: function () { return chunkZ7M4ZGC6_cjs.resolveRefs; }
121
120
  });
122
121
  Object.defineProperty(exports, "saveSharedFields", {
123
122
  enumerable: true,
124
- get: function () { return chunkV6JTSET2_cjs.saveSharedFields; }
123
+ get: function () { return chunkZ7M4ZGC6_cjs.saveSharedFields; }
125
124
  });
126
125
  Object.defineProperty(exports, "setValueByPath", {
127
126
  enumerable: true,
128
- get: function () { return chunkV6JTSET2_cjs.setValueByPath; }
127
+ get: function () { return chunkZ7M4ZGC6_cjs.setValueByPath; }
129
128
  });
130
129
  Object.defineProperty(exports, "traverseStore", {
131
130
  enumerable: true,
132
- get: function () { return chunkV6JTSET2_cjs.traverseStore; }
131
+ get: function () { return chunkZ7M4ZGC6_cjs.traverseStore; }
133
132
  });
134
133
  Object.defineProperty(exports, "traverseValue", {
135
134
  enumerable: true,
136
- get: function () { return chunkV6JTSET2_cjs.traverseValue; }
135
+ get: function () { return chunkZ7M4ZGC6_cjs.traverseValue; }
137
136
  });
138
137
  Object.defineProperty(exports, "validateJsonFieldName", {
139
138
  enumerable: true,
140
- get: function () { return chunkV6JTSET2_cjs.validateJsonFieldName; }
139
+ get: function () { return chunkZ7M4ZGC6_cjs.validateJsonFieldName; }
141
140
  });
142
141
  Object.defineProperty(exports, "collectFormulaNodes", {
143
142
  enumerable: true,
@@ -169,23 +168,23 @@ Object.defineProperty(exports, "computeValueDiff", {
169
168
  });
170
169
  Object.defineProperty(exports, "addSharedFieldsFromState", {
171
170
  enumerable: true,
172
- get: function () { return chunkB3T6YB2D_cjs.addSharedFieldsFromState; }
171
+ get: function () { return chunkHH2LDPVV_cjs.addSharedFieldsFromState; }
173
172
  });
174
173
  Object.defineProperty(exports, "createJsonArrayValueStore", {
175
174
  enumerable: true,
176
- get: function () { return chunkB3T6YB2D_cjs.createJsonArrayValueStore; }
175
+ get: function () { return chunkHH2LDPVV_cjs.createJsonArrayValueStore; }
177
176
  });
178
177
  Object.defineProperty(exports, "createJsonObjectValueStore", {
179
178
  enumerable: true,
180
- get: function () { return chunkB3T6YB2D_cjs.createJsonObjectValueStore; }
179
+ get: function () { return chunkHH2LDPVV_cjs.createJsonObjectValueStore; }
181
180
  });
182
181
  Object.defineProperty(exports, "createJsonValueStore", {
183
182
  enumerable: true,
184
- get: function () { return chunkB3T6YB2D_cjs.createJsonValueStore; }
183
+ get: function () { return chunkHH2LDPVV_cjs.createJsonValueStore; }
185
184
  });
186
185
  Object.defineProperty(exports, "createPrimitiveValueStore", {
187
186
  enumerable: true,
188
- get: function () { return chunkB3T6YB2D_cjs.createPrimitiveValueStore; }
187
+ get: function () { return chunkHH2LDPVV_cjs.createPrimitiveValueStore; }
189
188
  });
190
189
  //# sourceMappingURL=index.cjs.map
191
190
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,6 @@
1
- import { i as JsonSchema, f as JsonObjectSchema, e as JsonSchemaPrimitives, b as JsonStringSchema, c as JsonNumberSchema, d as JsonBooleanSchema, g as JsonArraySchema, h as JsonRefSchema } from '../schema.types-B5OgKLpV.cjs';
2
- import { e as JsonPatchReplace, f as JsonPatchRemove, g as JsonPatchAdd, d as JsonPatchMove, h as JsonPatch } from '../json-patch.types-Cu0Medki.cjs';
3
- import { h as JsonSchemaStore, c as JsonObjectStore, g as JsonSchemaStorePrimitives, p as JsonValueStore, l as JsonObjectValueStore, f as JsonArrayStore, m as JsonArrayValueStore, n as JsonValueStorePrimitives } from '../json-string.store-DuI--IL2.cjs';
1
+ import { j as JsonSchema, g as JsonObjectSchema, f as JsonSchemaPrimitives, c as JsonStringSchema, d as JsonNumberSchema, e as JsonBooleanSchema, h as JsonArraySchema, i as JsonRefSchema } from '../schema.types-On_VGw2m.cjs';
2
+ import { e as JsonPatchReplace, f as JsonPatchRemove, g as JsonPatchAdd, d as JsonPatchMove, h as JsonPatch } from '../json-patch.types-eM6pYC2P.cjs';
3
+ import { h as JsonSchemaStore, c as JsonObjectStore, g as JsonSchemaStorePrimitives, p as JsonValueStore, l as JsonObjectValueStore, f as JsonArrayStore, m as JsonArrayValueStore, n as JsonValueStorePrimitives } from '../json-string.store-cAOADo23.cjs';
4
4
  export { c as computeValueDiff } from '../computeValueDiff-CNT84rwK.cjs';
5
5
  import { c as JsonValue, J as JsonObject, b as JsonArray, a as JsonPrimitives } from '../json.types-PrMmLhba.cjs';
6
6
  export { EvaluateFormulasOptions, EvaluateFormulasResult, ExtractedFormula, FormulaError, FormulaNode, FormulaValidationError, SchemaValidationResult, collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, validateFormulaAgainstSchema, validateSchemaFormulas } from '../formula/index.cjs';
@@ -1,6 +1,6 @@
1
- import { i as JsonSchema, f as JsonObjectSchema, e as JsonSchemaPrimitives, b as JsonStringSchema, c as JsonNumberSchema, d as JsonBooleanSchema, g as JsonArraySchema, h as JsonRefSchema } from '../schema.types-B5OgKLpV.js';
2
- import { e as JsonPatchReplace, f as JsonPatchRemove, g as JsonPatchAdd, d as JsonPatchMove, h as JsonPatch } from '../json-patch.types-DY7k9hxy.js';
3
- import { h as JsonSchemaStore, c as JsonObjectStore, g as JsonSchemaStorePrimitives, p as JsonValueStore, l as JsonObjectValueStore, f as JsonArrayStore, m as JsonArrayValueStore, n as JsonValueStorePrimitives } from '../json-string.store-C58zbl31.js';
1
+ import { j as JsonSchema, g as JsonObjectSchema, f as JsonSchemaPrimitives, c as JsonStringSchema, d as JsonNumberSchema, e as JsonBooleanSchema, h as JsonArraySchema, i as JsonRefSchema } from '../schema.types-On_VGw2m.js';
2
+ import { e as JsonPatchReplace, f as JsonPatchRemove, g as JsonPatchAdd, d as JsonPatchMove, h as JsonPatch } from '../json-patch.types-BpVnp08Z.js';
3
+ import { h as JsonSchemaStore, c as JsonObjectStore, g as JsonSchemaStorePrimitives, p as JsonValueStore, l as JsonObjectValueStore, f as JsonArrayStore, m as JsonArrayValueStore, n as JsonValueStorePrimitives } from '../json-string.store-DfdLcgnM.js';
4
4
  export { c as computeValueDiff } from '../computeValueDiff-CDwbNw8F.js';
5
5
  import { c as JsonValue, J as JsonObject, b as JsonArray, a as JsonPrimitives } from '../json.types-PrMmLhba.js';
6
6
  export { EvaluateFormulasOptions, EvaluateFormulasResult, ExtractedFormula, FormulaError, FormulaNode, FormulaValidationError, SchemaValidationResult, collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, validateFormulaAgainstSchema, validateSchemaFormulas } from '../formula/index.js';
package/dist/lib/index.js CHANGED
@@ -1,10 +1,9 @@
1
- export { SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonObjectSchemaStore, createJsonSchemaStore, createPrimitiveStoreBySchema, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from '../chunk-QEV4Q4TR.js';
1
+ export { SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonObjectSchemaStore, createJsonSchemaStore, createPrimitiveStoreBySchema, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from '../chunk-UTSL45Q4.js';
2
2
  export { collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, formulaSpec, validateFormulaAgainstSchema, validateSchemaFormulas } from '../chunk-R3MS2N4A.js';
3
3
  export { computeValueDiff } from '../chunk-YFWOURZL.js';
4
- import '../chunk-LLHQWDAR.js';
5
- import '../chunk-Q2UOTIMG.js';
6
- export { addSharedFieldsFromState, createJsonArrayValueStore, createJsonObjectValueStore, createJsonValueStore, createPrimitiveValueStore } from '../chunk-55AMH44G.js';
7
4
  import '../chunk-ZBPUTF3Q.js';
8
- import '../chunk-MPF6VCB5.js';
5
+ import '../chunk-62A5JJJ3.js';
6
+ import '../chunk-Q2UOTIMG.js';
7
+ export { addSharedFieldsFromState, createJsonArrayValueStore, createJsonObjectValueStore, createJsonValueStore, createPrimitiveValueStore } from '../chunk-TKMR6CQW.js';
9
8
  //# sourceMappingURL=index.js.map
10
9
  //# sourceMappingURL=index.js.map