@revisium/schema-toolkit 0.19.4 → 0.20.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.
- package/dist/{FormulaPathBuilder--okalwdl.d.cts → FormulaPathBuilder-D9LkBcSv.d.cts} +1 -1
- package/dist/{FormulaPathBuilder-rW6PJd-r.d.ts → FormulaPathBuilder-DwlKOvVB.d.ts} +1 -1
- package/dist/{chunk-O4QRUV7I.cjs → chunk-FZ2MS4Q5.cjs} +848 -73
- package/dist/chunk-FZ2MS4Q5.cjs.map +1 -0
- package/dist/{chunk-5BBFBSGI.js → chunk-U5YDA3LA.js} +850 -76
- package/dist/chunk-U5YDA3LA.js.map +1 -0
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/index.cjs +46 -42
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/{json-string.store-DRmQFKrp.d.ts → json-string.store-C58zbl31.d.ts} +1 -1
- package/dist/{json-string.store-DOZn38CI.d.cts → json-string.store-DuI--IL2.d.cts} +1 -1
- package/dist/{json-value-patch.types-U2y_ugm1.d.ts → json-value-patch.types-CgiEpchp.d.ts} +1 -1
- package/dist/{json-value-patch.types-CjBpq5VF.d.cts → json-value-patch.types-LEJxcIWR.d.cts} +1 -1
- package/dist/{json.types-46Cq-WxU.d.cts → json.types-PrMmLhba.d.cts} +1 -1
- package/dist/{json.types-46Cq-WxU.d.ts → json.types-PrMmLhba.d.ts} +1 -1
- package/dist/lib/index.d.cts +2 -2
- package/dist/lib/index.d.ts +2 -2
- package/dist/model/index.cjs +46 -42
- package/dist/model/index.d.cts +130 -99
- package/dist/model/index.d.ts +130 -99
- package/dist/model/index.js +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-5BBFBSGI.js.map +0 -1
- package/dist/chunk-O4QRUV7I.cjs.map +0 -1
package/dist/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as SchemaNode, j as NodeMetadata, k as Formula, P as Path, c as PathSegment, m as SchemaTree, n as SchemaPatch, g as ValidatorFactoryFn, f as ValidatorRule, e as Validator, V as ValidationContext, D as Diagnostic, S as SchemaLike, h as SchemaValidationError, T as TreeFormulaValidationError } from '../FormulaPathBuilder-
|
|
2
|
-
export { o as DefaultValueType, d as DiagnosticSeverity, E as EMPTY_METADATA, F as FormulaDependency, b as FormulaPathBuilder, a as FormulaSerializer, N as NodeType, p as PropertyChange, q as PropertyName, R as ResolvedDependency, i as SchemaValidationErrorType } from '../FormulaPathBuilder-
|
|
1
|
+
import { l as SchemaNode, j as NodeMetadata, k as Formula, P as Path, c as PathSegment, m as SchemaTree, n as SchemaPatch, g as ValidatorFactoryFn, f as ValidatorRule, e as Validator, V as ValidationContext, D as Diagnostic, S as SchemaLike, h as SchemaValidationError, T as TreeFormulaValidationError } from '../FormulaPathBuilder-DwlKOvVB.js';
|
|
2
|
+
export { o as DefaultValueType, d as DiagnosticSeverity, E as EMPTY_METADATA, F as FormulaDependency, b as FormulaPathBuilder, a as FormulaSerializer, N as NodeType, p as PropertyChange, q as PropertyName, R as ResolvedDependency, i as SchemaValidationErrorType } from '../FormulaPathBuilder-DwlKOvVB.js';
|
|
3
3
|
import { C as ContentMediaType, i as JsonSchema, f as JsonObjectSchema } from '../schema.types-B5OgKLpV.js';
|
|
4
4
|
export { a as FieldChange, F as FieldChangeType } from '../types-C_GxaUve.js';
|
|
5
5
|
export { c as computeValueDiff } from '../computeValueDiff-CDwbNw8F.js';
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
require('./chunk-L6HE7QPU.cjs');
|
|
4
4
|
require('./chunk-G6ZKEVVU.cjs');
|
|
5
5
|
var chunkIPL2CGVA_cjs = require('./chunk-IPL2CGVA.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkFZ2MS4Q5_cjs = require('./chunk-FZ2MS4Q5.cjs');
|
|
7
7
|
var chunk46ME2TAU_cjs = require('./chunk-46ME2TAU.cjs');
|
|
8
8
|
require('./chunk-TBFTADML.cjs');
|
|
9
9
|
var chunkVGADCIBG_cjs = require('./chunk-VGADCIBG.cjs');
|
|
@@ -25,167 +25,171 @@ Object.defineProperty(exports, "CustomSchemeKeywords", {
|
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "ArrayToItemsTypeTransformer", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ArrayToItemsTypeTransformer; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "ArrayValueNode", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ArrayValueNode; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "BasePrimitiveValueNode", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkFZ2MS4Q5_cjs.BasePrimitiveValueNode; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "BaseValueNode", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkFZ2MS4Q5_cjs.BaseValueNode; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "BooleanValueNode", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkFZ2MS4Q5_cjs.BooleanValueNode; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "DataModelImpl", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkFZ2MS4Q5_cjs.DataModelImpl; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "DefaultTransformer", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkFZ2MS4Q5_cjs.DefaultTransformer; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "ForeignKeyNotFoundError", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ForeignKeyNotFoundError; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "ForeignKeyResolverImpl", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ForeignKeyResolverImpl; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "ForeignKeyResolverNotConfiguredError", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ForeignKeyResolverNotConfiguredError; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "ForeignKeyValueNodeImpl", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ForeignKeyValueNodeImpl; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "FormulaChangeDetector", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkFZ2MS4Q5_cjs.FormulaChangeDetector; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "FormulaDependencyIndex", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkFZ2MS4Q5_cjs.FormulaDependencyIndex; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "FormulaPath", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkFZ2MS4Q5_cjs.FormulaPath; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "NodeFactory", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkFZ2MS4Q5_cjs.NodeFactory; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "NodeFactoryRegistry", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkFZ2MS4Q5_cjs.NodeFactoryRegistry; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "NumberValueNode", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkFZ2MS4Q5_cjs.NumberValueNode; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "ObjectToArrayTransformer", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ObjectToArrayTransformer; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "ObjectValueNode", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ObjectValueNode; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "ParsedFormula", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ParsedFormula; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "PrimitiveToArrayTransformer", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkFZ2MS4Q5_cjs.PrimitiveToArrayTransformer; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "RefTransformer", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkFZ2MS4Q5_cjs.RefTransformer; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "RowModelImpl", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkFZ2MS4Q5_cjs.RowModelImpl; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "SchemaParser", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkFZ2MS4Q5_cjs.SchemaParser; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "StringValueNode", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkFZ2MS4Q5_cjs.StringValueNode; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "TableModelImpl", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkFZ2MS4Q5_cjs.TableModelImpl; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "TypeTransformChain", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkFZ2MS4Q5_cjs.TypeTransformChain; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "ValueNodeFactory", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkFZ2MS4Q5_cjs.NodeFactory2; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "ValueType", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ValueType; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "createDataModel", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createDataModel; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "createDefaultRegistry", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createDefaultRegistry; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "createForeignKeyResolver", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createForeignKeyResolver; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "createNodeFactory", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createNodeFactory; }
|
|
157
|
+
});
|
|
158
|
+
Object.defineProperty(exports, "createRowModel", {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createRowModel; }
|
|
157
161
|
});
|
|
158
162
|
Object.defineProperty(exports, "createSchemaModel", {
|
|
159
163
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createSchemaModel; }
|
|
161
165
|
});
|
|
162
166
|
Object.defineProperty(exports, "createTableModel", {
|
|
163
167
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createTableModel; }
|
|
165
169
|
});
|
|
166
170
|
Object.defineProperty(exports, "createTypeTransformChain", {
|
|
167
171
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createTypeTransformChain; }
|
|
169
173
|
});
|
|
170
174
|
Object.defineProperty(exports, "extractFormulaDefinition", {
|
|
171
175
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkFZ2MS4Q5_cjs.extractFormulaDefinition; }
|
|
173
177
|
});
|
|
174
178
|
Object.defineProperty(exports, "generateDefaultValue", {
|
|
175
179
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkFZ2MS4Q5_cjs.generateDefaultValue; }
|
|
177
181
|
});
|
|
178
182
|
Object.defineProperty(exports, "generateNodeId", {
|
|
179
183
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkFZ2MS4Q5_cjs.generateNodeId; }
|
|
181
185
|
});
|
|
182
186
|
Object.defineProperty(exports, "isForeignKeyValueNode", {
|
|
183
187
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkFZ2MS4Q5_cjs.isForeignKeyValueNode; }
|
|
185
189
|
});
|
|
186
190
|
Object.defineProperty(exports, "resetNodeIdCounter", {
|
|
187
191
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkFZ2MS4Q5_cjs.resetNodeIdCounter; }
|
|
189
193
|
});
|
|
190
194
|
Object.defineProperty(exports, "ChangeCoalescer", {
|
|
191
195
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue } from './json.types-
|
|
1
|
+
export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue } from './json.types-PrMmLhba.cjs';
|
|
2
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-
|
|
3
|
+
export { d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace } from './json-value-patch.types-LEJxcIWR.cjs';
|
|
4
4
|
export { InitMigration, Migration, RemoveMigration, RenameMigration, UpdateMigration } from './types/index.cjs';
|
|
5
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';
|
|
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
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';
|
|
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-
|
|
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, SchemaModel, SchemaModelOptions, SchemaParser, SimpleFieldType, StringValueNode, TableModel, TableModelImpl, TableModelLike, TableModelOptions, TransformContext, TransformResult, TypeTransformChain, TypeTransformChainOptions, TypeTransformer, ValueNode, ValueNodeFactory, ValueNodeOptions, ValueTreeLike, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, 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
|
|
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';
|
|
13
13
|
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
14
|
export { c as computeValueDiff } from './computeValueDiff-CNT84rwK.cjs';
|
|
15
15
|
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,15 @@
|
|
|
1
|
-
export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue } from './json.types-
|
|
1
|
+
export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue } from './json.types-PrMmLhba.js';
|
|
2
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-
|
|
3
|
+
export { d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace } from './json-value-patch.types-CgiEpchp.js';
|
|
4
4
|
export { InitMigration, Migration, RemoveMigration, RenameMigration, UpdateMigration } from './types/index.js';
|
|
5
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';
|
|
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
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';
|
|
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-
|
|
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, SchemaModel, SchemaModelOptions, SchemaParser, SimpleFieldType, StringValueNode, TableModel, TableModelImpl, TableModelLike, TableModelOptions, TransformContext, TransformResult, TypeTransformChain, TypeTransformChainOptions, TypeTransformer, ValueNode, ValueNodeFactory, ValueNodeOptions, ValueTreeLike, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, 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-
|
|
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';
|
|
13
13
|
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
14
|
export { c as computeValueDiff } from './computeValueDiff-CDwbNw8F.js';
|
|
15
15
|
export { EvaluateFormulasOptions, EvaluateFormulasResult, ExtractedFormula, FormulaError, FormulaNode, FormulaValidationError, SchemaValidationResult, collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, validateFormulaAgainstSchema, validateSchemaFormulas } from './formula/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './chunk-3FJZMVWA.js';
|
|
2
2
|
import './chunk-NY3H6C7K.js';
|
|
3
3
|
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, createSchemaModel, createTableModel, createTypeTransformChain, extractFormulaDefinition, generateDefaultValue, generateNodeId, isForeignKeyValueNode, resetNodeIdCounter } from './chunk-
|
|
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
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
6
|
import './chunk-3IKI64T2.js';
|
|
7
7
|
export { arr, bool, getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema, num, obj, ref, str } from './chunk-R4CFU33U.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from 'eventemitter3';
|
|
2
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';
|
|
3
|
-
import { J as JsonObject, b as JsonArray } from './json.types-
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from 'eventemitter3';
|
|
2
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';
|
|
3
|
-
import { J as JsonObject, b as JsonArray } from './json.types-
|
|
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;
|
package/dist/lib/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
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
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-
|
|
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';
|
|
4
4
|
export { c as computeValueDiff } from '../computeValueDiff-CNT84rwK.cjs';
|
|
5
|
-
import { c as JsonValue, J as JsonObject, b as JsonArray, a as JsonPrimitives } from '../json.types-
|
|
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';
|
|
7
7
|
export { formulaSpec } from '@revisium/formula/spec';
|
|
8
8
|
import 'eventemitter3';
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
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
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-
|
|
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';
|
|
4
4
|
export { c as computeValueDiff } from '../computeValueDiff-CDwbNw8F.js';
|
|
5
|
-
import { c as JsonValue, J as JsonObject, b as JsonArray, a as JsonPrimitives } from '../json.types-
|
|
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';
|
|
7
7
|
export { formulaSpec } from '@revisium/formula/spec';
|
|
8
8
|
import 'eventemitter3';
|
package/dist/model/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFZ2MS4Q5_cjs = require('../chunk-FZ2MS4Q5.cjs');
|
|
4
4
|
var chunk46ME2TAU_cjs = require('../chunk-46ME2TAU.cjs');
|
|
5
5
|
require('../chunk-TBFTADML.cjs');
|
|
6
6
|
require('../chunk-VGADCIBG.cjs');
|
|
@@ -12,167 +12,171 @@ require('../chunk-J6SCHJKG.cjs');
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "ArrayToItemsTypeTransformer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ArrayToItemsTypeTransformer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "ArrayValueNode", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ArrayValueNode; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "BasePrimitiveValueNode", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkFZ2MS4Q5_cjs.BasePrimitiveValueNode; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "BaseValueNode", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkFZ2MS4Q5_cjs.BaseValueNode; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "BooleanValueNode", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkFZ2MS4Q5_cjs.BooleanValueNode; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "DataModelImpl", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkFZ2MS4Q5_cjs.DataModelImpl; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "DefaultTransformer", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkFZ2MS4Q5_cjs.DefaultTransformer; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "ForeignKeyNotFoundError", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ForeignKeyNotFoundError; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "ForeignKeyResolverImpl", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ForeignKeyResolverImpl; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "ForeignKeyResolverNotConfiguredError", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ForeignKeyResolverNotConfiguredError; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "ForeignKeyValueNodeImpl", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ForeignKeyValueNodeImpl; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "FormulaChangeDetector", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkFZ2MS4Q5_cjs.FormulaChangeDetector; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "FormulaDependencyIndex", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkFZ2MS4Q5_cjs.FormulaDependencyIndex; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "FormulaPath", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkFZ2MS4Q5_cjs.FormulaPath; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "NodeFactory", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkFZ2MS4Q5_cjs.NodeFactory; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "NodeFactoryRegistry", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkFZ2MS4Q5_cjs.NodeFactoryRegistry; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "NumberValueNode", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkFZ2MS4Q5_cjs.NumberValueNode; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "ObjectToArrayTransformer", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ObjectToArrayTransformer; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "ObjectValueNode", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ObjectValueNode; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "ParsedFormula", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ParsedFormula; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "PrimitiveToArrayTransformer", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkFZ2MS4Q5_cjs.PrimitiveToArrayTransformer; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "RefTransformer", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkFZ2MS4Q5_cjs.RefTransformer; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "RowModelImpl", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkFZ2MS4Q5_cjs.RowModelImpl; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "SchemaParser", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkFZ2MS4Q5_cjs.SchemaParser; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "StringValueNode", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkFZ2MS4Q5_cjs.StringValueNode; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "TableModelImpl", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkFZ2MS4Q5_cjs.TableModelImpl; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "TypeTransformChain", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkFZ2MS4Q5_cjs.TypeTransformChain; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "ValueNodeFactory", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkFZ2MS4Q5_cjs.NodeFactory2; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "ValueType", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkFZ2MS4Q5_cjs.ValueType; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "createDataModel", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createDataModel; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "createDefaultRegistry", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createDefaultRegistry; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "createForeignKeyResolver", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createForeignKeyResolver; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "createNodeFactory", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createNodeFactory; }
|
|
144
|
+
});
|
|
145
|
+
Object.defineProperty(exports, "createRowModel", {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createRowModel; }
|
|
144
148
|
});
|
|
145
149
|
Object.defineProperty(exports, "createSchemaModel", {
|
|
146
150
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createSchemaModel; }
|
|
148
152
|
});
|
|
149
153
|
Object.defineProperty(exports, "createTableModel", {
|
|
150
154
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createTableModel; }
|
|
152
156
|
});
|
|
153
157
|
Object.defineProperty(exports, "createTypeTransformChain", {
|
|
154
158
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkFZ2MS4Q5_cjs.createTypeTransformChain; }
|
|
156
160
|
});
|
|
157
161
|
Object.defineProperty(exports, "extractFormulaDefinition", {
|
|
158
162
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkFZ2MS4Q5_cjs.extractFormulaDefinition; }
|
|
160
164
|
});
|
|
161
165
|
Object.defineProperty(exports, "generateDefaultValue", {
|
|
162
166
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkFZ2MS4Q5_cjs.generateDefaultValue; }
|
|
164
168
|
});
|
|
165
169
|
Object.defineProperty(exports, "generateNodeId", {
|
|
166
170
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkFZ2MS4Q5_cjs.generateNodeId; }
|
|
168
172
|
});
|
|
169
173
|
Object.defineProperty(exports, "isForeignKeyValueNode", {
|
|
170
174
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkFZ2MS4Q5_cjs.isForeignKeyValueNode; }
|
|
172
176
|
});
|
|
173
177
|
Object.defineProperty(exports, "resetNodeIdCounter", {
|
|
174
178
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkFZ2MS4Q5_cjs.resetNodeIdCounter; }
|
|
176
180
|
});
|
|
177
181
|
Object.defineProperty(exports, "FormulaPathBuilder", {
|
|
178
182
|
enumerable: true,
|