@revisium/schema-toolkit 0.14.2 → 0.15.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.
- package/README.md +1 -1
- package/dist/{chunk-DJ4JPKI4.js → chunk-2NRQPOQY.js} +126 -218
- package/dist/chunk-2NRQPOQY.js.map +1 -0
- package/dist/chunk-3IKI64T2.js +3 -0
- package/dist/{chunk-H7W4QNMA.js.map → chunk-3IKI64T2.js.map} +1 -1
- package/dist/chunk-5WZ4YPH5.cjs +2209 -0
- package/dist/chunk-5WZ4YPH5.cjs.map +1 -0
- package/dist/chunk-A4E524UU.cjs +2179 -0
- package/dist/chunk-A4E524UU.cjs.map +1 -0
- package/dist/{chunk-L5MLJEC7.js → chunk-CYTPQYVM.js} +2 -2
- package/dist/chunk-CYTPQYVM.js.map +1 -0
- package/dist/chunk-F4UBBZAL.js +2147 -0
- package/dist/chunk-F4UBBZAL.js.map +1 -0
- package/dist/{chunk-B22UU3JK.cjs → chunk-GAPLSVZN.cjs} +2 -2
- package/dist/chunk-GAPLSVZN.cjs.map +1 -0
- package/dist/chunk-OP35BPMU.js +2178 -0
- package/dist/chunk-OP35BPMU.js.map +1 -0
- package/dist/chunk-TBFTADML.cjs +4 -0
- package/dist/{chunk-ODCH3PP2.cjs.map → chunk-TBFTADML.cjs.map} +1 -1
- package/dist/chunk-WSPFHUHU.cjs +130 -0
- package/dist/chunk-WSPFHUHU.cjs.map +1 -0
- package/dist/{chunk-VX5C5YMF.cjs → chunk-XS47N22X.cjs} +125 -218
- package/dist/chunk-XS47N22X.cjs.map +1 -0
- package/dist/chunk-YFWOURZL.js +128 -0
- package/dist/chunk-YFWOURZL.js.map +1 -0
- package/dist/{chunk-KJCURW4D.js → chunk-ZBPUTF3Q.js} +3 -3
- package/dist/chunk-ZBPUTF3Q.js.map +1 -0
- package/dist/{chunk-GF3XXYOS.cjs → chunk-ZRNFSUOV.cjs} +3 -3
- package/dist/chunk-ZRNFSUOV.cjs.map +1 -0
- package/dist/computeValueDiff-CDwbNw8F.d.ts +5 -0
- package/dist/computeValueDiff-CNT84rwK.d.cts +5 -0
- package/dist/core/index.cjs +474 -0
- package/dist/core/index.cjs.map +1 -0
- package/dist/core/index.d.cts +313 -0
- package/dist/core/index.d.ts +313 -0
- package/dist/core/index.js +336 -0
- package/dist/core/index.js.map +1 -0
- package/dist/formula/index.d.cts +1 -1
- package/dist/formula/index.d.ts +1 -1
- package/dist/index.cjs +166 -44
- package/dist/index.d.cts +11 -7
- package/dist/index.d.ts +11 -7
- package/dist/index.js +7 -5
- package/dist/{json-patch.types-CYt9TCu3.d.ts → json-patch.types-DTUHS9SV.d.ts} +1 -1
- package/dist/{json-patch.types-DUcWbQRY.d.cts → json-patch.types-eltVqnWC.d.cts} +1 -1
- package/dist/{json-string.store-CcZ197KO.d.cts → json-string.store-DKlkc1u_.d.cts} +1 -1
- package/dist/{json-string.store-DckDcMVN.d.ts → json-string.store-DMrHPJ3v.d.ts} +1 -1
- package/dist/json-value-patch.types-CjBpq5VF.d.cts +24 -0
- package/dist/json-value-patch.types-U2y_ugm1.d.ts +24 -0
- package/dist/lib/index.cjs +40 -39
- package/dist/lib/index.d.cts +6 -7
- package/dist/lib/index.d.ts +6 -7
- package/dist/lib/index.js +4 -3
- package/dist/mocks/index.cjs +1 -1
- package/dist/mocks/index.d.cts +2 -2
- package/dist/mocks/index.d.ts +2 -2
- package/dist/mocks/index.js +1 -1
- package/dist/model/index.cjs +125 -2
- package/dist/model/index.d.cts +582 -4
- package/dist/model/index.d.ts +582 -4
- package/dist/model/index.js +5 -2
- package/dist/plugins/index.cjs +1 -1
- package/dist/plugins/index.d.cts +25 -1
- package/dist/plugins/index.d.ts +25 -1
- package/dist/plugins/index.js +1 -1
- package/dist/{schema.types-CLHMJmkJ.d.cts → schema.types-ZX5fUW1X.d.cts} +6 -0
- package/dist/{schema.types-CLHMJmkJ.d.ts → schema.types-ZX5fUW1X.d.ts} +6 -0
- package/dist/types/index.cjs +5 -5
- package/dist/types/index.d.cts +8 -29
- package/dist/types/index.d.ts +8 -29
- package/dist/types/index.js +3 -3
- package/dist/{value-diff.types-BRoI_kGE.d.cts → types-C_GxaUve.d.cts} +4 -4
- package/dist/{value-diff.types-BRoI_kGE.d.ts → types-C_GxaUve.d.ts} +4 -4
- package/dist/types-CwJ2OWO_.d.cts +183 -0
- package/dist/types-XDWz0V1v.d.ts +183 -0
- package/package.json +15 -2
- package/dist/chunk-B22UU3JK.cjs.map +0 -1
- package/dist/chunk-DJ4JPKI4.js.map +0 -1
- package/dist/chunk-GF3XXYOS.cjs.map +0 -1
- package/dist/chunk-H7W4QNMA.js +0 -3
- package/dist/chunk-KJCURW4D.js.map +0 -1
- package/dist/chunk-L5MLJEC7.js.map +0 -1
- package/dist/chunk-ODCH3PP2.cjs +0 -4
- package/dist/chunk-SBJFTOWW.js +0 -3
- package/dist/chunk-SBJFTOWW.js.map +0 -1
- package/dist/chunk-VX5C5YMF.cjs.map +0 -1
- package/dist/chunk-XAFOMEOK.cjs +0 -4
- package/dist/chunk-XAFOMEOK.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./chunk-XAFOMEOK.cjs');
|
|
4
3
|
var chunkEJYILFAK_cjs = require('./chunk-EJYILFAK.cjs');
|
|
5
4
|
var chunkIPL2CGVA_cjs = require('./chunk-IPL2CGVA.cjs');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
|
|
5
|
+
var chunk5WZ4YPH5_cjs = require('./chunk-5WZ4YPH5.cjs');
|
|
6
|
+
require('./chunk-A4E524UU.cjs');
|
|
7
|
+
require('./chunk-TBFTADML.cjs');
|
|
8
|
+
var chunkXS47N22X_cjs = require('./chunk-XS47N22X.cjs');
|
|
8
9
|
var chunkX2VRR7V7_cjs = require('./chunk-X2VRR7V7.cjs');
|
|
9
|
-
var
|
|
10
|
+
var chunkWSPFHUHU_cjs = require('./chunk-WSPFHUHU.cjs');
|
|
10
11
|
var chunkEGC32GPY_cjs = require('./chunk-EGC32GPY.cjs');
|
|
11
12
|
var chunkXNFSFT7T_cjs = require('./chunk-XNFSFT7T.cjs');
|
|
12
13
|
var chunkTMWPWGUN_cjs = require('./chunk-TMWPWGUN.cjs');
|
|
13
|
-
var
|
|
14
|
+
var chunkZRNFSUOV_cjs = require('./chunk-ZRNFSUOV.cjs');
|
|
15
|
+
var chunkGAPLSVZN_cjs = require('./chunk-GAPLSVZN.cjs');
|
|
14
16
|
var chunk32FZHFIO_cjs = require('./chunk-32FZHFIO.cjs');
|
|
15
17
|
|
|
16
18
|
|
|
@@ -59,137 +61,253 @@ Object.defineProperty(exports, "CustomSchemeKeywords", {
|
|
|
59
61
|
enumerable: true,
|
|
60
62
|
get: function () { return chunkIPL2CGVA_cjs.CustomSchemeKeywords; }
|
|
61
63
|
});
|
|
64
|
+
Object.defineProperty(exports, "ArrayValueNode", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunk5WZ4YPH5_cjs.ArrayValueNode; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "BasePrimitiveValueNode", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunk5WZ4YPH5_cjs.BasePrimitiveValueNode; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "BaseValueNode", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunk5WZ4YPH5_cjs.BaseValueNode; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "BooleanValueNode", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunk5WZ4YPH5_cjs.BooleanValueNode; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "DataModelImpl", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunk5WZ4YPH5_cjs.DataModelImpl; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "ForeignKeyNotFoundError", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunk5WZ4YPH5_cjs.ForeignKeyNotFoundError; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "ForeignKeyResolverImpl", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunk5WZ4YPH5_cjs.ForeignKeyResolverImpl; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "ForeignKeyResolverNotConfiguredError", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunk5WZ4YPH5_cjs.ForeignKeyResolverNotConfiguredError; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "ForeignKeyValueNodeImpl", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunk5WZ4YPH5_cjs.ForeignKeyValueNodeImpl; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "NodeFactory", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunk5WZ4YPH5_cjs.NodeFactory; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "NodeFactoryRegistry", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunk5WZ4YPH5_cjs.NodeFactoryRegistry; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "NumberValueNode", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunk5WZ4YPH5_cjs.NumberValueNode; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "ObjectValueNode", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunk5WZ4YPH5_cjs.ObjectValueNode; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "RowModelImpl", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunk5WZ4YPH5_cjs.RowModelImpl; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "SchemaParser", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunk5WZ4YPH5_cjs.SchemaParser; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "StringValueNode", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunk5WZ4YPH5_cjs.StringValueNode; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "TableModelImpl", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunk5WZ4YPH5_cjs.TableModelImpl; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "ValueNodeFactory", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunk5WZ4YPH5_cjs.NodeFactory2; }
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(exports, "ValueType", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return chunk5WZ4YPH5_cjs.ValueType; }
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "createDataModel", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function () { return chunk5WZ4YPH5_cjs.createDataModel; }
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "createDefaultRegistry", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () { return chunk5WZ4YPH5_cjs.createDefaultRegistry; }
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "createForeignKeyResolver", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return chunk5WZ4YPH5_cjs.createForeignKeyResolver; }
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "createNodeFactory", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function () { return chunk5WZ4YPH5_cjs.createNodeFactory; }
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "createSchemaModel", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () { return chunk5WZ4YPH5_cjs.createSchemaModel; }
|
|
159
|
+
});
|
|
160
|
+
Object.defineProperty(exports, "createTableModel", {
|
|
161
|
+
enumerable: true,
|
|
162
|
+
get: function () { return chunk5WZ4YPH5_cjs.createTableModel; }
|
|
163
|
+
});
|
|
164
|
+
Object.defineProperty(exports, "extractFormulaDefinition", {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: function () { return chunk5WZ4YPH5_cjs.extractFormulaDefinition; }
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "generateDefaultValue", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function () { return chunk5WZ4YPH5_cjs.generateDefaultValue; }
|
|
171
|
+
});
|
|
172
|
+
Object.defineProperty(exports, "generateNodeId", {
|
|
173
|
+
enumerable: true,
|
|
174
|
+
get: function () { return chunk5WZ4YPH5_cjs.generateNodeId; }
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(exports, "isForeignKeyValueNode", {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: function () { return chunk5WZ4YPH5_cjs.isForeignKeyValueNode; }
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "resetNodeIdCounter", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () { return chunk5WZ4YPH5_cjs.resetNodeIdCounter; }
|
|
183
|
+
});
|
|
62
184
|
Object.defineProperty(exports, "SchemaTable", {
|
|
63
185
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkXS47N22X_cjs.SchemaTable; }
|
|
65
187
|
});
|
|
66
188
|
Object.defineProperty(exports, "VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE", {
|
|
67
189
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkXS47N22X_cjs.VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE; }
|
|
69
191
|
});
|
|
70
192
|
Object.defineProperty(exports, "applyAddPatch", {
|
|
71
193
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkXS47N22X_cjs.applyAddPatch; }
|
|
73
195
|
});
|
|
74
196
|
Object.defineProperty(exports, "applyMovePatch", {
|
|
75
197
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkXS47N22X_cjs.applyMovePatch; }
|
|
77
199
|
});
|
|
78
200
|
Object.defineProperty(exports, "applyRemovePatch", {
|
|
79
201
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkXS47N22X_cjs.applyRemovePatch; }
|
|
81
203
|
});
|
|
82
204
|
Object.defineProperty(exports, "applyReplacePatch", {
|
|
83
205
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
85
|
-
});
|
|
86
|
-
Object.defineProperty(exports, "computeValueDiff", {
|
|
87
|
-
enumerable: true,
|
|
88
|
-
get: function () { return chunkVX5C5YMF_cjs.computeValueDiff; }
|
|
206
|
+
get: function () { return chunkXS47N22X_cjs.applyReplacePatch; }
|
|
89
207
|
});
|
|
90
208
|
Object.defineProperty(exports, "convertJsonPathToSchemaPath", {
|
|
91
209
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkXS47N22X_cjs.convertJsonPathToSchemaPath; }
|
|
93
211
|
});
|
|
94
212
|
Object.defineProperty(exports, "convertSchemaPathToJsonPath", {
|
|
95
213
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunkXS47N22X_cjs.convertSchemaPathToJsonPath; }
|
|
97
215
|
});
|
|
98
216
|
Object.defineProperty(exports, "createJsonObjectSchemaStore", {
|
|
99
217
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunkXS47N22X_cjs.createJsonObjectSchemaStore; }
|
|
101
219
|
});
|
|
102
220
|
Object.defineProperty(exports, "createJsonSchemaStore", {
|
|
103
221
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
222
|
+
get: function () { return chunkXS47N22X_cjs.createJsonSchemaStore; }
|
|
105
223
|
});
|
|
106
224
|
Object.defineProperty(exports, "createPrimitiveStoreBySchema", {
|
|
107
225
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkXS47N22X_cjs.createPrimitiveStoreBySchema; }
|
|
109
227
|
});
|
|
110
228
|
Object.defineProperty(exports, "deepEqual", {
|
|
111
229
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkXS47N22X_cjs.deepEqual; }
|
|
113
231
|
});
|
|
114
232
|
Object.defineProperty(exports, "getDBJsonPathByJsonSchemaStore", {
|
|
115
233
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
234
|
+
get: function () { return chunkXS47N22X_cjs.getDBJsonPathByJsonSchemaStore; }
|
|
117
235
|
});
|
|
118
236
|
Object.defineProperty(exports, "getForeignKeyPatchesFromSchema", {
|
|
119
237
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
238
|
+
get: function () { return chunkXS47N22X_cjs.getForeignKeyPatchesFromSchema; }
|
|
121
239
|
});
|
|
122
240
|
Object.defineProperty(exports, "getForeignKeysFromSchema", {
|
|
123
241
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
242
|
+
get: function () { return chunkXS47N22X_cjs.getForeignKeysFromSchema; }
|
|
125
243
|
});
|
|
126
244
|
Object.defineProperty(exports, "getForeignKeysFromValue", {
|
|
127
245
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
246
|
+
get: function () { return chunkXS47N22X_cjs.getForeignKeysFromValue; }
|
|
129
247
|
});
|
|
130
248
|
Object.defineProperty(exports, "getInvalidFieldNamesInSchema", {
|
|
131
249
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
250
|
+
get: function () { return chunkXS47N22X_cjs.getInvalidFieldNamesInSchema; }
|
|
133
251
|
});
|
|
134
252
|
Object.defineProperty(exports, "getJsonSchemaStoreByPath", {
|
|
135
253
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
254
|
+
get: function () { return chunkXS47N22X_cjs.getJsonSchemaStoreByPath; }
|
|
137
255
|
});
|
|
138
256
|
Object.defineProperty(exports, "getJsonValueStoreByPath", {
|
|
139
257
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
258
|
+
get: function () { return chunkXS47N22X_cjs.getJsonValueStoreByPath; }
|
|
141
259
|
});
|
|
142
260
|
Object.defineProperty(exports, "getParentForPath", {
|
|
143
261
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
262
|
+
get: function () { return chunkXS47N22X_cjs.getParentForPath; }
|
|
145
263
|
});
|
|
146
264
|
Object.defineProperty(exports, "getPathByStore", {
|
|
147
265
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
266
|
+
get: function () { return chunkXS47N22X_cjs.getPathByStore; }
|
|
149
267
|
});
|
|
150
268
|
Object.defineProperty(exports, "getValueByPath", {
|
|
151
269
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
270
|
+
get: function () { return chunkXS47N22X_cjs.getValueByPath; }
|
|
153
271
|
});
|
|
154
272
|
Object.defineProperty(exports, "hasPath", {
|
|
155
273
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
274
|
+
get: function () { return chunkXS47N22X_cjs.hasPath; }
|
|
157
275
|
});
|
|
158
276
|
Object.defineProperty(exports, "parsePath", {
|
|
159
277
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
278
|
+
get: function () { return chunkXS47N22X_cjs.parsePath; }
|
|
161
279
|
});
|
|
162
280
|
Object.defineProperty(exports, "pluginRefs", {
|
|
163
281
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
282
|
+
get: function () { return chunkXS47N22X_cjs.pluginRefs; }
|
|
165
283
|
});
|
|
166
284
|
Object.defineProperty(exports, "replaceForeignKeyValue", {
|
|
167
285
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
286
|
+
get: function () { return chunkXS47N22X_cjs.replaceForeignKeyValue; }
|
|
169
287
|
});
|
|
170
288
|
Object.defineProperty(exports, "resolveRefs", {
|
|
171
289
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
290
|
+
get: function () { return chunkXS47N22X_cjs.resolveRefs; }
|
|
173
291
|
});
|
|
174
292
|
Object.defineProperty(exports, "saveSharedFields", {
|
|
175
293
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
294
|
+
get: function () { return chunkXS47N22X_cjs.saveSharedFields; }
|
|
177
295
|
});
|
|
178
296
|
Object.defineProperty(exports, "setValueByPath", {
|
|
179
297
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
298
|
+
get: function () { return chunkXS47N22X_cjs.setValueByPath; }
|
|
181
299
|
});
|
|
182
300
|
Object.defineProperty(exports, "traverseStore", {
|
|
183
301
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
302
|
+
get: function () { return chunkXS47N22X_cjs.traverseStore; }
|
|
185
303
|
});
|
|
186
304
|
Object.defineProperty(exports, "traverseValue", {
|
|
187
305
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
306
|
+
get: function () { return chunkXS47N22X_cjs.traverseValue; }
|
|
189
307
|
});
|
|
190
308
|
Object.defineProperty(exports, "validateJsonFieldName", {
|
|
191
309
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
310
|
+
get: function () { return chunkXS47N22X_cjs.validateJsonFieldName; }
|
|
193
311
|
});
|
|
194
312
|
Object.defineProperty(exports, "collectFormulaNodes", {
|
|
195
313
|
enumerable: true,
|
|
@@ -215,9 +333,9 @@ Object.defineProperty(exports, "validateSchemaFormulas", {
|
|
|
215
333
|
enumerable: true,
|
|
216
334
|
get: function () { return chunkX2VRR7V7_cjs.validateSchemaFormulas; }
|
|
217
335
|
});
|
|
218
|
-
Object.defineProperty(exports, "
|
|
336
|
+
Object.defineProperty(exports, "computeValueDiff", {
|
|
219
337
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
338
|
+
get: function () { return chunkWSPFHUHU_cjs.computeValueDiff; }
|
|
221
339
|
});
|
|
222
340
|
Object.defineProperty(exports, "ajvFileSchema", {
|
|
223
341
|
enumerable: true,
|
|
@@ -411,9 +529,13 @@ Object.defineProperty(exports, "toArrayTransformation", {
|
|
|
411
529
|
enumerable: true,
|
|
412
530
|
get: function () { return chunkTMWPWGUN_cjs.toArrayTransformation; }
|
|
413
531
|
});
|
|
532
|
+
Object.defineProperty(exports, "FieldChangeType", {
|
|
533
|
+
enumerable: true,
|
|
534
|
+
get: function () { return chunkZRNFSUOV_cjs.FieldChangeType; }
|
|
535
|
+
});
|
|
414
536
|
Object.defineProperty(exports, "JsonSchemaTypeName", {
|
|
415
537
|
enumerable: true,
|
|
416
|
-
get: function () { return
|
|
538
|
+
get: function () { return chunkGAPLSVZN_cjs.JsonSchemaTypeName; }
|
|
417
539
|
});
|
|
418
540
|
Object.defineProperty(exports, "arrayMetaSchema", {
|
|
419
541
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue } from './json.types-46Cq-WxU.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-
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export { a as
|
|
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-eltVqnWC.cjs';
|
|
3
|
+
export { d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace } from './json-value-patch.types-CjBpq5VF.cjs';
|
|
4
|
+
export { InitMigration, Migration, RemoveMigration, RenameMigration, UpdateMigration } from './types/index.cjs';
|
|
5
|
+
export { 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-ZX5fUW1X.cjs';
|
|
6
|
+
export { a as FieldChange, F as FieldChangeType } from './types-C_GxaUve.cjs';
|
|
6
7
|
export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './plugins/index.cjs';
|
|
7
8
|
export { getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema } from './mocks/index.cjs';
|
|
8
9
|
export { CustomSchemeKeywords } from './consts/index.cjs';
|
|
9
|
-
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-
|
|
10
|
-
export { equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, getTransformation, toArrayTransformation } from './model/index.cjs';
|
|
11
|
-
export { GetForeignKeysFromValueType, RefsType, ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch,
|
|
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-DKlkc1u_.cjs';
|
|
11
|
+
export { ArrayNodeOptions, ArrayValueNode, ArrayValueNodeInterface, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, DataModel, DataModelImpl, DataModelOptions, DirtyTrackable, FieldType, ForeignKeyLoader, ForeignKeyLoaderResult, ForeignKeyNotFoundError, ForeignKeyResolver, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, ForeignKeyResolverOptions, ForeignKeyRowLoaderResult, ForeignKeyValueNode, ForeignKeyValueNodeImpl, FormulaDefinition, FormulaWarning, GenerateDefaultValueOptions, NodeFactory, NodeFactoryFn, NodeFactoryOptions, NodeFactoryRegistry, NumberValueNode, ObjectNodeOptions, ObjectValueNode, ObjectValueNodeInterface, PrimitiveNodeOptions, PrimitiveValueNode, ReactivityOptions, RefSchemas, RowData, RowModel, RowModelImpl, SchemaModel, SchemaParser, StringValueNode, TableModel, TableModelImpl, TableModelLike, TableModelOptions, ValueNode, ValueNodeFactory, ValueNodeOptions, ValueTreeLike, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, createSchemaModel, createTableModel, 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 { 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';
|
|
13
|
+
export { c as computeValueDiff } from './computeValueDiff-CNT84rwK.cjs';
|
|
12
14
|
export { EvaluateFormulasOptions, EvaluateFormulasResult, ExtractedFormula, FormulaError, FormulaNode, FormulaValidationError, SchemaValidationResult, collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, validateFormulaAgainstSchema, validateSchemaFormulas } from './formula/index.cjs';
|
|
13
15
|
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, foreignKeyExcludesFormula, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema, xFormulaRequiresReadOnly, xFormulaSchema } from './validation-schemas/index.cjs';
|
|
14
16
|
export { S as SystemSchemaIds } from './system-schema-ids-B-2xMN-1.cjs';
|
|
15
17
|
export { formulaSpec } from '@revisium/formula/spec';
|
|
16
18
|
import 'node:events';
|
|
19
|
+
import './types-CwJ2OWO_.cjs';
|
|
20
|
+
import '@revisium/formula';
|
|
17
21
|
import 'ajv/dist/2020';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue } from './json.types-46Cq-WxU.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-
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export { a as
|
|
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-DTUHS9SV.js';
|
|
3
|
+
export { d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace } from './json-value-patch.types-U2y_ugm1.js';
|
|
4
|
+
export { InitMigration, Migration, RemoveMigration, RenameMigration, UpdateMigration } from './types/index.js';
|
|
5
|
+
export { 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-ZX5fUW1X.js';
|
|
6
|
+
export { a as FieldChange, F as FieldChangeType } from './types-C_GxaUve.js';
|
|
6
7
|
export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './plugins/index.js';
|
|
7
8
|
export { getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema } from './mocks/index.js';
|
|
8
9
|
export { CustomSchemeKeywords } from './consts/index.js';
|
|
9
|
-
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-
|
|
10
|
-
export { equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, getTransformation, toArrayTransformation } from './model/index.js';
|
|
11
|
-
export { GetForeignKeysFromValueType, RefsType, ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch,
|
|
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-DMrHPJ3v.js';
|
|
11
|
+
export { ArrayNodeOptions, ArrayValueNode, ArrayValueNodeInterface, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, DataModel, DataModelImpl, DataModelOptions, DirtyTrackable, FieldType, ForeignKeyLoader, ForeignKeyLoaderResult, ForeignKeyNotFoundError, ForeignKeyResolver, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, ForeignKeyResolverOptions, ForeignKeyRowLoaderResult, ForeignKeyValueNode, ForeignKeyValueNodeImpl, FormulaDefinition, FormulaWarning, GenerateDefaultValueOptions, NodeFactory, NodeFactoryFn, NodeFactoryOptions, NodeFactoryRegistry, NumberValueNode, ObjectNodeOptions, ObjectValueNode, ObjectValueNodeInterface, PrimitiveNodeOptions, PrimitiveValueNode, ReactivityOptions, RefSchemas, RowData, RowModel, RowModelImpl, SchemaModel, SchemaParser, StringValueNode, TableModel, TableModelImpl, TableModelLike, TableModelOptions, ValueNode, ValueNodeFactory, ValueNodeOptions, ValueTreeLike, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, createSchemaModel, createTableModel, 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 { 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';
|
|
13
|
+
export { c as computeValueDiff } from './computeValueDiff-CDwbNw8F.js';
|
|
12
14
|
export { EvaluateFormulasOptions, EvaluateFormulasResult, ExtractedFormula, FormulaError, FormulaNode, FormulaValidationError, SchemaValidationResult, collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, validateFormulaAgainstSchema, validateSchemaFormulas } from './formula/index.js';
|
|
13
15
|
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, foreignKeyExcludesFormula, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema, xFormulaRequiresReadOnly, xFormulaSchema } from './validation-schemas/index.js';
|
|
14
16
|
export { S as SystemSchemaIds } from './system-schema-ids-B-2xMN-1.js';
|
|
15
17
|
export { formulaSpec } from '@revisium/formula/spec';
|
|
16
18
|
import 'node:events';
|
|
19
|
+
import './types-XDWz0V1v.js';
|
|
20
|
+
import '@revisium/formula';
|
|
17
21
|
import 'ajv/dist/2020';
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import './chunk-SBJFTOWW.js';
|
|
2
1
|
export { getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema } from './chunk-AORPUIKD.js';
|
|
3
2
|
export { CustomSchemeKeywords } from './chunk-5VDDLW7U.js';
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export { ArrayValueNode, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, DataModelImpl, ForeignKeyNotFoundError, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, ForeignKeyValueNodeImpl, NodeFactory, NodeFactoryRegistry, NumberValueNode, ObjectValueNode, RowModelImpl, SchemaParser, StringValueNode, TableModelImpl, NodeFactory2 as ValueNodeFactory, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, createSchemaModel, createTableModel, extractFormulaDefinition, generateDefaultValue, generateNodeId, isForeignKeyValueNode, resetNodeIdCounter } from './chunk-OP35BPMU.js';
|
|
4
|
+
import './chunk-F4UBBZAL.js';
|
|
5
|
+
import './chunk-3IKI64T2.js';
|
|
6
|
+
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-2NRQPOQY.js';
|
|
6
7
|
export { collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, formulaSpec, validateFormulaAgainstSchema, validateSchemaFormulas } from './chunk-R3MS2N4A.js';
|
|
7
|
-
export {
|
|
8
|
+
export { computeValueDiff } from './chunk-YFWOURZL.js';
|
|
8
9
|
export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './chunk-LLHQWDAR.js';
|
|
9
10
|
export { SystemSchemaIds } from './chunk-Q2UOTIMG.js';
|
|
10
11
|
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-HY4VE7H2.js';
|
|
11
|
-
export {
|
|
12
|
+
export { FieldChangeType } from './chunk-ZBPUTF3Q.js';
|
|
13
|
+
export { JsonSchemaTypeName } from './chunk-CYTPQYVM.js';
|
|
12
14
|
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, foreignKeyExcludesFormula, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema, xFormulaRequiresReadOnly, xFormulaSchema } from './chunk-JUOGJFTL.js';
|
|
13
15
|
//# sourceMappingURL=index.js.map
|
|
14
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from 'node:events';
|
|
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-
|
|
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-ZX5fUW1X.cjs';
|
|
3
3
|
import { J as JsonObject, b as JsonArray } from './json.types-46Cq-WxU.cjs';
|
|
4
4
|
|
|
5
5
|
declare class JsonBooleanStore extends EventEmitter implements JsonBooleanSchema {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from 'node:events';
|
|
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-
|
|
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-ZX5fUW1X.js';
|
|
3
3
|
import { J as JsonObject, b as JsonArray } from './json.types-46Cq-WxU.js';
|
|
4
4
|
|
|
5
5
|
declare class JsonBooleanStore extends EventEmitter implements JsonBooleanSchema {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { c as JsonValue } from './json.types-46Cq-WxU.cjs';
|
|
2
|
+
|
|
3
|
+
type JsonValuePatchMove = {
|
|
4
|
+
op: 'move';
|
|
5
|
+
from: string;
|
|
6
|
+
path: string;
|
|
7
|
+
};
|
|
8
|
+
type JsonValuePatchReplace = {
|
|
9
|
+
op: 'replace';
|
|
10
|
+
path: string;
|
|
11
|
+
value: JsonValue;
|
|
12
|
+
};
|
|
13
|
+
type JsonValuePatchRemove = {
|
|
14
|
+
op: 'remove';
|
|
15
|
+
path: string;
|
|
16
|
+
};
|
|
17
|
+
type JsonValuePatchAdd = {
|
|
18
|
+
op: 'add';
|
|
19
|
+
path: string;
|
|
20
|
+
value: JsonValue;
|
|
21
|
+
};
|
|
22
|
+
type JsonValuePatch = JsonValuePatchMove | JsonValuePatchReplace | JsonValuePatchRemove | JsonValuePatchAdd;
|
|
23
|
+
|
|
24
|
+
export type { JsonValuePatchMove as J, JsonValuePatchReplace as a, JsonValuePatchRemove as b, JsonValuePatchAdd as c, JsonValuePatch as d };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { c as JsonValue } from './json.types-46Cq-WxU.js';
|
|
2
|
+
|
|
3
|
+
type JsonValuePatchMove = {
|
|
4
|
+
op: 'move';
|
|
5
|
+
from: string;
|
|
6
|
+
path: string;
|
|
7
|
+
};
|
|
8
|
+
type JsonValuePatchReplace = {
|
|
9
|
+
op: 'replace';
|
|
10
|
+
path: string;
|
|
11
|
+
value: JsonValue;
|
|
12
|
+
};
|
|
13
|
+
type JsonValuePatchRemove = {
|
|
14
|
+
op: 'remove';
|
|
15
|
+
path: string;
|
|
16
|
+
};
|
|
17
|
+
type JsonValuePatchAdd = {
|
|
18
|
+
op: 'add';
|
|
19
|
+
path: string;
|
|
20
|
+
value: JsonValue;
|
|
21
|
+
};
|
|
22
|
+
type JsonValuePatch = JsonValuePatchMove | JsonValuePatchReplace | JsonValuePatchRemove | JsonValuePatchAdd;
|
|
23
|
+
|
|
24
|
+
export type { JsonValuePatchMove as J, JsonValuePatchReplace as a, JsonValuePatchRemove as b, JsonValuePatchAdd as c, JsonValuePatch as d };
|