@revisium/schema-toolkit 0.5.0 → 0.10.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 +34 -156
- package/dist/{chunk-7LKKRGZG.js → chunk-4BIANIHT.js} +226 -129
- package/dist/chunk-4BIANIHT.js.map +1 -0
- package/dist/{chunk-V2SSSD5X.cjs → chunk-B22UU3JK.cjs} +2 -2
- package/dist/chunk-B22UU3JK.cjs.map +1 -0
- package/dist/{chunk-VGTHMWJJ.cjs → chunk-ECWBPKDQ.cjs} +15 -2
- package/dist/chunk-ECWBPKDQ.cjs.map +1 -0
- package/dist/{chunk-ASXCDIN2.js → chunk-EIDMKNH4.js} +15 -3
- package/dist/chunk-EIDMKNH4.js.map +1 -0
- package/dist/chunk-GF3XXYOS.cjs +13 -0
- package/dist/chunk-GF3XXYOS.cjs.map +1 -0
- package/dist/{chunk-WCFA4226.js → chunk-HY4VE7H2.js} +11 -5
- package/dist/chunk-HY4VE7H2.js.map +1 -0
- package/dist/chunk-KJCURW4D.js +11 -0
- package/dist/chunk-KJCURW4D.js.map +1 -0
- package/dist/{chunk-ZXLLJAMQ.js → chunk-L5MLJEC7.js} +2 -2
- package/dist/chunk-L5MLJEC7.js.map +1 -0
- package/dist/chunk-SBJFTOWW.js +3 -0
- package/dist/{chunk-DEPJRTVT.js.map → chunk-SBJFTOWW.js.map} +1 -1
- package/dist/{chunk-JLIZ7QT2.cjs → chunk-TMWPWGUN.cjs} +11 -5
- package/dist/chunk-TMWPWGUN.cjs.map +1 -0
- package/dist/{chunk-EJAKPKHS.cjs → chunk-UJBE43WI.cjs} +234 -136
- package/dist/chunk-UJBE43WI.cjs.map +1 -0
- package/dist/chunk-XAFOMEOK.cjs +4 -0
- package/dist/{chunk-FD57PCAC.cjs.map → chunk-XAFOMEOK.cjs.map} +1 -1
- package/dist/index.cjs +94 -81
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +6 -5
- package/dist/{json-patch.types-DiJBqfxV.d.ts → json-patch.types-CYt9TCu3.d.ts} +1 -1
- package/dist/{json-patch.types-lByaF-OL.d.cts → json-patch.types-DUcWbQRY.d.cts} +1 -1
- package/dist/{json-string.store-BNF1Y93E.d.cts → json-string.store-CcZ197KO.d.cts} +4 -1
- package/dist/{json-string.store-qHcWNv07.d.ts → json-string.store-DckDcMVN.d.ts} +4 -1
- package/dist/lib/index.cjs +45 -40
- package/dist/lib/index.d.cts +7 -4
- package/dist/lib/index.d.ts +7 -4
- 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 +26 -26
- package/dist/model/index.d.cts +3 -3
- package/dist/model/index.d.ts +3 -3
- package/dist/model/index.js +2 -2
- package/dist/plugins/index.cjs +1 -1
- package/dist/plugins/index.d.cts +9 -1
- package/dist/plugins/index.d.ts +9 -1
- package/dist/plugins/index.js +1 -1
- package/dist/{schema.types-Q3MYTp8z.d.cts → schema.types-CLHMJmkJ.d.cts} +8 -1
- package/dist/{schema.types-Q3MYTp8z.d.ts → schema.types-CLHMJmkJ.d.ts} +8 -1
- package/dist/types/index.cjs +8 -3
- package/dist/types/index.d.cts +5 -4
- package/dist/types/index.d.ts +5 -4
- package/dist/types/index.js +3 -2
- package/dist/validation-schemas/index.cjs +19 -15
- package/dist/validation-schemas/index.d.cts +2 -1
- package/dist/validation-schemas/index.d.ts +2 -1
- package/dist/validation-schemas/index.js +1 -1
- package/dist/value-diff.types-BRoI_kGE.d.cts +13 -0
- package/dist/value-diff.types-BRoI_kGE.d.ts +13 -0
- package/package.json +2 -2
- package/dist/chunk-7LKKRGZG.js.map +0 -1
- package/dist/chunk-ASXCDIN2.js.map +0 -1
- package/dist/chunk-DEPJRTVT.js +0 -3
- package/dist/chunk-EJAKPKHS.cjs.map +0 -1
- package/dist/chunk-FD57PCAC.cjs +0 -4
- package/dist/chunk-JLIZ7QT2.cjs.map +0 -1
- package/dist/chunk-V2SSSD5X.cjs.map +0 -1
- package/dist/chunk-VGTHMWJJ.cjs.map +0 -1
- package/dist/chunk-WCFA4226.js.map +0 -1
- package/dist/chunk-ZXLLJAMQ.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./chunk-
|
|
3
|
+
require('./chunk-XAFOMEOK.cjs');
|
|
4
4
|
var chunkEJYILFAK_cjs = require('./chunk-EJYILFAK.cjs');
|
|
5
5
|
var chunkIPL2CGVA_cjs = require('./chunk-IPL2CGVA.cjs');
|
|
6
6
|
require('./chunk-ODCH3PP2.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkUJBE43WI_cjs = require('./chunk-UJBE43WI.cjs');
|
|
8
|
+
var chunkGF3XXYOS_cjs = require('./chunk-GF3XXYOS.cjs');
|
|
8
9
|
var chunkEGC32GPY_cjs = require('./chunk-EGC32GPY.cjs');
|
|
9
10
|
var chunkXNFSFT7T_cjs = require('./chunk-XNFSFT7T.cjs');
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
11
|
+
var chunkTMWPWGUN_cjs = require('./chunk-TMWPWGUN.cjs');
|
|
12
|
+
var chunkB22UU3JK_cjs = require('./chunk-B22UU3JK.cjs');
|
|
13
|
+
var chunkECWBPKDQ_cjs = require('./chunk-ECWBPKDQ.cjs');
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
|
|
@@ -59,131 +60,139 @@ Object.defineProperty(exports, "CustomSchemeKeywords", {
|
|
|
59
60
|
});
|
|
60
61
|
Object.defineProperty(exports, "SchemaTable", {
|
|
61
62
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkUJBE43WI_cjs.SchemaTable; }
|
|
63
64
|
});
|
|
64
65
|
Object.defineProperty(exports, "VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE", {
|
|
65
66
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkUJBE43WI_cjs.VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE; }
|
|
67
68
|
});
|
|
68
69
|
Object.defineProperty(exports, "applyAddPatch", {
|
|
69
70
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkUJBE43WI_cjs.applyAddPatch; }
|
|
71
72
|
});
|
|
72
73
|
Object.defineProperty(exports, "applyMovePatch", {
|
|
73
74
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkUJBE43WI_cjs.applyMovePatch; }
|
|
75
76
|
});
|
|
76
77
|
Object.defineProperty(exports, "applyRemovePatch", {
|
|
77
78
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkUJBE43WI_cjs.applyRemovePatch; }
|
|
79
80
|
});
|
|
80
81
|
Object.defineProperty(exports, "applyReplacePatch", {
|
|
81
82
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkUJBE43WI_cjs.applyReplacePatch; }
|
|
84
|
+
});
|
|
85
|
+
Object.defineProperty(exports, "computeValueDiff", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function () { return chunkUJBE43WI_cjs.computeValueDiff; }
|
|
83
88
|
});
|
|
84
89
|
Object.defineProperty(exports, "convertJsonPathToSchemaPath", {
|
|
85
90
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkUJBE43WI_cjs.convertJsonPathToSchemaPath; }
|
|
87
92
|
});
|
|
88
93
|
Object.defineProperty(exports, "convertSchemaPathToJsonPath", {
|
|
89
94
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkUJBE43WI_cjs.convertSchemaPathToJsonPath; }
|
|
91
96
|
});
|
|
92
97
|
Object.defineProperty(exports, "createJsonObjectSchemaStore", {
|
|
93
98
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkUJBE43WI_cjs.createJsonObjectSchemaStore; }
|
|
95
100
|
});
|
|
96
101
|
Object.defineProperty(exports, "createJsonSchemaStore", {
|
|
97
102
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkUJBE43WI_cjs.createJsonSchemaStore; }
|
|
99
104
|
});
|
|
100
105
|
Object.defineProperty(exports, "createPrimitiveStoreBySchema", {
|
|
101
106
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkUJBE43WI_cjs.createPrimitiveStoreBySchema; }
|
|
103
108
|
});
|
|
104
109
|
Object.defineProperty(exports, "deepEqual", {
|
|
105
110
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkUJBE43WI_cjs.deepEqual; }
|
|
107
112
|
});
|
|
108
113
|
Object.defineProperty(exports, "getDBJsonPathByJsonSchemaStore", {
|
|
109
114
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkUJBE43WI_cjs.getDBJsonPathByJsonSchemaStore; }
|
|
111
116
|
});
|
|
112
117
|
Object.defineProperty(exports, "getForeignKeyPatchesFromSchema", {
|
|
113
118
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkUJBE43WI_cjs.getForeignKeyPatchesFromSchema; }
|
|
115
120
|
});
|
|
116
121
|
Object.defineProperty(exports, "getForeignKeysFromSchema", {
|
|
117
122
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkUJBE43WI_cjs.getForeignKeysFromSchema; }
|
|
119
124
|
});
|
|
120
125
|
Object.defineProperty(exports, "getForeignKeysFromValue", {
|
|
121
126
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkUJBE43WI_cjs.getForeignKeysFromValue; }
|
|
123
128
|
});
|
|
124
129
|
Object.defineProperty(exports, "getInvalidFieldNamesInSchema", {
|
|
125
130
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkUJBE43WI_cjs.getInvalidFieldNamesInSchema; }
|
|
127
132
|
});
|
|
128
133
|
Object.defineProperty(exports, "getJsonSchemaStoreByPath", {
|
|
129
134
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkUJBE43WI_cjs.getJsonSchemaStoreByPath; }
|
|
131
136
|
});
|
|
132
137
|
Object.defineProperty(exports, "getJsonValueStoreByPath", {
|
|
133
138
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkUJBE43WI_cjs.getJsonValueStoreByPath; }
|
|
135
140
|
});
|
|
136
141
|
Object.defineProperty(exports, "getParentForPath", {
|
|
137
142
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkUJBE43WI_cjs.getParentForPath; }
|
|
139
144
|
});
|
|
140
145
|
Object.defineProperty(exports, "getPathByStore", {
|
|
141
146
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkUJBE43WI_cjs.getPathByStore; }
|
|
143
148
|
});
|
|
144
149
|
Object.defineProperty(exports, "getValueByPath", {
|
|
145
150
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkUJBE43WI_cjs.getValueByPath; }
|
|
147
152
|
});
|
|
148
153
|
Object.defineProperty(exports, "hasPath", {
|
|
149
154
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkUJBE43WI_cjs.hasPath; }
|
|
151
156
|
});
|
|
152
157
|
Object.defineProperty(exports, "parsePath", {
|
|
153
158
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkUJBE43WI_cjs.parsePath; }
|
|
155
160
|
});
|
|
156
161
|
Object.defineProperty(exports, "pluginRefs", {
|
|
157
162
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkUJBE43WI_cjs.pluginRefs; }
|
|
159
164
|
});
|
|
160
165
|
Object.defineProperty(exports, "replaceForeignKeyValue", {
|
|
161
166
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkUJBE43WI_cjs.replaceForeignKeyValue; }
|
|
163
168
|
});
|
|
164
169
|
Object.defineProperty(exports, "resolveRefs", {
|
|
165
170
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkUJBE43WI_cjs.resolveRefs; }
|
|
167
172
|
});
|
|
168
173
|
Object.defineProperty(exports, "saveSharedFields", {
|
|
169
174
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkUJBE43WI_cjs.saveSharedFields; }
|
|
171
176
|
});
|
|
172
177
|
Object.defineProperty(exports, "setValueByPath", {
|
|
173
178
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkUJBE43WI_cjs.setValueByPath; }
|
|
175
180
|
});
|
|
176
181
|
Object.defineProperty(exports, "traverseStore", {
|
|
177
182
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkUJBE43WI_cjs.traverseStore; }
|
|
179
184
|
});
|
|
180
185
|
Object.defineProperty(exports, "traverseValue", {
|
|
181
186
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkUJBE43WI_cjs.traverseValue; }
|
|
183
188
|
});
|
|
184
189
|
Object.defineProperty(exports, "validateJsonFieldName", {
|
|
185
190
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkUJBE43WI_cjs.validateJsonFieldName; }
|
|
192
|
+
});
|
|
193
|
+
Object.defineProperty(exports, "FieldChangeType", {
|
|
194
|
+
enumerable: true,
|
|
195
|
+
get: function () { return chunkGF3XXYOS_cjs.FieldChangeType; }
|
|
187
196
|
});
|
|
188
197
|
Object.defineProperty(exports, "ajvFileSchema", {
|
|
189
198
|
enumerable: true,
|
|
@@ -263,179 +272,183 @@ Object.defineProperty(exports, "SystemSchemaIds", {
|
|
|
263
272
|
});
|
|
264
273
|
Object.defineProperty(exports, "JsonArrayStore", {
|
|
265
274
|
enumerable: true,
|
|
266
|
-
get: function () { return
|
|
275
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonArrayStore; }
|
|
267
276
|
});
|
|
268
277
|
Object.defineProperty(exports, "JsonArrayValueStore", {
|
|
269
278
|
enumerable: true,
|
|
270
|
-
get: function () { return
|
|
279
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonArrayValueStore; }
|
|
271
280
|
});
|
|
272
281
|
Object.defineProperty(exports, "JsonBooleanStore", {
|
|
273
282
|
enumerable: true,
|
|
274
|
-
get: function () { return
|
|
283
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonBooleanStore; }
|
|
275
284
|
});
|
|
276
285
|
Object.defineProperty(exports, "JsonBooleanValueStore", {
|
|
277
286
|
enumerable: true,
|
|
278
|
-
get: function () { return
|
|
287
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonBooleanValueStore; }
|
|
279
288
|
});
|
|
280
289
|
Object.defineProperty(exports, "JsonNumberStore", {
|
|
281
290
|
enumerable: true,
|
|
282
|
-
get: function () { return
|
|
291
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonNumberStore; }
|
|
283
292
|
});
|
|
284
293
|
Object.defineProperty(exports, "JsonNumberValueStore", {
|
|
285
294
|
enumerable: true,
|
|
286
|
-
get: function () { return
|
|
295
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonNumberValueStore; }
|
|
287
296
|
});
|
|
288
297
|
Object.defineProperty(exports, "JsonObjectStore", {
|
|
289
298
|
enumerable: true,
|
|
290
|
-
get: function () { return
|
|
299
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonObjectStore; }
|
|
291
300
|
});
|
|
292
301
|
Object.defineProperty(exports, "JsonObjectValueStore", {
|
|
293
302
|
enumerable: true,
|
|
294
|
-
get: function () { return
|
|
303
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonObjectValueStore; }
|
|
295
304
|
});
|
|
296
305
|
Object.defineProperty(exports, "JsonStringStore", {
|
|
297
306
|
enumerable: true,
|
|
298
|
-
get: function () { return
|
|
307
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonStringStore; }
|
|
299
308
|
});
|
|
300
309
|
Object.defineProperty(exports, "JsonStringValueStore", {
|
|
301
310
|
enumerable: true,
|
|
302
|
-
get: function () { return
|
|
311
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonStringValueStore; }
|
|
303
312
|
});
|
|
304
313
|
Object.defineProperty(exports, "addSharedFieldsFromState", {
|
|
305
314
|
enumerable: true,
|
|
306
|
-
get: function () { return
|
|
315
|
+
get: function () { return chunkTMWPWGUN_cjs.addSharedFieldsFromState; }
|
|
307
316
|
});
|
|
308
317
|
Object.defineProperty(exports, "createJsonArrayValueStore", {
|
|
309
318
|
enumerable: true,
|
|
310
|
-
get: function () { return
|
|
319
|
+
get: function () { return chunkTMWPWGUN_cjs.createJsonArrayValueStore; }
|
|
311
320
|
});
|
|
312
321
|
Object.defineProperty(exports, "createJsonObjectValueStore", {
|
|
313
322
|
enumerable: true,
|
|
314
|
-
get: function () { return
|
|
323
|
+
get: function () { return chunkTMWPWGUN_cjs.createJsonObjectValueStore; }
|
|
315
324
|
});
|
|
316
325
|
Object.defineProperty(exports, "createJsonValueStore", {
|
|
317
326
|
enumerable: true,
|
|
318
|
-
get: function () { return
|
|
327
|
+
get: function () { return chunkTMWPWGUN_cjs.createJsonValueStore; }
|
|
319
328
|
});
|
|
320
329
|
Object.defineProperty(exports, "createPrimitiveValueStore", {
|
|
321
330
|
enumerable: true,
|
|
322
|
-
get: function () { return
|
|
331
|
+
get: function () { return chunkTMWPWGUN_cjs.createPrimitiveValueStore; }
|
|
323
332
|
});
|
|
324
333
|
Object.defineProperty(exports, "equal", {
|
|
325
334
|
enumerable: true,
|
|
326
|
-
get: function () { return
|
|
335
|
+
get: function () { return chunkTMWPWGUN_cjs.equal; }
|
|
327
336
|
});
|
|
328
337
|
Object.defineProperty(exports, "fromArrayToObject", {
|
|
329
338
|
enumerable: true,
|
|
330
|
-
get: function () { return
|
|
339
|
+
get: function () { return chunkTMWPWGUN_cjs.fromArrayToObject; }
|
|
331
340
|
});
|
|
332
341
|
Object.defineProperty(exports, "fromArrayTransformation", {
|
|
333
342
|
enumerable: true,
|
|
334
|
-
get: function () { return
|
|
343
|
+
get: function () { return chunkTMWPWGUN_cjs.fromArrayTransformation; }
|
|
335
344
|
});
|
|
336
345
|
Object.defineProperty(exports, "fromBooleanToNumber", {
|
|
337
346
|
enumerable: true,
|
|
338
|
-
get: function () { return
|
|
347
|
+
get: function () { return chunkTMWPWGUN_cjs.fromBooleanToNumber; }
|
|
339
348
|
});
|
|
340
349
|
Object.defineProperty(exports, "fromBooleanToString", {
|
|
341
350
|
enumerable: true,
|
|
342
|
-
get: function () { return
|
|
351
|
+
get: function () { return chunkTMWPWGUN_cjs.fromBooleanToString; }
|
|
343
352
|
});
|
|
344
353
|
Object.defineProperty(exports, "fromNumberToBoolean", {
|
|
345
354
|
enumerable: true,
|
|
346
|
-
get: function () { return
|
|
355
|
+
get: function () { return chunkTMWPWGUN_cjs.fromNumberToBoolean; }
|
|
347
356
|
});
|
|
348
357
|
Object.defineProperty(exports, "fromNumberToString", {
|
|
349
358
|
enumerable: true,
|
|
350
|
-
get: function () { return
|
|
359
|
+
get: function () { return chunkTMWPWGUN_cjs.fromNumberToString; }
|
|
351
360
|
});
|
|
352
361
|
Object.defineProperty(exports, "fromObjectToArray", {
|
|
353
362
|
enumerable: true,
|
|
354
|
-
get: function () { return
|
|
363
|
+
get: function () { return chunkTMWPWGUN_cjs.fromObjectToArray; }
|
|
355
364
|
});
|
|
356
365
|
Object.defineProperty(exports, "fromObjectToPrimitive", {
|
|
357
366
|
enumerable: true,
|
|
358
|
-
get: function () { return
|
|
367
|
+
get: function () { return chunkTMWPWGUN_cjs.fromObjectToPrimitive; }
|
|
359
368
|
});
|
|
360
369
|
Object.defineProperty(exports, "fromPrimitiveToObject", {
|
|
361
370
|
enumerable: true,
|
|
362
|
-
get: function () { return
|
|
371
|
+
get: function () { return chunkTMWPWGUN_cjs.fromPrimitiveToObject; }
|
|
363
372
|
});
|
|
364
373
|
Object.defineProperty(exports, "fromStringToBoolean", {
|
|
365
374
|
enumerable: true,
|
|
366
|
-
get: function () { return
|
|
375
|
+
get: function () { return chunkTMWPWGUN_cjs.fromStringToBoolean; }
|
|
367
376
|
});
|
|
368
377
|
Object.defineProperty(exports, "fromStringToNumber", {
|
|
369
378
|
enumerable: true,
|
|
370
|
-
get: function () { return
|
|
379
|
+
get: function () { return chunkTMWPWGUN_cjs.fromStringToNumber; }
|
|
371
380
|
});
|
|
372
381
|
Object.defineProperty(exports, "getTransformation", {
|
|
373
382
|
enumerable: true,
|
|
374
|
-
get: function () { return
|
|
383
|
+
get: function () { return chunkTMWPWGUN_cjs.getTransformation; }
|
|
375
384
|
});
|
|
376
385
|
Object.defineProperty(exports, "toArrayTransformation", {
|
|
377
386
|
enumerable: true,
|
|
378
|
-
get: function () { return
|
|
387
|
+
get: function () { return chunkTMWPWGUN_cjs.toArrayTransformation; }
|
|
379
388
|
});
|
|
380
389
|
Object.defineProperty(exports, "JsonSchemaTypeName", {
|
|
381
390
|
enumerable: true,
|
|
382
|
-
get: function () { return
|
|
391
|
+
get: function () { return chunkB22UU3JK_cjs.JsonSchemaTypeName; }
|
|
383
392
|
});
|
|
384
393
|
Object.defineProperty(exports, "arrayMetaSchema", {
|
|
385
394
|
enumerable: true,
|
|
386
|
-
get: function () { return
|
|
395
|
+
get: function () { return chunkECWBPKDQ_cjs.arrayMetaSchema; }
|
|
387
396
|
});
|
|
388
397
|
Object.defineProperty(exports, "baseStringFields", {
|
|
389
398
|
enumerable: true,
|
|
390
|
-
get: function () { return
|
|
399
|
+
get: function () { return chunkECWBPKDQ_cjs.baseStringFields; }
|
|
391
400
|
});
|
|
392
401
|
Object.defineProperty(exports, "booleanMetaSchema", {
|
|
393
402
|
enumerable: true,
|
|
394
|
-
get: function () { return
|
|
403
|
+
get: function () { return chunkECWBPKDQ_cjs.booleanMetaSchema; }
|
|
395
404
|
});
|
|
396
405
|
Object.defineProperty(exports, "historyPatchesSchema", {
|
|
397
406
|
enumerable: true,
|
|
398
|
-
get: function () { return
|
|
407
|
+
get: function () { return chunkECWBPKDQ_cjs.historyPatchesSchema; }
|
|
399
408
|
});
|
|
400
409
|
Object.defineProperty(exports, "jsonPatchSchema", {
|
|
401
410
|
enumerable: true,
|
|
402
|
-
get: function () { return
|
|
411
|
+
get: function () { return chunkECWBPKDQ_cjs.jsonPatchSchema; }
|
|
403
412
|
});
|
|
404
413
|
Object.defineProperty(exports, "metaSchema", {
|
|
405
414
|
enumerable: true,
|
|
406
|
-
get: function () { return
|
|
415
|
+
get: function () { return chunkECWBPKDQ_cjs.metaSchema; }
|
|
407
416
|
});
|
|
408
417
|
Object.defineProperty(exports, "noForeignKeyStringMetaSchema", {
|
|
409
418
|
enumerable: true,
|
|
410
|
-
get: function () { return
|
|
419
|
+
get: function () { return chunkECWBPKDQ_cjs.noForeignKeyStringMetaSchema; }
|
|
411
420
|
});
|
|
412
421
|
Object.defineProperty(exports, "notForeignKeyMetaSchema", {
|
|
413
422
|
enumerable: true,
|
|
414
|
-
get: function () { return
|
|
423
|
+
get: function () { return chunkECWBPKDQ_cjs.notForeignKeyMetaSchema; }
|
|
415
424
|
});
|
|
416
425
|
Object.defineProperty(exports, "numberMetaSchema", {
|
|
417
426
|
enumerable: true,
|
|
418
|
-
get: function () { return
|
|
427
|
+
get: function () { return chunkECWBPKDQ_cjs.numberMetaSchema; }
|
|
419
428
|
});
|
|
420
429
|
Object.defineProperty(exports, "objectMetaSchema", {
|
|
421
430
|
enumerable: true,
|
|
422
|
-
get: function () { return
|
|
431
|
+
get: function () { return chunkECWBPKDQ_cjs.objectMetaSchema; }
|
|
423
432
|
});
|
|
424
433
|
Object.defineProperty(exports, "refMetaSchema", {
|
|
425
434
|
enumerable: true,
|
|
426
|
-
get: function () { return
|
|
435
|
+
get: function () { return chunkECWBPKDQ_cjs.refMetaSchema; }
|
|
427
436
|
});
|
|
428
437
|
Object.defineProperty(exports, "sharedFields", {
|
|
429
438
|
enumerable: true,
|
|
430
|
-
get: function () { return
|
|
439
|
+
get: function () { return chunkECWBPKDQ_cjs.sharedFields; }
|
|
431
440
|
});
|
|
432
441
|
Object.defineProperty(exports, "stringMetaSchema", {
|
|
433
442
|
enumerable: true,
|
|
434
|
-
get: function () { return
|
|
443
|
+
get: function () { return chunkECWBPKDQ_cjs.stringMetaSchema; }
|
|
435
444
|
});
|
|
436
445
|
Object.defineProperty(exports, "tableMigrationsSchema", {
|
|
437
446
|
enumerable: true,
|
|
438
|
-
get: function () { return
|
|
447
|
+
get: function () { return chunkECWBPKDQ_cjs.tableMigrationsSchema; }
|
|
448
|
+
});
|
|
449
|
+
Object.defineProperty(exports, "xFormulaSchema", {
|
|
450
|
+
enumerable: true,
|
|
451
|
+
get: function () { return chunkECWBPKDQ_cjs.xFormulaSchema; }
|
|
439
452
|
});
|
|
440
453
|
//# sourceMappingURL=index.cjs.map
|
|
441
454
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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-
|
|
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-DUcWbQRY.cjs';
|
|
3
3
|
export { InitMigration, JsonValuePatch, JsonValuePatchAdd, JsonValuePatchMove, JsonValuePatchRemove, JsonValuePatchReplace, Migration, RemoveMigration, RenameMigration, UpdateMigration } from './types/index.cjs';
|
|
4
|
-
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 } from './schema.types-
|
|
4
|
+
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-CLHMJmkJ.cjs';
|
|
5
|
+
export { a as FieldChange, F as FieldChangeType } from './value-diff.types-BRoI_kGE.cjs';
|
|
5
6
|
export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './plugins/index.cjs';
|
|
6
7
|
export { getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema } from './mocks/index.cjs';
|
|
7
8
|
export { CustomSchemeKeywords } from './consts/index.cjs';
|
|
8
|
-
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-
|
|
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-CcZ197KO.cjs';
|
|
9
10
|
export { equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, getTransformation, toArrayTransformation } from './model/index.cjs';
|
|
10
|
-
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';
|
|
11
|
-
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema } from './validation-schemas/index.cjs';
|
|
11
|
+
export { GetForeignKeysFromValueType, RefsType, ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, computeValueDiff, 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';
|
|
12
|
+
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema, xFormulaSchema } from './validation-schemas/index.cjs';
|
|
12
13
|
export { S as SystemSchemaIds } from './system-schema-ids-B-2xMN-1.cjs';
|
|
13
14
|
import 'node:events';
|
|
14
15
|
import 'ajv/dist/2020';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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-
|
|
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-CYt9TCu3.js';
|
|
3
3
|
export { InitMigration, JsonValuePatch, JsonValuePatchAdd, JsonValuePatchMove, JsonValuePatchRemove, JsonValuePatchReplace, Migration, RemoveMigration, RenameMigration, UpdateMigration } from './types/index.js';
|
|
4
|
-
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 } from './schema.types-
|
|
4
|
+
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-CLHMJmkJ.js';
|
|
5
|
+
export { a as FieldChange, F as FieldChangeType } from './value-diff.types-BRoI_kGE.js';
|
|
5
6
|
export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './plugins/index.js';
|
|
6
7
|
export { getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema } from './mocks/index.js';
|
|
7
8
|
export { CustomSchemeKeywords } from './consts/index.js';
|
|
8
|
-
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-
|
|
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-DckDcMVN.js';
|
|
9
10
|
export { equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, getTransformation, toArrayTransformation } from './model/index.js';
|
|
10
|
-
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';
|
|
11
|
-
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema } from './validation-schemas/index.js';
|
|
11
|
+
export { GetForeignKeysFromValueType, RefsType, ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, computeValueDiff, 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';
|
|
12
|
+
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema, xFormulaSchema } from './validation-schemas/index.js';
|
|
12
13
|
export { S as SystemSchemaIds } from './system-schema-ids-B-2xMN-1.js';
|
|
13
14
|
import 'node:events';
|
|
14
15
|
import 'ajv/dist/2020';
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import './chunk-
|
|
1
|
+
import './chunk-SBJFTOWW.js';
|
|
2
2
|
export { getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema } from './chunk-AORPUIKD.js';
|
|
3
3
|
export { CustomSchemeKeywords } from './chunk-5VDDLW7U.js';
|
|
4
4
|
import './chunk-H7W4QNMA.js';
|
|
5
|
-
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-
|
|
5
|
+
export { SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, computeValueDiff, 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-4BIANIHT.js';
|
|
6
|
+
export { FieldChangeType } from './chunk-KJCURW4D.js';
|
|
6
7
|
export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './chunk-LLHQWDAR.js';
|
|
7
8
|
export { SystemSchemaIds } from './chunk-Q2UOTIMG.js';
|
|
8
|
-
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-
|
|
9
|
-
export { JsonSchemaTypeName } from './chunk-
|
|
10
|
-
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema } from './chunk-
|
|
9
|
+
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';
|
|
10
|
+
export { JsonSchemaTypeName } from './chunk-L5MLJEC7.js';
|
|
11
|
+
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema, xFormulaSchema } from './chunk-EIDMKNH4.js';
|
|
11
12
|
//# sourceMappingURL=index.js.map
|
|
12
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from 'node:events';
|
|
2
|
-
import { d as JsonBooleanSchema, J as JsonSchemaTypeName, 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-CLHMJmkJ.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 {
|
|
@@ -13,6 +13,7 @@ declare class JsonBooleanStore extends EventEmitter implements JsonBooleanSchema
|
|
|
13
13
|
title?: string;
|
|
14
14
|
description?: string;
|
|
15
15
|
deprecated?: boolean;
|
|
16
|
+
'x-formula'?: XFormula;
|
|
16
17
|
private readonly valuesMap;
|
|
17
18
|
constructor(nodeId?: string);
|
|
18
19
|
registerValue(value: JsonBooleanValueStore): number;
|
|
@@ -45,6 +46,7 @@ declare class JsonNumberStore extends EventEmitter implements JsonNumberSchema {
|
|
|
45
46
|
title?: string;
|
|
46
47
|
description?: string;
|
|
47
48
|
deprecated?: boolean;
|
|
49
|
+
'x-formula'?: XFormula;
|
|
48
50
|
private readonly valuesMap;
|
|
49
51
|
constructor(nodeId?: string);
|
|
50
52
|
registerValue(value: JsonNumberValueStore): number;
|
|
@@ -216,6 +218,7 @@ declare class JsonStringStore extends EventEmitter implements JsonStringSchema {
|
|
|
216
218
|
enum?: string[];
|
|
217
219
|
format?: JsonStringSchema['format'];
|
|
218
220
|
contentMediaType?: JsonStringSchema['contentMediaType'];
|
|
221
|
+
'x-formula'?: XFormula;
|
|
219
222
|
private readonly valuesMap;
|
|
220
223
|
constructor(nodeId?: string);
|
|
221
224
|
registerValue(value: JsonStringValueStore): number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from 'node:events';
|
|
2
|
-
import { d as JsonBooleanSchema, J as JsonSchemaTypeName, 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-CLHMJmkJ.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 {
|
|
@@ -13,6 +13,7 @@ declare class JsonBooleanStore extends EventEmitter implements JsonBooleanSchema
|
|
|
13
13
|
title?: string;
|
|
14
14
|
description?: string;
|
|
15
15
|
deprecated?: boolean;
|
|
16
|
+
'x-formula'?: XFormula;
|
|
16
17
|
private readonly valuesMap;
|
|
17
18
|
constructor(nodeId?: string);
|
|
18
19
|
registerValue(value: JsonBooleanValueStore): number;
|
|
@@ -45,6 +46,7 @@ declare class JsonNumberStore extends EventEmitter implements JsonNumberSchema {
|
|
|
45
46
|
title?: string;
|
|
46
47
|
description?: string;
|
|
47
48
|
deprecated?: boolean;
|
|
49
|
+
'x-formula'?: XFormula;
|
|
48
50
|
private readonly valuesMap;
|
|
49
51
|
constructor(nodeId?: string);
|
|
50
52
|
registerValue(value: JsonNumberValueStore): number;
|
|
@@ -216,6 +218,7 @@ declare class JsonStringStore extends EventEmitter implements JsonStringSchema {
|
|
|
216
218
|
enum?: string[];
|
|
217
219
|
format?: JsonStringSchema['format'];
|
|
218
220
|
contentMediaType?: JsonStringSchema['contentMediaType'];
|
|
221
|
+
'x-formula'?: XFormula;
|
|
219
222
|
private readonly valuesMap;
|
|
220
223
|
constructor(nodeId?: string);
|
|
221
224
|
registerValue(value: JsonStringValueStore): number;
|