@revisium/schema-toolkit 0.21.5 → 0.22.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/README.md +63 -2
- package/dist/chunk-5G3AVY57.js +1 -0
- package/dist/chunk-5M74TGFQ.cjs +2 -0
- package/dist/{chunk-XKWWCXGB.js → chunk-6IMYMTFF.js} +144 -20
- package/dist/{chunk-RXPIMS7W.js → chunk-B3W5BASK.js} +20 -2
- package/dist/{chunk-QKA7DJDN.cjs → chunk-C3HDJOTY.cjs} +144 -19
- package/dist/{chunk-DN2C3T5D.cjs → chunk-JHNATNUI.cjs} +20 -2
- package/dist/{chunk-7JWCZZPJ.cjs → chunk-PLT4CHNF.cjs} +236 -0
- package/dist/{chunk-JLXX3SGF.js → chunk-YHRQOWWO.js} +229 -2
- package/dist/index.cjs +122 -97
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -3
- package/dist/lib/index.cjs +54 -33
- package/dist/lib/index.d.cts +49 -1
- package/dist/lib/index.d.ts +49 -1
- package/dist/lib/index.js +2 -1
- package/dist/model/index.cjs +46 -46
- package/dist/model/index.d.cts +11 -3
- package/dist/model/index.d.ts +11 -3
- package/dist/model/index.js +1 -1
- package/dist/{typed-DjSH_5Vh.d.cts → typed-C0YM-ar9.d.cts} +6 -0
- package/dist/{typed-KUia-LYN.d.ts → typed-CkirI6bH.d.ts} +6 -0
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/validation-schemas/index.cjs +23 -18
- package/dist/validation-schemas/index.d.cts +3 -1
- package/dist/validation-schemas/index.d.ts +3 -1
- package/dist/validation-schemas/index.js +2 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -4,17 +4,18 @@ require('./chunk-AV5EZUMZ.cjs');
|
|
|
4
4
|
var chunkVMELKZXD_cjs = require('./chunk-VMELKZXD.cjs');
|
|
5
5
|
require('./chunk-J4RVO37K.cjs');
|
|
6
6
|
var chunkRQBW7ATZ_cjs = require('./chunk-RQBW7ATZ.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkJHNATNUI_cjs = require('./chunk-JHNATNUI.cjs');
|
|
8
8
|
var chunkPJ5OFCLO_cjs = require('./chunk-PJ5OFCLO.cjs');
|
|
9
9
|
var chunk2PIMJSWJ_cjs = require('./chunk-2PIMJSWJ.cjs');
|
|
10
|
-
var
|
|
10
|
+
var chunkPLT4CHNF_cjs = require('./chunk-PLT4CHNF.cjs');
|
|
11
11
|
var chunkERW5XVED_cjs = require('./chunk-ERW5XVED.cjs');
|
|
12
12
|
var chunkT3QQSHAC_cjs = require('./chunk-T3QQSHAC.cjs');
|
|
13
13
|
var chunkFL6PWPVJ_cjs = require('./chunk-FL6PWPVJ.cjs');
|
|
14
14
|
var chunkITYABUR5_cjs = require('./chunk-ITYABUR5.cjs');
|
|
15
15
|
var chunkEVD5ZI55_cjs = require('./chunk-EVD5ZI55.cjs');
|
|
16
16
|
var chunkONW2OVNQ_cjs = require('./chunk-ONW2OVNQ.cjs');
|
|
17
|
-
|
|
17
|
+
require('./chunk-5M74TGFQ.cjs');
|
|
18
|
+
var chunkC3HDJOTY_cjs = require('./chunk-C3HDJOTY.cjs');
|
|
18
19
|
|
|
19
20
|
|
|
20
21
|
|
|
@@ -28,183 +29,183 @@ Object.defineProperty(exports, "CustomSchemeKeywords", {
|
|
|
28
29
|
});
|
|
29
30
|
Object.defineProperty(exports, "ArrayToItemsTypeTransformer", {
|
|
30
31
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkJHNATNUI_cjs.ArrayToItemsTypeTransformer; }
|
|
32
33
|
});
|
|
33
34
|
Object.defineProperty(exports, "ArrayValueNode", {
|
|
34
35
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkJHNATNUI_cjs.ArrayValueNode; }
|
|
36
37
|
});
|
|
37
38
|
Object.defineProperty(exports, "BasePrimitiveValueNode", {
|
|
38
39
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkJHNATNUI_cjs.BasePrimitiveValueNode; }
|
|
40
41
|
});
|
|
41
42
|
Object.defineProperty(exports, "BaseValueNode", {
|
|
42
43
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkJHNATNUI_cjs.BaseValueNode; }
|
|
44
45
|
});
|
|
45
46
|
Object.defineProperty(exports, "BooleanValueNode", {
|
|
46
47
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkJHNATNUI_cjs.BooleanValueNode; }
|
|
48
49
|
});
|
|
49
50
|
Object.defineProperty(exports, "DataModelImpl", {
|
|
50
51
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkJHNATNUI_cjs.DataModelImpl; }
|
|
52
53
|
});
|
|
53
54
|
Object.defineProperty(exports, "DefaultTransformer", {
|
|
54
55
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkJHNATNUI_cjs.DefaultTransformer; }
|
|
56
57
|
});
|
|
57
58
|
Object.defineProperty(exports, "ForeignKeyNotFoundError", {
|
|
58
59
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkJHNATNUI_cjs.ForeignKeyNotFoundError; }
|
|
60
61
|
});
|
|
61
62
|
Object.defineProperty(exports, "ForeignKeyResolverImpl", {
|
|
62
63
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkJHNATNUI_cjs.ForeignKeyResolverImpl; }
|
|
64
65
|
});
|
|
65
66
|
Object.defineProperty(exports, "ForeignKeyResolverNotConfiguredError", {
|
|
66
67
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkJHNATNUI_cjs.ForeignKeyResolverNotConfiguredError; }
|
|
68
69
|
});
|
|
69
70
|
Object.defineProperty(exports, "ForeignKeyValueNodeImpl", {
|
|
70
71
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkJHNATNUI_cjs.ForeignKeyValueNodeImpl; }
|
|
72
73
|
});
|
|
73
74
|
Object.defineProperty(exports, "FormulaChangeDetector", {
|
|
74
75
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkJHNATNUI_cjs.FormulaChangeDetector; }
|
|
76
77
|
});
|
|
77
78
|
Object.defineProperty(exports, "FormulaDependencyIndex", {
|
|
78
79
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkJHNATNUI_cjs.FormulaDependencyIndex; }
|
|
80
81
|
});
|
|
81
82
|
Object.defineProperty(exports, "FormulaPath", {
|
|
82
83
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkJHNATNUI_cjs.FormulaPath; }
|
|
84
85
|
});
|
|
85
86
|
Object.defineProperty(exports, "NodeFactory", {
|
|
86
87
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkJHNATNUI_cjs.NodeFactory; }
|
|
88
89
|
});
|
|
89
90
|
Object.defineProperty(exports, "NodeFactoryRegistry", {
|
|
90
91
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkJHNATNUI_cjs.NodeFactoryRegistry; }
|
|
92
93
|
});
|
|
93
94
|
Object.defineProperty(exports, "NumberValueNode", {
|
|
94
95
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkJHNATNUI_cjs.NumberValueNode; }
|
|
96
97
|
});
|
|
97
98
|
Object.defineProperty(exports, "ObjectToArrayTransformer", {
|
|
98
99
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkJHNATNUI_cjs.ObjectToArrayTransformer; }
|
|
100
101
|
});
|
|
101
102
|
Object.defineProperty(exports, "ObjectValueNode", {
|
|
102
103
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkJHNATNUI_cjs.ObjectValueNode; }
|
|
104
105
|
});
|
|
105
106
|
Object.defineProperty(exports, "ParsedFormula", {
|
|
106
107
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkJHNATNUI_cjs.ParsedFormula; }
|
|
108
109
|
});
|
|
109
110
|
Object.defineProperty(exports, "PrimitiveToArrayTransformer", {
|
|
110
111
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkJHNATNUI_cjs.PrimitiveToArrayTransformer; }
|
|
112
113
|
});
|
|
113
114
|
Object.defineProperty(exports, "RefTransformer", {
|
|
114
115
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkJHNATNUI_cjs.RefTransformer; }
|
|
116
117
|
});
|
|
117
118
|
Object.defineProperty(exports, "RowModelImpl", {
|
|
118
119
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkJHNATNUI_cjs.RowModelImpl; }
|
|
120
121
|
});
|
|
121
122
|
Object.defineProperty(exports, "SchemaParser", {
|
|
122
123
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkJHNATNUI_cjs.SchemaParser; }
|
|
124
125
|
});
|
|
125
126
|
Object.defineProperty(exports, "StringValueNode", {
|
|
126
127
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkJHNATNUI_cjs.StringValueNode; }
|
|
128
129
|
});
|
|
129
130
|
Object.defineProperty(exports, "TableModelImpl", {
|
|
130
131
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkJHNATNUI_cjs.TableModelImpl; }
|
|
132
133
|
});
|
|
133
134
|
Object.defineProperty(exports, "TypeTransformChain", {
|
|
134
135
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkJHNATNUI_cjs.TypeTransformChain; }
|
|
136
137
|
});
|
|
137
138
|
Object.defineProperty(exports, "ValueNodeFactory", {
|
|
138
139
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkJHNATNUI_cjs.NodeFactory2; }
|
|
140
141
|
});
|
|
141
142
|
Object.defineProperty(exports, "ValueTree", {
|
|
142
143
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkJHNATNUI_cjs.ValueTree; }
|
|
144
145
|
});
|
|
145
146
|
Object.defineProperty(exports, "ValueType", {
|
|
146
147
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkJHNATNUI_cjs.ValueType; }
|
|
148
149
|
});
|
|
149
150
|
Object.defineProperty(exports, "createDataModel", {
|
|
150
151
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkJHNATNUI_cjs.createDataModel; }
|
|
152
153
|
});
|
|
153
154
|
Object.defineProperty(exports, "createDefaultRegistry", {
|
|
154
155
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkJHNATNUI_cjs.createDefaultRegistry; }
|
|
156
157
|
});
|
|
157
158
|
Object.defineProperty(exports, "createForeignKeyResolver", {
|
|
158
159
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkJHNATNUI_cjs.createForeignKeyResolver; }
|
|
160
161
|
});
|
|
161
162
|
Object.defineProperty(exports, "createNodeFactory", {
|
|
162
163
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkJHNATNUI_cjs.createNodeFactory; }
|
|
164
165
|
});
|
|
165
166
|
Object.defineProperty(exports, "createRowModel", {
|
|
166
167
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkJHNATNUI_cjs.createRowModel; }
|
|
168
169
|
});
|
|
169
170
|
Object.defineProperty(exports, "createSchemaModel", {
|
|
170
171
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkJHNATNUI_cjs.createSchemaModel; }
|
|
172
173
|
});
|
|
173
174
|
Object.defineProperty(exports, "createTableModel", {
|
|
174
175
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkJHNATNUI_cjs.createTableModel; }
|
|
176
177
|
});
|
|
177
178
|
Object.defineProperty(exports, "createTypeTransformChain", {
|
|
178
179
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkJHNATNUI_cjs.createTypeTransformChain; }
|
|
180
181
|
});
|
|
181
182
|
Object.defineProperty(exports, "createTypedTree", {
|
|
182
183
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkJHNATNUI_cjs.createTypedTree; }
|
|
184
185
|
});
|
|
185
186
|
Object.defineProperty(exports, "extractFormulaDefinition", {
|
|
186
187
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkJHNATNUI_cjs.extractFormulaDefinition; }
|
|
188
189
|
});
|
|
189
190
|
Object.defineProperty(exports, "generateDefaultValue", {
|
|
190
191
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkJHNATNUI_cjs.generateDefaultValue; }
|
|
192
193
|
});
|
|
193
194
|
Object.defineProperty(exports, "generateNodeId", {
|
|
194
195
|
enumerable: true,
|
|
195
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkJHNATNUI_cjs.generateNodeId; }
|
|
196
197
|
});
|
|
197
198
|
Object.defineProperty(exports, "isForeignKeyValueNode", {
|
|
198
199
|
enumerable: true,
|
|
199
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkJHNATNUI_cjs.isForeignKeyValueNode; }
|
|
200
201
|
});
|
|
201
202
|
Object.defineProperty(exports, "resetNodeIdCounter", {
|
|
202
203
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkJHNATNUI_cjs.resetNodeIdCounter; }
|
|
204
205
|
});
|
|
205
206
|
Object.defineProperty(exports, "typedNode", {
|
|
206
207
|
enumerable: true,
|
|
207
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkJHNATNUI_cjs.typedNode; }
|
|
208
209
|
});
|
|
209
210
|
Object.defineProperty(exports, "ChangeCoalescer", {
|
|
210
211
|
enumerable: true,
|
|
@@ -518,133 +519,153 @@ Object.defineProperty(exports, "strFormula", {
|
|
|
518
519
|
enumerable: true,
|
|
519
520
|
get: function () { return chunk2PIMJSWJ_cjs.strFormula; }
|
|
520
521
|
});
|
|
522
|
+
Object.defineProperty(exports, "RevisiumValidator", {
|
|
523
|
+
enumerable: true,
|
|
524
|
+
get: function () { return chunkPLT4CHNF_cjs.RevisiumValidator; }
|
|
525
|
+
});
|
|
521
526
|
Object.defineProperty(exports, "SchemaTable", {
|
|
522
527
|
enumerable: true,
|
|
523
|
-
get: function () { return
|
|
528
|
+
get: function () { return chunkPLT4CHNF_cjs.SchemaTable; }
|
|
524
529
|
});
|
|
525
530
|
Object.defineProperty(exports, "VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE", {
|
|
526
531
|
enumerable: true,
|
|
527
|
-
get: function () { return
|
|
532
|
+
get: function () { return chunkPLT4CHNF_cjs.VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE; }
|
|
528
533
|
});
|
|
529
534
|
Object.defineProperty(exports, "applyAddPatch", {
|
|
530
535
|
enumerable: true,
|
|
531
|
-
get: function () { return
|
|
536
|
+
get: function () { return chunkPLT4CHNF_cjs.applyAddPatch; }
|
|
532
537
|
});
|
|
533
538
|
Object.defineProperty(exports, "applyMovePatch", {
|
|
534
539
|
enumerable: true,
|
|
535
|
-
get: function () { return
|
|
540
|
+
get: function () { return chunkPLT4CHNF_cjs.applyMovePatch; }
|
|
536
541
|
});
|
|
537
542
|
Object.defineProperty(exports, "applyRemovePatch", {
|
|
538
543
|
enumerable: true,
|
|
539
|
-
get: function () { return
|
|
544
|
+
get: function () { return chunkPLT4CHNF_cjs.applyRemovePatch; }
|
|
540
545
|
});
|
|
541
546
|
Object.defineProperty(exports, "applyReplacePatch", {
|
|
542
547
|
enumerable: true,
|
|
543
|
-
get: function () { return
|
|
548
|
+
get: function () { return chunkPLT4CHNF_cjs.applyReplacePatch; }
|
|
549
|
+
});
|
|
550
|
+
Object.defineProperty(exports, "calculateDataWeight", {
|
|
551
|
+
enumerable: true,
|
|
552
|
+
get: function () { return chunkPLT4CHNF_cjs.calculateDataWeight; }
|
|
553
|
+
});
|
|
554
|
+
Object.defineProperty(exports, "calculateDataWeightFromStore", {
|
|
555
|
+
enumerable: true,
|
|
556
|
+
get: function () { return chunkPLT4CHNF_cjs.calculateDataWeightFromStore; }
|
|
557
|
+
});
|
|
558
|
+
Object.defineProperty(exports, "calculateSchemaWeight", {
|
|
559
|
+
enumerable: true,
|
|
560
|
+
get: function () { return chunkPLT4CHNF_cjs.calculateSchemaWeight; }
|
|
544
561
|
});
|
|
545
562
|
Object.defineProperty(exports, "convertJsonPathToSchemaPath", {
|
|
546
563
|
enumerable: true,
|
|
547
|
-
get: function () { return
|
|
564
|
+
get: function () { return chunkPLT4CHNF_cjs.convertJsonPathToSchemaPath; }
|
|
548
565
|
});
|
|
549
566
|
Object.defineProperty(exports, "convertSchemaPathToJsonPath", {
|
|
550
567
|
enumerable: true,
|
|
551
|
-
get: function () { return
|
|
568
|
+
get: function () { return chunkPLT4CHNF_cjs.convertSchemaPathToJsonPath; }
|
|
552
569
|
});
|
|
553
570
|
Object.defineProperty(exports, "createJsonObjectSchemaStore", {
|
|
554
571
|
enumerable: true,
|
|
555
|
-
get: function () { return
|
|
572
|
+
get: function () { return chunkPLT4CHNF_cjs.createJsonObjectSchemaStore; }
|
|
556
573
|
});
|
|
557
574
|
Object.defineProperty(exports, "createJsonSchemaStore", {
|
|
558
575
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
576
|
+
get: function () { return chunkPLT4CHNF_cjs.createJsonSchemaStore; }
|
|
560
577
|
});
|
|
561
578
|
Object.defineProperty(exports, "createPrimitiveStoreBySchema", {
|
|
562
579
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
580
|
+
get: function () { return chunkPLT4CHNF_cjs.createPrimitiveStoreBySchema; }
|
|
564
581
|
});
|
|
565
582
|
Object.defineProperty(exports, "deepEqual", {
|
|
566
583
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
584
|
+
get: function () { return chunkPLT4CHNF_cjs.deepEqual; }
|
|
568
585
|
});
|
|
569
586
|
Object.defineProperty(exports, "getDBJsonPathByJsonSchemaStore", {
|
|
570
587
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
588
|
+
get: function () { return chunkPLT4CHNF_cjs.getDBJsonPathByJsonSchemaStore; }
|
|
572
589
|
});
|
|
573
590
|
Object.defineProperty(exports, "getForeignKeyPatchesFromSchema", {
|
|
574
591
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
592
|
+
get: function () { return chunkPLT4CHNF_cjs.getForeignKeyPatchesFromSchema; }
|
|
576
593
|
});
|
|
577
594
|
Object.defineProperty(exports, "getForeignKeysFromSchema", {
|
|
578
595
|
enumerable: true,
|
|
579
|
-
get: function () { return
|
|
596
|
+
get: function () { return chunkPLT4CHNF_cjs.getForeignKeysFromSchema; }
|
|
580
597
|
});
|
|
581
598
|
Object.defineProperty(exports, "getForeignKeysFromValue", {
|
|
582
599
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
600
|
+
get: function () { return chunkPLT4CHNF_cjs.getForeignKeysFromValue; }
|
|
584
601
|
});
|
|
585
602
|
Object.defineProperty(exports, "getInvalidFieldNamesInSchema", {
|
|
586
603
|
enumerable: true,
|
|
587
|
-
get: function () { return
|
|
604
|
+
get: function () { return chunkPLT4CHNF_cjs.getInvalidFieldNamesInSchema; }
|
|
588
605
|
});
|
|
589
606
|
Object.defineProperty(exports, "getJsonSchemaStoreByPath", {
|
|
590
607
|
enumerable: true,
|
|
591
|
-
get: function () { return
|
|
608
|
+
get: function () { return chunkPLT4CHNF_cjs.getJsonSchemaStoreByPath; }
|
|
592
609
|
});
|
|
593
610
|
Object.defineProperty(exports, "getJsonValueStoreByPath", {
|
|
594
611
|
enumerable: true,
|
|
595
|
-
get: function () { return
|
|
612
|
+
get: function () { return chunkPLT4CHNF_cjs.getJsonValueStoreByPath; }
|
|
596
613
|
});
|
|
597
614
|
Object.defineProperty(exports, "getParentForPath", {
|
|
598
615
|
enumerable: true,
|
|
599
|
-
get: function () { return
|
|
616
|
+
get: function () { return chunkPLT4CHNF_cjs.getParentForPath; }
|
|
600
617
|
});
|
|
601
618
|
Object.defineProperty(exports, "getPathByStore", {
|
|
602
619
|
enumerable: true,
|
|
603
|
-
get: function () { return
|
|
620
|
+
get: function () { return chunkPLT4CHNF_cjs.getPathByStore; }
|
|
604
621
|
});
|
|
605
622
|
Object.defineProperty(exports, "getValueByPath", {
|
|
606
623
|
enumerable: true,
|
|
607
|
-
get: function () { return
|
|
624
|
+
get: function () { return chunkPLT4CHNF_cjs.getValueByPath; }
|
|
608
625
|
});
|
|
609
626
|
Object.defineProperty(exports, "hasPath", {
|
|
610
627
|
enumerable: true,
|
|
611
|
-
get: function () { return
|
|
628
|
+
get: function () { return chunkPLT4CHNF_cjs.hasPath; }
|
|
612
629
|
});
|
|
613
630
|
Object.defineProperty(exports, "parsePath", {
|
|
614
631
|
enumerable: true,
|
|
615
|
-
get: function () { return
|
|
632
|
+
get: function () { return chunkPLT4CHNF_cjs.parsePath; }
|
|
616
633
|
});
|
|
617
634
|
Object.defineProperty(exports, "pluginRefs", {
|
|
618
635
|
enumerable: true,
|
|
619
|
-
get: function () { return
|
|
636
|
+
get: function () { return chunkPLT4CHNF_cjs.pluginRefs; }
|
|
620
637
|
});
|
|
621
638
|
Object.defineProperty(exports, "replaceForeignKeyValue", {
|
|
622
639
|
enumerable: true,
|
|
623
|
-
get: function () { return
|
|
640
|
+
get: function () { return chunkPLT4CHNF_cjs.replaceForeignKeyValue; }
|
|
624
641
|
});
|
|
625
642
|
Object.defineProperty(exports, "resolveRefs", {
|
|
626
643
|
enumerable: true,
|
|
627
|
-
get: function () { return
|
|
644
|
+
get: function () { return chunkPLT4CHNF_cjs.resolveRefs; }
|
|
628
645
|
});
|
|
629
646
|
Object.defineProperty(exports, "saveSharedFields", {
|
|
630
647
|
enumerable: true,
|
|
631
|
-
get: function () { return
|
|
648
|
+
get: function () { return chunkPLT4CHNF_cjs.saveSharedFields; }
|
|
632
649
|
});
|
|
633
650
|
Object.defineProperty(exports, "setValueByPath", {
|
|
634
651
|
enumerable: true,
|
|
635
|
-
get: function () { return
|
|
652
|
+
get: function () { return chunkPLT4CHNF_cjs.setValueByPath; }
|
|
636
653
|
});
|
|
637
654
|
Object.defineProperty(exports, "traverseStore", {
|
|
638
655
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
656
|
+
get: function () { return chunkPLT4CHNF_cjs.traverseStore; }
|
|
640
657
|
});
|
|
641
658
|
Object.defineProperty(exports, "traverseValue", {
|
|
642
659
|
enumerable: true,
|
|
643
|
-
get: function () { return
|
|
660
|
+
get: function () { return chunkPLT4CHNF_cjs.traverseValue; }
|
|
644
661
|
});
|
|
645
662
|
Object.defineProperty(exports, "validateJsonFieldName", {
|
|
646
663
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
664
|
+
get: function () { return chunkPLT4CHNF_cjs.validateJsonFieldName; }
|
|
665
|
+
});
|
|
666
|
+
Object.defineProperty(exports, "validateRevisiumSchema", {
|
|
667
|
+
enumerable: true,
|
|
668
|
+
get: function () { return chunkPLT4CHNF_cjs.validateRevisiumSchema; }
|
|
648
669
|
});
|
|
649
670
|
Object.defineProperty(exports, "collectFormulaNodes", {
|
|
650
671
|
enumerable: true,
|
|
@@ -872,69 +893,73 @@ Object.defineProperty(exports, "toArrayTransformation", {
|
|
|
872
893
|
});
|
|
873
894
|
Object.defineProperty(exports, "arrayMetaSchema", {
|
|
874
895
|
enumerable: true,
|
|
875
|
-
get: function () { return
|
|
896
|
+
get: function () { return chunkC3HDJOTY_cjs.arrayMetaSchema; }
|
|
876
897
|
});
|
|
877
898
|
Object.defineProperty(exports, "baseStringFields", {
|
|
878
899
|
enumerable: true,
|
|
879
|
-
get: function () { return
|
|
900
|
+
get: function () { return chunkC3HDJOTY_cjs.baseStringFields; }
|
|
880
901
|
});
|
|
881
902
|
Object.defineProperty(exports, "booleanMetaSchema", {
|
|
882
903
|
enumerable: true,
|
|
883
|
-
get: function () { return
|
|
904
|
+
get: function () { return chunkC3HDJOTY_cjs.booleanMetaSchema; }
|
|
884
905
|
});
|
|
885
906
|
Object.defineProperty(exports, "foreignKeyExcludesFormula", {
|
|
886
907
|
enumerable: true,
|
|
887
|
-
get: function () { return
|
|
908
|
+
get: function () { return chunkC3HDJOTY_cjs.foreignKeyExcludesFormula; }
|
|
888
909
|
});
|
|
889
910
|
Object.defineProperty(exports, "historyPatchesSchema", {
|
|
890
911
|
enumerable: true,
|
|
891
|
-
get: function () { return
|
|
912
|
+
get: function () { return chunkC3HDJOTY_cjs.historyPatchesSchema; }
|
|
892
913
|
});
|
|
893
914
|
Object.defineProperty(exports, "jsonPatchSchema", {
|
|
894
915
|
enumerable: true,
|
|
895
|
-
get: function () { return
|
|
916
|
+
get: function () { return chunkC3HDJOTY_cjs.jsonPatchSchema; }
|
|
896
917
|
});
|
|
897
918
|
Object.defineProperty(exports, "metaSchema", {
|
|
898
919
|
enumerable: true,
|
|
899
|
-
get: function () { return
|
|
920
|
+
get: function () { return chunkC3HDJOTY_cjs.metaSchema; }
|
|
900
921
|
});
|
|
901
922
|
Object.defineProperty(exports, "noForeignKeyStringMetaSchema", {
|
|
902
923
|
enumerable: true,
|
|
903
|
-
get: function () { return
|
|
924
|
+
get: function () { return chunkC3HDJOTY_cjs.noForeignKeyStringMetaSchema; }
|
|
904
925
|
});
|
|
905
926
|
Object.defineProperty(exports, "notForeignKeyMetaSchema", {
|
|
906
927
|
enumerable: true,
|
|
907
|
-
get: function () { return
|
|
928
|
+
get: function () { return chunkC3HDJOTY_cjs.notForeignKeyMetaSchema; }
|
|
908
929
|
});
|
|
909
930
|
Object.defineProperty(exports, "numberMetaSchema", {
|
|
910
931
|
enumerable: true,
|
|
911
|
-
get: function () { return
|
|
932
|
+
get: function () { return chunkC3HDJOTY_cjs.numberMetaSchema; }
|
|
912
933
|
});
|
|
913
934
|
Object.defineProperty(exports, "objectMetaSchema", {
|
|
914
935
|
enumerable: true,
|
|
915
|
-
get: function () { return
|
|
936
|
+
get: function () { return chunkC3HDJOTY_cjs.objectMetaSchema; }
|
|
916
937
|
});
|
|
917
938
|
Object.defineProperty(exports, "refMetaSchema", {
|
|
918
939
|
enumerable: true,
|
|
919
|
-
get: function () { return
|
|
940
|
+
get: function () { return chunkC3HDJOTY_cjs.refMetaSchema; }
|
|
920
941
|
});
|
|
921
942
|
Object.defineProperty(exports, "sharedFields", {
|
|
922
943
|
enumerable: true,
|
|
923
|
-
get: function () { return
|
|
944
|
+
get: function () { return chunkC3HDJOTY_cjs.sharedFields; }
|
|
924
945
|
});
|
|
925
946
|
Object.defineProperty(exports, "stringMetaSchema", {
|
|
926
947
|
enumerable: true,
|
|
927
|
-
get: function () { return
|
|
948
|
+
get: function () { return chunkC3HDJOTY_cjs.stringMetaSchema; }
|
|
928
949
|
});
|
|
929
950
|
Object.defineProperty(exports, "tableMigrationsSchema", {
|
|
930
951
|
enumerable: true,
|
|
931
|
-
get: function () { return
|
|
952
|
+
get: function () { return chunkC3HDJOTY_cjs.tableMigrationsSchema; }
|
|
953
|
+
});
|
|
954
|
+
Object.defineProperty(exports, "tableViewsSchema", {
|
|
955
|
+
enumerable: true,
|
|
956
|
+
get: function () { return chunkC3HDJOTY_cjs.tableViewsSchema; }
|
|
932
957
|
});
|
|
933
958
|
Object.defineProperty(exports, "xFormulaRequiresReadOnly", {
|
|
934
959
|
enumerable: true,
|
|
935
|
-
get: function () { return
|
|
960
|
+
get: function () { return chunkC3HDJOTY_cjs.xFormulaRequiresReadOnly; }
|
|
936
961
|
});
|
|
937
962
|
Object.defineProperty(exports, "xFormulaSchema", {
|
|
938
963
|
enumerable: true,
|
|
939
|
-
get: function () { return
|
|
964
|
+
get: function () { return chunkC3HDJOTY_cjs.xFormulaSchema; }
|
|
940
965
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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-eM6pYC2P.cjs';
|
|
3
|
-
export { v as ArrayNodeOptions, A as ArrayValueNodeInterface, a2 as CompositeTypeName, D as DirtyTrackable, $ as FieldSchemaSpec, C as FieldType, E as FieldTypeSpec, X as ForeignKeyResolver, F as FormulaDefinition, r as FormulaWarning, g as InferNode, I as InferValue, d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace, N as NodeAtPath, w as NodeFactoryFn, x as NodeFactoryOptions, n as NodeFactoryRegistry, j as NodeFromValue, u as ObjectNodeOptions, O as ObjectValueNodeInterface, t as PrimitiveNodeOptions, a1 as PrimitiveTypeName, P as PrimitiveValueNode, R as RefSchemas, G as ReplaceResult, M as RowData, Q as RowModel, U as RowModelOptions, h as SchemaAtPath, i as SchemaFromValue, B as SchemaModel, H as SchemaModelOptions, S as SchemaPaths, a0 as SimpleFieldType, K as TableModel, W as TableModelLike, L as TableModelOptions, Z as TransformContext, _ as TransformResult, Y as TypeTransformer, f as TypedArrayValueNode, e as TypedObjectValueNode, T as TypedPrimitiveValueNode, V as ValueAtPath, q as ValueNode, y as ValueNodeFactory, s as ValueNodeOptions, k as ValuePaths, z as ValueTreeLike, l as ValueType, p as createDefaultRegistry, o as createNodeFactory, m as extractFormulaDefinition } from './typed-
|
|
3
|
+
export { v as ArrayNodeOptions, A as ArrayValueNodeInterface, a2 as CompositeTypeName, D as DirtyTrackable, $ as FieldSchemaSpec, C as FieldType, E as FieldTypeSpec, X as ForeignKeyResolver, F as FormulaDefinition, r as FormulaWarning, g as InferNode, I as InferValue, d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace, N as NodeAtPath, w as NodeFactoryFn, x as NodeFactoryOptions, n as NodeFactoryRegistry, j as NodeFromValue, u as ObjectNodeOptions, O as ObjectValueNodeInterface, t as PrimitiveNodeOptions, a1 as PrimitiveTypeName, P as PrimitiveValueNode, R as RefSchemas, G as ReplaceResult, M as RowData, Q as RowModel, U as RowModelOptions, h as SchemaAtPath, i as SchemaFromValue, B as SchemaModel, H as SchemaModelOptions, S as SchemaPaths, a0 as SimpleFieldType, K as TableModel, W as TableModelLike, L as TableModelOptions, Z as TransformContext, _ as TransformResult, Y as TypeTransformer, f as TypedArrayValueNode, e as TypedObjectValueNode, T as TypedPrimitiveValueNode, V as ValueAtPath, q as ValueNode, y as ValueNodeFactory, s as ValueNodeOptions, k as ValuePaths, z as ValueTreeLike, l as ValueType, p as createDefaultRegistry, o as createNodeFactory, m as extractFormulaDefinition } from './typed-C0YM-ar9.cjs';
|
|
4
4
|
export { InitMigration, Migration, RemoveMigration, RenameMigration, UpdateMigration } from './types/index.cjs';
|
|
5
5
|
export { C as ContentMediaType, h as JsonArraySchema, e as JsonBooleanSchema, d as JsonNumberSchema, g as JsonObjectSchema, i as JsonRefSchema, j as JsonSchema, f as JsonSchemaPrimitives, b as JsonSchemaSharedFields, a as JsonSchemaType, J as JsonSchemaTypeName, k as JsonSchemaWithoutRef, c as JsonStringSchema, X as XFormula } from './schema.types-On_VGw2m.cjs';
|
|
6
6
|
export { a as FieldChange, F as FieldChangeType } from './types-C_GxaUve.cjs';
|
|
@@ -11,10 +11,10 @@ export { A as AddedPropertyEvent, C as ChangeNameEvent, f as JsonArrayStore, m a
|
|
|
11
11
|
export { ArrayToItemsTypeTransformer, ArrayValueNode, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, DataModel, DataModelImpl, DataModelOptions, DefaultTransformer, ForeignKeyLoader, ForeignKeyNotFoundError, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, ForeignKeyResolverOptions, ForeignKeyRowLoaderResult, ForeignKeyValueNode, ForeignKeyValueNodeImpl, FormulaChangeDetector, FormulaDependencyIndex, FormulaPath, GenerateDefaultValueOptions, IndirectFormulaChange, NodeFactory, NumberValueNode, ObjectToArrayTransformer, ObjectValueNode, ParsedFormula, PrimitiveToArrayTransformer, RefTransformer, RowModelImpl, SchemaParser, StringValueNode, TableModelImpl, TypeTransformChain, TypeTransformChainOptions, TypedRowData, TypedRowModel, TypedRowModelOptions, TypedTableModel, TypedTableModelOptions, TypedValueTree, ValueTree, createDataModel, createForeignKeyResolver, createRowModel, createSchemaModel, createTableModel, createTypeTransformChain, createTypedTree, equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, generateDefaultValue, generateNodeId, getTransformation, isForeignKeyValueNode, resetNodeIdCounter, toArrayTransformation, typedNode } from './model/index.cjs';
|
|
12
12
|
export { l as DefaultValueType, D as Diagnostic, b as DiagnosticSeverity, E as EMPTY_METADATA, i as Formula, F as FormulaDependency, h as NodeMetadata, N as NodeType, P as Path, a as PathSegment, m as PropertyChange, n as PropertyName, R as ResolvedDependency, S as SchemaLike, j as SchemaNode, k as SchemaPatch, f as SchemaValidationError, g as SchemaValidationErrorType, T as TreeFormulaValidationError, V as ValidationContext, c as Validator, e as ValidatorFactoryFn, d as ValidatorRule } from './types-BIvIURgy.cjs';
|
|
13
13
|
export { a as FormulaPathBuilder, F as FormulaSerializer, S as SchemaTree } from './FormulaPathBuilder-BUJRR0Am.cjs';
|
|
14
|
-
export { GetForeignKeysFromValueType, RefsType, ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonArrayValueStore, createJsonObjectSchemaStore, createJsonObjectValueStore, createJsonSchemaStore, createJsonValueStore, createPrimitiveStoreBySchema, createPrimitiveValueStore, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from './lib/index.cjs';
|
|
14
|
+
export { DataWeight, GetForeignKeysFromValueType, MetaSchemaValidationResult, RefsType, ReplaceForeignKeyValueOptions, RevisiumValidator, SchemaTable, SchemaWeight, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, ValidateFn, ValidationError, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, calculateDataWeight, calculateDataWeightFromStore, calculateSchemaWeight, 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, validateRevisiumSchema } from './lib/index.cjs';
|
|
15
15
|
export { c as computeValueDiff } from './computeValueDiff-CNT84rwK.cjs';
|
|
16
16
|
export { EvaluateFormulasOptions, EvaluateFormulasResult, ExtractedFormula, FormulaError, FormulaNode, FormulaValidationError, SchemaValidationResult, collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, validateFormulaAgainstSchema, validateSchemaFormulas } from './formula/index.cjs';
|
|
17
|
-
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, foreignKeyExcludesFormula, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema, xFormulaRequiresReadOnly, xFormulaSchema } from './validation-schemas/index.cjs';
|
|
17
|
+
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, foreignKeyExcludesFormula, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema, tableViewsSchema, xFormulaRequiresReadOnly, xFormulaSchema } from './validation-schemas/index.cjs';
|
|
18
18
|
export { AddedChange, AnnotationType, AnnotationsMap, ChangeCoalescer, ChangeCollector, ChangeType, CoalescedChanges, ComparatorContext, CompositeRule, EMPTY_PATH, EnumValidator, FIELD_NAME_ERROR_MESSAGE, ForeignKeyValidator, ItemsSegment, MaxLengthValidator, MaximumValidator, MinLengthValidator, MinimumValidator, ModifiedChange, MovedChange, NULL_NODE, NodePathIndex, PatchBuilder, PatchEnricher, PatchGenerator, PatternValidator, PropertySegment, RawChange, ReactivityProvider, RemovedChange, RequiredValidator, SchemaDiff, SchemaPropertyRule, SchemaSerializer, SchemaTruthyRule, SerializeOptions, 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 './core/index.cjs';
|
|
19
19
|
export { S as SystemSchemaIds } from './system-schema-ids-B-2xMN-1.cjs';
|
|
20
20
|
export { formulaSpec } from '@revisium/formula/spec';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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-BpVnp08Z.js';
|
|
3
|
-
export { v as ArrayNodeOptions, A as ArrayValueNodeInterface, a2 as CompositeTypeName, D as DirtyTrackable, $ as FieldSchemaSpec, C as FieldType, E as FieldTypeSpec, X as ForeignKeyResolver, F as FormulaDefinition, r as FormulaWarning, g as InferNode, I as InferValue, d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace, N as NodeAtPath, w as NodeFactoryFn, x as NodeFactoryOptions, n as NodeFactoryRegistry, j as NodeFromValue, u as ObjectNodeOptions, O as ObjectValueNodeInterface, t as PrimitiveNodeOptions, a1 as PrimitiveTypeName, P as PrimitiveValueNode, R as RefSchemas, G as ReplaceResult, M as RowData, Q as RowModel, U as RowModelOptions, h as SchemaAtPath, i as SchemaFromValue, B as SchemaModel, H as SchemaModelOptions, S as SchemaPaths, a0 as SimpleFieldType, K as TableModel, W as TableModelLike, L as TableModelOptions, Z as TransformContext, _ as TransformResult, Y as TypeTransformer, f as TypedArrayValueNode, e as TypedObjectValueNode, T as TypedPrimitiveValueNode, V as ValueAtPath, q as ValueNode, y as ValueNodeFactory, s as ValueNodeOptions, k as ValuePaths, z as ValueTreeLike, l as ValueType, p as createDefaultRegistry, o as createNodeFactory, m as extractFormulaDefinition } from './typed-
|
|
3
|
+
export { v as ArrayNodeOptions, A as ArrayValueNodeInterface, a2 as CompositeTypeName, D as DirtyTrackable, $ as FieldSchemaSpec, C as FieldType, E as FieldTypeSpec, X as ForeignKeyResolver, F as FormulaDefinition, r as FormulaWarning, g as InferNode, I as InferValue, d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace, N as NodeAtPath, w as NodeFactoryFn, x as NodeFactoryOptions, n as NodeFactoryRegistry, j as NodeFromValue, u as ObjectNodeOptions, O as ObjectValueNodeInterface, t as PrimitiveNodeOptions, a1 as PrimitiveTypeName, P as PrimitiveValueNode, R as RefSchemas, G as ReplaceResult, M as RowData, Q as RowModel, U as RowModelOptions, h as SchemaAtPath, i as SchemaFromValue, B as SchemaModel, H as SchemaModelOptions, S as SchemaPaths, a0 as SimpleFieldType, K as TableModel, W as TableModelLike, L as TableModelOptions, Z as TransformContext, _ as TransformResult, Y as TypeTransformer, f as TypedArrayValueNode, e as TypedObjectValueNode, T as TypedPrimitiveValueNode, V as ValueAtPath, q as ValueNode, y as ValueNodeFactory, s as ValueNodeOptions, k as ValuePaths, z as ValueTreeLike, l as ValueType, p as createDefaultRegistry, o as createNodeFactory, m as extractFormulaDefinition } from './typed-CkirI6bH.js';
|
|
4
4
|
export { InitMigration, Migration, RemoveMigration, RenameMigration, UpdateMigration } from './types/index.js';
|
|
5
5
|
export { C as ContentMediaType, h as JsonArraySchema, e as JsonBooleanSchema, d as JsonNumberSchema, g as JsonObjectSchema, i as JsonRefSchema, j as JsonSchema, f as JsonSchemaPrimitives, b as JsonSchemaSharedFields, a as JsonSchemaType, J as JsonSchemaTypeName, k as JsonSchemaWithoutRef, c as JsonStringSchema, X as XFormula } from './schema.types-On_VGw2m.js';
|
|
6
6
|
export { a as FieldChange, F as FieldChangeType } from './types-C_GxaUve.js';
|
|
@@ -11,10 +11,10 @@ export { A as AddedPropertyEvent, C as ChangeNameEvent, f as JsonArrayStore, m a
|
|
|
11
11
|
export { ArrayToItemsTypeTransformer, ArrayValueNode, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, DataModel, DataModelImpl, DataModelOptions, DefaultTransformer, ForeignKeyLoader, ForeignKeyNotFoundError, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, ForeignKeyResolverOptions, ForeignKeyRowLoaderResult, ForeignKeyValueNode, ForeignKeyValueNodeImpl, FormulaChangeDetector, FormulaDependencyIndex, FormulaPath, GenerateDefaultValueOptions, IndirectFormulaChange, NodeFactory, NumberValueNode, ObjectToArrayTransformer, ObjectValueNode, ParsedFormula, PrimitiveToArrayTransformer, RefTransformer, RowModelImpl, SchemaParser, StringValueNode, TableModelImpl, TypeTransformChain, TypeTransformChainOptions, TypedRowData, TypedRowModel, TypedRowModelOptions, TypedTableModel, TypedTableModelOptions, TypedValueTree, ValueTree, createDataModel, createForeignKeyResolver, createRowModel, createSchemaModel, createTableModel, createTypeTransformChain, createTypedTree, equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, generateDefaultValue, generateNodeId, getTransformation, isForeignKeyValueNode, resetNodeIdCounter, toArrayTransformation, typedNode } from './model/index.js';
|
|
12
12
|
export { l as DefaultValueType, D as Diagnostic, b as DiagnosticSeverity, E as EMPTY_METADATA, i as Formula, F as FormulaDependency, h as NodeMetadata, N as NodeType, P as Path, a as PathSegment, m as PropertyChange, n as PropertyName, R as ResolvedDependency, S as SchemaLike, j as SchemaNode, k as SchemaPatch, f as SchemaValidationError, g as SchemaValidationErrorType, T as TreeFormulaValidationError, V as ValidationContext, c as Validator, e as ValidatorFactoryFn, d as ValidatorRule } from './types-C_pTFtSY.js';
|
|
13
13
|
export { a as FormulaPathBuilder, F as FormulaSerializer, S as SchemaTree } from './FormulaPathBuilder-QR0htn-e.js';
|
|
14
|
-
export { GetForeignKeysFromValueType, RefsType, ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonArrayValueStore, createJsonObjectSchemaStore, createJsonObjectValueStore, createJsonSchemaStore, createJsonValueStore, createPrimitiveStoreBySchema, createPrimitiveValueStore, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from './lib/index.js';
|
|
14
|
+
export { DataWeight, GetForeignKeysFromValueType, MetaSchemaValidationResult, RefsType, ReplaceForeignKeyValueOptions, RevisiumValidator, SchemaTable, SchemaWeight, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, ValidateFn, ValidationError, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, calculateDataWeight, calculateDataWeightFromStore, calculateSchemaWeight, 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, validateRevisiumSchema } from './lib/index.js';
|
|
15
15
|
export { c as computeValueDiff } from './computeValueDiff-CDwbNw8F.js';
|
|
16
16
|
export { EvaluateFormulasOptions, EvaluateFormulasResult, ExtractedFormula, FormulaError, FormulaNode, FormulaValidationError, SchemaValidationResult, collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, validateFormulaAgainstSchema, validateSchemaFormulas } from './formula/index.js';
|
|
17
|
-
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, foreignKeyExcludesFormula, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema, xFormulaRequiresReadOnly, xFormulaSchema } from './validation-schemas/index.js';
|
|
17
|
+
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, foreignKeyExcludesFormula, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema, tableViewsSchema, xFormulaRequiresReadOnly, xFormulaSchema } from './validation-schemas/index.js';
|
|
18
18
|
export { AddedChange, AnnotationType, AnnotationsMap, ChangeCoalescer, ChangeCollector, ChangeType, CoalescedChanges, ComparatorContext, CompositeRule, EMPTY_PATH, EnumValidator, FIELD_NAME_ERROR_MESSAGE, ForeignKeyValidator, ItemsSegment, MaxLengthValidator, MaximumValidator, MinLengthValidator, MinimumValidator, ModifiedChange, MovedChange, NULL_NODE, NodePathIndex, PatchBuilder, PatchEnricher, PatchGenerator, PatternValidator, PropertySegment, RawChange, ReactivityProvider, RemovedChange, RequiredValidator, SchemaDiff, SchemaPropertyRule, SchemaSerializer, SchemaTruthyRule, SerializeOptions, 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 './core/index.js';
|
|
19
19
|
export { S as SystemSchemaIds } from './system-schema-ids-B-2xMN-1.js';
|
|
20
20
|
export { formulaSpec } from '@revisium/formula/spec';
|
package/dist/index.js
CHANGED
|
@@ -2,14 +2,15 @@ import './chunk-OAUVP6CU.js';
|
|
|
2
2
|
export { JsonSchemaTypeName } from './chunk-NO655UI5.js';
|
|
3
3
|
import './chunk-3MJP73IJ.js';
|
|
4
4
|
export { CustomSchemeKeywords } from './chunk-WE4OLW5U.js';
|
|
5
|
-
export { ArrayToItemsTypeTransformer, ArrayValueNode, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, DataModelImpl, DefaultTransformer, ForeignKeyNotFoundError, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, ForeignKeyValueNodeImpl, FormulaChangeDetector, FormulaDependencyIndex, FormulaPath, NodeFactory, NodeFactoryRegistry, NumberValueNode, ObjectToArrayTransformer, ObjectValueNode, ParsedFormula, PrimitiveToArrayTransformer, RefTransformer, RowModelImpl, SchemaParser, StringValueNode, TableModelImpl, TypeTransformChain, NodeFactory2 as ValueNodeFactory, ValueTree, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, createRowModel, createSchemaModel, createTableModel, createTypeTransformChain, createTypedTree, extractFormulaDefinition, generateDefaultValue, generateNodeId, isForeignKeyValueNode, resetNodeIdCounter, typedNode } from './chunk-
|
|
5
|
+
export { ArrayToItemsTypeTransformer, ArrayValueNode, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, DataModelImpl, DefaultTransformer, ForeignKeyNotFoundError, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, ForeignKeyValueNodeImpl, FormulaChangeDetector, FormulaDependencyIndex, FormulaPath, NodeFactory, NodeFactoryRegistry, NumberValueNode, ObjectToArrayTransformer, ObjectValueNode, ParsedFormula, PrimitiveToArrayTransformer, RefTransformer, RowModelImpl, SchemaParser, StringValueNode, TableModelImpl, TypeTransformChain, NodeFactory2 as ValueNodeFactory, ValueTree, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, createRowModel, createSchemaModel, createTableModel, createTypeTransformChain, createTypedTree, extractFormulaDefinition, generateDefaultValue, generateNodeId, isForeignKeyValueNode, resetNodeIdCounter, typedNode } from './chunk-B3W5BASK.js';
|
|
6
6
|
export { ChangeCoalescer, ChangeCollector, CompositeRule, EMPTY_METADATA, EMPTY_PATH, EnumValidator, FIELD_NAME_ERROR_MESSAGE, ForeignKeyValidator, FormulaPathBuilder, FormulaSerializer, ItemsSegment, MaxLengthValidator, MaximumValidator, MinLengthValidator, MinimumValidator, NULL_NODE, NodePathIndex, PatchBuilder, PatchEnricher, PatchGenerator, PatternValidator, PropertySegment, RequiredValidator, ResolvedDependency, SchemaDiff, SchemaPropertyRule, SchemaSerializer, SchemaTruthyRule, ValidationEngine, ValidatorRegistry, ValidatorResolver, areNodesContentEqual, areNodesEqual, coalesceChanges, collectChanges, createArrayNode, createBooleanNode, createDefaultValidatorRegistry, createMobxProvider, createNumberNode, createObjectNode, createPath, createRefNode, createSchemaTree, createStringNode, createValidationEngine, isValidFieldName, jsonPointerToPath, jsonPointerToSegments, jsonPointerToSimplePath, makeAutoObservable, makeObservable, observable, reaction, resetReactivityProvider, runInAction, setReactivityProvider, validateFormulas, validateSchema } from './chunk-2GZ3M3RV.js';
|
|
7
7
|
export { arr, bool, boolFormula, getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema, num, numFormula, obj, ref, str, strFormula } from './chunk-IZMBM36H.js';
|
|
8
|
-
export { 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-
|
|
8
|
+
export { RevisiumValidator, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, calculateDataWeight, calculateDataWeightFromStore, calculateSchemaWeight, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonObjectSchemaStore, createJsonSchemaStore, createPrimitiveStoreBySchema, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName, validateRevisiumSchema } from './chunk-YHRQOWWO.js';
|
|
9
9
|
export { collectFormulaNodes, evaluateFormulas, extractSchemaFormulas, formulaSpec, validateFormulaAgainstSchema, validateSchemaFormulas } from './chunk-GJM63Q4K.js';
|
|
10
10
|
export { computeValueDiff } from './chunk-7PEC6ZYY.js';
|
|
11
11
|
export { FieldChangeType } from './chunk-ZPRBA4AQ.js';
|
|
12
12
|
export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './chunk-4U2RZHMX.js';
|
|
13
13
|
export { SystemSchemaIds } from './chunk-5DUMJHCA.js';
|
|
14
14
|
export { JsonArrayStore, JsonArrayValueStore, JsonBooleanStore, JsonBooleanValueStore, JsonNumberStore, JsonNumberValueStore, JsonObjectStore, JsonObjectValueStore, JsonStringStore, JsonStringValueStore, addSharedFieldsFromState, createJsonArrayValueStore, createJsonObjectValueStore, createJsonValueStore, createPrimitiveValueStore, equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, getTransformation, toArrayTransformation } from './chunk-FTBRJODD.js';
|
|
15
|
-
|
|
15
|
+
import './chunk-5G3AVY57.js';
|
|
16
|
+
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, foreignKeyExcludesFormula, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema, tableViewsSchema, xFormulaRequiresReadOnly, xFormulaSchema } from './chunk-6IMYMTFF.js';
|