@revisium/schema-toolkit 0.16.0 → 0.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/{chunk-IWRV6QAD.cjs → chunk-44ZEZUWU.cjs} +419 -86
  2. package/dist/chunk-44ZEZUWU.cjs.map +1 -0
  3. package/dist/{chunk-HY4VE7H2.js → chunk-55AMH44G.js} +3 -3
  4. package/dist/chunk-55AMH44G.js.map +1 -0
  5. package/dist/{chunk-TMWPWGUN.cjs → chunk-B3T6YB2D.cjs} +6 -6
  6. package/dist/chunk-B3T6YB2D.cjs.map +1 -0
  7. package/dist/{chunk-GAPLSVZN.cjs → chunk-J6SCHJKG.cjs} +2 -2
  8. package/dist/chunk-J6SCHJKG.cjs.map +1 -0
  9. package/dist/chunk-JJ2KGTZX.cjs +105 -0
  10. package/dist/chunk-JJ2KGTZX.cjs.map +1 -0
  11. package/dist/{chunk-S7GEDTSL.js → chunk-KLDN3IHB.js} +408 -88
  12. package/dist/chunk-KLDN3IHB.js.map +1 -0
  13. package/dist/chunk-MLNKM67U.cjs +4 -0
  14. package/dist/chunk-MLNKM67U.cjs.map +1 -0
  15. package/dist/{chunk-CYTPQYVM.js → chunk-MPF6VCB5.js} +2 -2
  16. package/dist/chunk-MPF6VCB5.js.map +1 -0
  17. package/dist/{chunk-OR2I3XOQ.cjs → chunk-OY5NX5DZ.cjs} +232 -288
  18. package/dist/chunk-OY5NX5DZ.cjs.map +1 -0
  19. package/dist/{chunk-2NRQPOQY.js → chunk-QEV4Q4TR.js} +3 -3
  20. package/dist/{chunk-2NRQPOQY.js.map → chunk-QEV4Q4TR.js.map} +1 -1
  21. package/dist/{chunk-XS47N22X.cjs → chunk-V6JTSET2.cjs} +13 -13
  22. package/dist/{chunk-XS47N22X.cjs.map → chunk-V6JTSET2.cjs.map} +1 -1
  23. package/dist/{chunk-LF6CGXRQ.js → chunk-VQZNN335.js} +216 -272
  24. package/dist/chunk-VQZNN335.js.map +1 -0
  25. package/dist/chunk-Y2GYABV7.js +3 -0
  26. package/dist/chunk-Y2GYABV7.js.map +1 -0
  27. package/dist/chunk-YGTMLR3D.js +88 -0
  28. package/dist/chunk-YGTMLR3D.js.map +1 -0
  29. package/dist/core/index.cjs +84 -70
  30. package/dist/core/index.cjs.map +1 -1
  31. package/dist/core/index.d.cts +69 -7
  32. package/dist/core/index.d.ts +69 -7
  33. package/dist/core/index.js +3 -24
  34. package/dist/core/index.js.map +1 -1
  35. package/dist/formula/index.d.cts +1 -1
  36. package/dist/formula/index.d.ts +1 -1
  37. package/dist/index.cjs +373 -112
  38. package/dist/index.d.cts +10 -10
  39. package/dist/index.d.ts +10 -10
  40. package/dist/index.js +7 -6
  41. package/dist/{json-patch.types-eltVqnWC.d.cts → json-patch.types-Cu0Medki.d.cts} +1 -1
  42. package/dist/{json-patch.types-DTUHS9SV.d.ts → json-patch.types-DY7k9hxy.d.ts} +1 -1
  43. package/dist/{json-string.store-DKlkc1u_.d.cts → json-string.store-DOZn38CI.d.cts} +2 -2
  44. package/dist/{json-string.store-DMrHPJ3v.d.ts → json-string.store-DRmQFKrp.d.ts} +2 -2
  45. package/dist/lib/index.cjs +40 -40
  46. package/dist/lib/index.d.cts +4 -4
  47. package/dist/lib/index.d.ts +4 -4
  48. package/dist/lib/index.js +3 -3
  49. package/dist/mocks/index.cjs +36 -12
  50. package/dist/mocks/index.d.cts +28 -9
  51. package/dist/mocks/index.d.ts +28 -9
  52. package/dist/mocks/index.js +2 -2
  53. package/dist/model/index.cjs +86 -58
  54. package/dist/model/index.d.cts +116 -47
  55. package/dist/model/index.d.ts +116 -47
  56. package/dist/model/index.js +4 -4
  57. package/dist/plugins/index.cjs +1 -1
  58. package/dist/plugins/index.d.cts +9 -9
  59. package/dist/plugins/index.d.ts +9 -9
  60. package/dist/plugins/index.js +1 -1
  61. package/dist/{schema.types-ZX5fUW1X.d.cts → schema.types-B5OgKLpV.d.cts} +3 -2
  62. package/dist/{schema.types-ZX5fUW1X.d.ts → schema.types-B5OgKLpV.d.ts} +3 -2
  63. package/dist/types/index.cjs +2 -2
  64. package/dist/types/index.d.cts +4 -4
  65. package/dist/types/index.d.ts +4 -4
  66. package/dist/types/index.js +1 -1
  67. package/dist/{types-DMzUCve0.d.cts → types-BUiNI0oL.d.cts} +29 -34
  68. package/dist/{types-Cnfj5nLO.d.ts → types-bBnnfNxC.d.ts} +29 -34
  69. package/package.json +4 -1
  70. package/dist/FormulaValidator-CKE2kT4C.d.cts +0 -10
  71. package/dist/FormulaValidator-DGGmwqDQ.d.ts +0 -10
  72. package/dist/chunk-AORPUIKD.js +0 -81
  73. package/dist/chunk-AORPUIKD.js.map +0 -1
  74. package/dist/chunk-CYTPQYVM.js.map +0 -1
  75. package/dist/chunk-EJYILFAK.cjs +0 -92
  76. package/dist/chunk-EJYILFAK.cjs.map +0 -1
  77. package/dist/chunk-GAPLSVZN.cjs.map +0 -1
  78. package/dist/chunk-HY4VE7H2.js.map +0 -1
  79. package/dist/chunk-IWRV6QAD.cjs.map +0 -1
  80. package/dist/chunk-LF6CGXRQ.js.map +0 -1
  81. package/dist/chunk-OR2I3XOQ.cjs.map +0 -1
  82. package/dist/chunk-S7GEDTSL.js.map +0 -1
  83. package/dist/chunk-TMWPWGUN.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- export { getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema } from '../chunk-AORPUIKD.js';
2
- import '../chunk-CYTPQYVM.js';
1
+ export { arr, bool, getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema, num, obj, ref, str } from '../chunk-YGTMLR3D.js';
2
+ import '../chunk-MPF6VCB5.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,229 +1,257 @@
1
1
  'use strict';
2
2
 
3
- var chunkOR2I3XOQ_cjs = require('../chunk-OR2I3XOQ.cjs');
4
- require('../chunk-IWRV6QAD.cjs');
3
+ var chunkOY5NX5DZ_cjs = require('../chunk-OY5NX5DZ.cjs');
4
+ var chunk44ZEZUWU_cjs = require('../chunk-44ZEZUWU.cjs');
5
5
  require('../chunk-TBFTADML.cjs');
6
- var chunkTMWPWGUN_cjs = require('../chunk-TMWPWGUN.cjs');
6
+ var chunkB3T6YB2D_cjs = require('../chunk-B3T6YB2D.cjs');
7
7
  require('../chunk-ZRNFSUOV.cjs');
8
- require('../chunk-GAPLSVZN.cjs');
8
+ require('../chunk-J6SCHJKG.cjs');
9
9
 
10
10
 
11
11
 
12
12
  Object.defineProperty(exports, "ArrayValueNode", {
13
13
  enumerable: true,
14
- get: function () { return chunkOR2I3XOQ_cjs.ArrayValueNode; }
14
+ get: function () { return chunkOY5NX5DZ_cjs.ArrayValueNode; }
15
15
  });
16
16
  Object.defineProperty(exports, "BasePrimitiveValueNode", {
17
17
  enumerable: true,
18
- get: function () { return chunkOR2I3XOQ_cjs.BasePrimitiveValueNode; }
18
+ get: function () { return chunkOY5NX5DZ_cjs.BasePrimitiveValueNode; }
19
19
  });
20
20
  Object.defineProperty(exports, "BaseValueNode", {
21
21
  enumerable: true,
22
- get: function () { return chunkOR2I3XOQ_cjs.BaseValueNode; }
22
+ get: function () { return chunkOY5NX5DZ_cjs.BaseValueNode; }
23
23
  });
24
24
  Object.defineProperty(exports, "BooleanValueNode", {
25
25
  enumerable: true,
26
- get: function () { return chunkOR2I3XOQ_cjs.BooleanValueNode; }
26
+ get: function () { return chunkOY5NX5DZ_cjs.BooleanValueNode; }
27
27
  });
28
28
  Object.defineProperty(exports, "DataModelImpl", {
29
29
  enumerable: true,
30
- get: function () { return chunkOR2I3XOQ_cjs.DataModelImpl; }
30
+ get: function () { return chunkOY5NX5DZ_cjs.DataModelImpl; }
31
31
  });
32
32
  Object.defineProperty(exports, "ForeignKeyNotFoundError", {
33
33
  enumerable: true,
34
- get: function () { return chunkOR2I3XOQ_cjs.ForeignKeyNotFoundError; }
34
+ get: function () { return chunkOY5NX5DZ_cjs.ForeignKeyNotFoundError; }
35
35
  });
36
36
  Object.defineProperty(exports, "ForeignKeyResolverImpl", {
37
37
  enumerable: true,
38
- get: function () { return chunkOR2I3XOQ_cjs.ForeignKeyResolverImpl; }
38
+ get: function () { return chunkOY5NX5DZ_cjs.ForeignKeyResolverImpl; }
39
39
  });
40
40
  Object.defineProperty(exports, "ForeignKeyResolverNotConfiguredError", {
41
41
  enumerable: true,
42
- get: function () { return chunkOR2I3XOQ_cjs.ForeignKeyResolverNotConfiguredError; }
42
+ get: function () { return chunkOY5NX5DZ_cjs.ForeignKeyResolverNotConfiguredError; }
43
43
  });
44
44
  Object.defineProperty(exports, "ForeignKeyValueNodeImpl", {
45
45
  enumerable: true,
46
- get: function () { return chunkOR2I3XOQ_cjs.ForeignKeyValueNodeImpl; }
46
+ get: function () { return chunkOY5NX5DZ_cjs.ForeignKeyValueNodeImpl; }
47
47
  });
48
48
  Object.defineProperty(exports, "NodeFactory", {
49
49
  enumerable: true,
50
- get: function () { return chunkOR2I3XOQ_cjs.NodeFactory; }
50
+ get: function () { return chunkOY5NX5DZ_cjs.NodeFactory; }
51
51
  });
52
52
  Object.defineProperty(exports, "NodeFactoryRegistry", {
53
53
  enumerable: true,
54
- get: function () { return chunkOR2I3XOQ_cjs.NodeFactoryRegistry; }
54
+ get: function () { return chunkOY5NX5DZ_cjs.NodeFactoryRegistry; }
55
55
  });
56
56
  Object.defineProperty(exports, "NumberValueNode", {
57
57
  enumerable: true,
58
- get: function () { return chunkOR2I3XOQ_cjs.NumberValueNode; }
58
+ get: function () { return chunkOY5NX5DZ_cjs.NumberValueNode; }
59
59
  });
60
60
  Object.defineProperty(exports, "ObjectValueNode", {
61
61
  enumerable: true,
62
- get: function () { return chunkOR2I3XOQ_cjs.ObjectValueNode; }
62
+ get: function () { return chunkOY5NX5DZ_cjs.ObjectValueNode; }
63
63
  });
64
64
  Object.defineProperty(exports, "RowModelImpl", {
65
65
  enumerable: true,
66
- get: function () { return chunkOR2I3XOQ_cjs.RowModelImpl; }
66
+ get: function () { return chunkOY5NX5DZ_cjs.RowModelImpl; }
67
67
  });
68
68
  Object.defineProperty(exports, "SchemaParser", {
69
69
  enumerable: true,
70
- get: function () { return chunkOR2I3XOQ_cjs.SchemaParser; }
70
+ get: function () { return chunkOY5NX5DZ_cjs.SchemaParser; }
71
71
  });
72
72
  Object.defineProperty(exports, "StringValueNode", {
73
73
  enumerable: true,
74
- get: function () { return chunkOR2I3XOQ_cjs.StringValueNode; }
74
+ get: function () { return chunkOY5NX5DZ_cjs.StringValueNode; }
75
75
  });
76
76
  Object.defineProperty(exports, "TableModelImpl", {
77
77
  enumerable: true,
78
- get: function () { return chunkOR2I3XOQ_cjs.TableModelImpl; }
78
+ get: function () { return chunkOY5NX5DZ_cjs.TableModelImpl; }
79
79
  });
80
80
  Object.defineProperty(exports, "ValueNodeFactory", {
81
81
  enumerable: true,
82
- get: function () { return chunkOR2I3XOQ_cjs.NodeFactory2; }
82
+ get: function () { return chunkOY5NX5DZ_cjs.NodeFactory2; }
83
83
  });
84
84
  Object.defineProperty(exports, "ValueType", {
85
85
  enumerable: true,
86
- get: function () { return chunkOR2I3XOQ_cjs.ValueType; }
86
+ get: function () { return chunkOY5NX5DZ_cjs.ValueType; }
87
87
  });
88
88
  Object.defineProperty(exports, "createDataModel", {
89
89
  enumerable: true,
90
- get: function () { return chunkOR2I3XOQ_cjs.createDataModel; }
90
+ get: function () { return chunkOY5NX5DZ_cjs.createDataModel; }
91
91
  });
92
92
  Object.defineProperty(exports, "createDefaultRegistry", {
93
93
  enumerable: true,
94
- get: function () { return chunkOR2I3XOQ_cjs.createDefaultRegistry; }
94
+ get: function () { return chunkOY5NX5DZ_cjs.createDefaultRegistry; }
95
95
  });
96
96
  Object.defineProperty(exports, "createForeignKeyResolver", {
97
97
  enumerable: true,
98
- get: function () { return chunkOR2I3XOQ_cjs.createForeignKeyResolver; }
98
+ get: function () { return chunkOY5NX5DZ_cjs.createForeignKeyResolver; }
99
99
  });
100
100
  Object.defineProperty(exports, "createNodeFactory", {
101
101
  enumerable: true,
102
- get: function () { return chunkOR2I3XOQ_cjs.createNodeFactory; }
102
+ get: function () { return chunkOY5NX5DZ_cjs.createNodeFactory; }
103
103
  });
104
104
  Object.defineProperty(exports, "createSchemaModel", {
105
105
  enumerable: true,
106
- get: function () { return chunkOR2I3XOQ_cjs.createSchemaModel; }
106
+ get: function () { return chunkOY5NX5DZ_cjs.createSchemaModel; }
107
107
  });
108
108
  Object.defineProperty(exports, "createTableModel", {
109
109
  enumerable: true,
110
- get: function () { return chunkOR2I3XOQ_cjs.createTableModel; }
110
+ get: function () { return chunkOY5NX5DZ_cjs.createTableModel; }
111
111
  });
112
112
  Object.defineProperty(exports, "extractFormulaDefinition", {
113
113
  enumerable: true,
114
- get: function () { return chunkOR2I3XOQ_cjs.extractFormulaDefinition; }
114
+ get: function () { return chunkOY5NX5DZ_cjs.extractFormulaDefinition; }
115
115
  });
116
116
  Object.defineProperty(exports, "generateDefaultValue", {
117
117
  enumerable: true,
118
- get: function () { return chunkOR2I3XOQ_cjs.generateDefaultValue; }
118
+ get: function () { return chunkOY5NX5DZ_cjs.generateDefaultValue; }
119
119
  });
120
120
  Object.defineProperty(exports, "generateNodeId", {
121
121
  enumerable: true,
122
- get: function () { return chunkOR2I3XOQ_cjs.generateNodeId; }
122
+ get: function () { return chunkOY5NX5DZ_cjs.generateNodeId; }
123
123
  });
124
124
  Object.defineProperty(exports, "isForeignKeyValueNode", {
125
125
  enumerable: true,
126
- get: function () { return chunkOR2I3XOQ_cjs.isForeignKeyValueNode; }
126
+ get: function () { return chunkOY5NX5DZ_cjs.isForeignKeyValueNode; }
127
127
  });
128
128
  Object.defineProperty(exports, "resetNodeIdCounter", {
129
129
  enumerable: true,
130
- get: function () { return chunkOR2I3XOQ_cjs.resetNodeIdCounter; }
130
+ get: function () { return chunkOY5NX5DZ_cjs.resetNodeIdCounter; }
131
+ });
132
+ Object.defineProperty(exports, "FormulaChangeDetector", {
133
+ enumerable: true,
134
+ get: function () { return chunk44ZEZUWU_cjs.FormulaChangeDetector; }
135
+ });
136
+ Object.defineProperty(exports, "FormulaDependencyIndex", {
137
+ enumerable: true,
138
+ get: function () { return chunk44ZEZUWU_cjs.FormulaDependencyIndex; }
139
+ });
140
+ Object.defineProperty(exports, "FormulaPath", {
141
+ enumerable: true,
142
+ get: function () { return chunk44ZEZUWU_cjs.FormulaPath; }
143
+ });
144
+ Object.defineProperty(exports, "FormulaPathBuilder", {
145
+ enumerable: true,
146
+ get: function () { return chunk44ZEZUWU_cjs.FormulaPathBuilder; }
147
+ });
148
+ Object.defineProperty(exports, "FormulaSerializer", {
149
+ enumerable: true,
150
+ get: function () { return chunk44ZEZUWU_cjs.FormulaSerializer; }
151
+ });
152
+ Object.defineProperty(exports, "ParsedFormula", {
153
+ enumerable: true,
154
+ get: function () { return chunk44ZEZUWU_cjs.ParsedFormula; }
155
+ });
156
+ Object.defineProperty(exports, "ResolvedDependency", {
157
+ enumerable: true,
158
+ get: function () { return chunk44ZEZUWU_cjs.ResolvedDependency; }
131
159
  });
132
160
  Object.defineProperty(exports, "JsonArrayStore", {
133
161
  enumerable: true,
134
- get: function () { return chunkTMWPWGUN_cjs.JsonArrayStore; }
162
+ get: function () { return chunkB3T6YB2D_cjs.JsonArrayStore; }
135
163
  });
136
164
  Object.defineProperty(exports, "JsonArrayValueStore", {
137
165
  enumerable: true,
138
- get: function () { return chunkTMWPWGUN_cjs.JsonArrayValueStore; }
166
+ get: function () { return chunkB3T6YB2D_cjs.JsonArrayValueStore; }
139
167
  });
140
168
  Object.defineProperty(exports, "JsonBooleanStore", {
141
169
  enumerable: true,
142
- get: function () { return chunkTMWPWGUN_cjs.JsonBooleanStore; }
170
+ get: function () { return chunkB3T6YB2D_cjs.JsonBooleanStore; }
143
171
  });
144
172
  Object.defineProperty(exports, "JsonBooleanValueStore", {
145
173
  enumerable: true,
146
- get: function () { return chunkTMWPWGUN_cjs.JsonBooleanValueStore; }
174
+ get: function () { return chunkB3T6YB2D_cjs.JsonBooleanValueStore; }
147
175
  });
148
176
  Object.defineProperty(exports, "JsonNumberStore", {
149
177
  enumerable: true,
150
- get: function () { return chunkTMWPWGUN_cjs.JsonNumberStore; }
178
+ get: function () { return chunkB3T6YB2D_cjs.JsonNumberStore; }
151
179
  });
152
180
  Object.defineProperty(exports, "JsonNumberValueStore", {
153
181
  enumerable: true,
154
- get: function () { return chunkTMWPWGUN_cjs.JsonNumberValueStore; }
182
+ get: function () { return chunkB3T6YB2D_cjs.JsonNumberValueStore; }
155
183
  });
156
184
  Object.defineProperty(exports, "JsonObjectStore", {
157
185
  enumerable: true,
158
- get: function () { return chunkTMWPWGUN_cjs.JsonObjectStore; }
186
+ get: function () { return chunkB3T6YB2D_cjs.JsonObjectStore; }
159
187
  });
160
188
  Object.defineProperty(exports, "JsonObjectValueStore", {
161
189
  enumerable: true,
162
- get: function () { return chunkTMWPWGUN_cjs.JsonObjectValueStore; }
190
+ get: function () { return chunkB3T6YB2D_cjs.JsonObjectValueStore; }
163
191
  });
164
192
  Object.defineProperty(exports, "JsonStringStore", {
165
193
  enumerable: true,
166
- get: function () { return chunkTMWPWGUN_cjs.JsonStringStore; }
194
+ get: function () { return chunkB3T6YB2D_cjs.JsonStringStore; }
167
195
  });
168
196
  Object.defineProperty(exports, "JsonStringValueStore", {
169
197
  enumerable: true,
170
- get: function () { return chunkTMWPWGUN_cjs.JsonStringValueStore; }
198
+ get: function () { return chunkB3T6YB2D_cjs.JsonStringValueStore; }
171
199
  });
172
200
  Object.defineProperty(exports, "equal", {
173
201
  enumerable: true,
174
- get: function () { return chunkTMWPWGUN_cjs.equal; }
202
+ get: function () { return chunkB3T6YB2D_cjs.equal; }
175
203
  });
176
204
  Object.defineProperty(exports, "fromArrayToObject", {
177
205
  enumerable: true,
178
- get: function () { return chunkTMWPWGUN_cjs.fromArrayToObject; }
206
+ get: function () { return chunkB3T6YB2D_cjs.fromArrayToObject; }
179
207
  });
180
208
  Object.defineProperty(exports, "fromArrayTransformation", {
181
209
  enumerable: true,
182
- get: function () { return chunkTMWPWGUN_cjs.fromArrayTransformation; }
210
+ get: function () { return chunkB3T6YB2D_cjs.fromArrayTransformation; }
183
211
  });
184
212
  Object.defineProperty(exports, "fromBooleanToNumber", {
185
213
  enumerable: true,
186
- get: function () { return chunkTMWPWGUN_cjs.fromBooleanToNumber; }
214
+ get: function () { return chunkB3T6YB2D_cjs.fromBooleanToNumber; }
187
215
  });
188
216
  Object.defineProperty(exports, "fromBooleanToString", {
189
217
  enumerable: true,
190
- get: function () { return chunkTMWPWGUN_cjs.fromBooleanToString; }
218
+ get: function () { return chunkB3T6YB2D_cjs.fromBooleanToString; }
191
219
  });
192
220
  Object.defineProperty(exports, "fromNumberToBoolean", {
193
221
  enumerable: true,
194
- get: function () { return chunkTMWPWGUN_cjs.fromNumberToBoolean; }
222
+ get: function () { return chunkB3T6YB2D_cjs.fromNumberToBoolean; }
195
223
  });
196
224
  Object.defineProperty(exports, "fromNumberToString", {
197
225
  enumerable: true,
198
- get: function () { return chunkTMWPWGUN_cjs.fromNumberToString; }
226
+ get: function () { return chunkB3T6YB2D_cjs.fromNumberToString; }
199
227
  });
200
228
  Object.defineProperty(exports, "fromObjectToArray", {
201
229
  enumerable: true,
202
- get: function () { return chunkTMWPWGUN_cjs.fromObjectToArray; }
230
+ get: function () { return chunkB3T6YB2D_cjs.fromObjectToArray; }
203
231
  });
204
232
  Object.defineProperty(exports, "fromObjectToPrimitive", {
205
233
  enumerable: true,
206
- get: function () { return chunkTMWPWGUN_cjs.fromObjectToPrimitive; }
234
+ get: function () { return chunkB3T6YB2D_cjs.fromObjectToPrimitive; }
207
235
  });
208
236
  Object.defineProperty(exports, "fromPrimitiveToObject", {
209
237
  enumerable: true,
210
- get: function () { return chunkTMWPWGUN_cjs.fromPrimitiveToObject; }
238
+ get: function () { return chunkB3T6YB2D_cjs.fromPrimitiveToObject; }
211
239
  });
212
240
  Object.defineProperty(exports, "fromStringToBoolean", {
213
241
  enumerable: true,
214
- get: function () { return chunkTMWPWGUN_cjs.fromStringToBoolean; }
242
+ get: function () { return chunkB3T6YB2D_cjs.fromStringToBoolean; }
215
243
  });
216
244
  Object.defineProperty(exports, "fromStringToNumber", {
217
245
  enumerable: true,
218
- get: function () { return chunkTMWPWGUN_cjs.fromStringToNumber; }
246
+ get: function () { return chunkB3T6YB2D_cjs.fromStringToNumber; }
219
247
  });
220
248
  Object.defineProperty(exports, "getTransformation", {
221
249
  enumerable: true,
222
- get: function () { return chunkTMWPWGUN_cjs.getTransformation; }
250
+ get: function () { return chunkB3T6YB2D_cjs.getTransformation; }
223
251
  });
224
252
  Object.defineProperty(exports, "toArrayTransformation", {
225
253
  enumerable: true,
226
- get: function () { return chunkTMWPWGUN_cjs.toArrayTransformation; }
254
+ get: function () { return chunkB3T6YB2D_cjs.toArrayTransformation; }
227
255
  });
228
256
  //# sourceMappingURL=index.cjs.map
229
257
  //# sourceMappingURL=index.cjs.map
@@ -1,11 +1,13 @@
1
- import { h as JsonSchemaStore } from '../json-string.store-DKlkc1u_.cjs';
2
- 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, g as JsonSchemaStorePrimitives, J as JsonStringStore, i as JsonStringValueStore, p as JsonValueStore, o as JsonValueStoreParent, n as JsonValueStorePrimitives, d as MigrateItemsEvent, M as MigratePropertyEvent, R as RemovedPropertyEvent, e as ReplaceItemsEvent } from '../json-string.store-DKlkc1u_.cjs';
3
- import { b as SchemaNode, P as Path, N as NodeMetadata, S as SchemaValidationError, F as FormulaValidationError, f as SchemaPatch, J as JsonPatch, R as ReactivityAdapter, c as SchemaTree, D as Diagnostic } from '../types-DMzUCve0.cjs';
4
- import { f as JsonObjectSchema, i as JsonSchema } from '../schema.types-ZX5fUW1X.cjs';
1
+ import { h as JsonSchemaStore } from '../json-string.store-DOZn38CI.cjs';
2
+ 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, 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-DOZn38CI.cjs';
3
+ import { j as SchemaNode, P as Path, h as NodeMetadata, f as SchemaValidationError, T as TreeFormulaValidationError, l as SchemaPatch, k as SchemaTree, D as Diagnostic, n as Formula, F as FormulaDependency } from '../types-BUiNI0oL.cjs';
4
+ export { R as ResolvedDependency } from '../types-BUiNI0oL.cjs';
5
+ import { h as JsonPatch } from '../json-patch.types-Cu0Medki.cjs';
6
+ import { f as JsonObjectSchema, i as JsonSchema, X as XFormula } from '../schema.types-B5OgKLpV.cjs';
5
7
  import { d as JsonValuePatch } from '../json-value-patch.types-CjBpq5VF.cjs';
6
- import 'node:events';
8
+ import { ASTNode } from '@revisium/formula';
9
+ import 'eventemitter3';
7
10
  import '../json.types-46Cq-WxU.cjs';
8
- import '@revisium/formula';
9
11
 
10
12
  declare const equal: (value: unknown) => unknown;
11
13
  declare const fromNumberToString: (value: number, defaultValue?: string) => string;
@@ -23,16 +25,13 @@ declare const fromArrayToObject: (_value: unknown, defaultValue: unknown) => unk
23
25
  declare const getTransformation: (from: JsonSchemaStore, to: JsonSchemaStore) => Transformation | undefined;
24
26
  type Transformation = (value: unknown, defaultValue?: unknown) => unknown;
25
27
 
26
- interface ReactivityOptions {
27
- reactivity?: ReactivityAdapter;
28
- }
29
28
  type FieldType = 'string' | 'number' | 'boolean' | 'object' | 'array';
30
29
  interface ReplaceResult {
31
30
  replacedNodeId: string;
32
31
  newNodeId: string;
33
32
  }
34
33
  interface SchemaModel {
35
- root(): SchemaNode;
34
+ readonly root: SchemaNode;
36
35
  nodeById(id: string): SchemaNode;
37
36
  pathOf(id: string): Path;
38
37
  addField(parentId: string, name: string, type: FieldType): SchemaNode;
@@ -48,28 +47,33 @@ interface SchemaModel {
48
47
  replaceRoot(newType: FieldType): ReplaceResult | null;
49
48
  canMoveNode(nodeId: string, targetParentId: string): boolean;
50
49
  hasValidDropTarget(nodeId: string): boolean;
50
+ moveNode(nodeId: string, targetParentId: string): void;
51
51
  getFormulaDependents(nodeId: string): readonly string[];
52
52
  hasFormulaDependents(nodeId: string): boolean;
53
- getValidationErrors(): SchemaValidationError[];
54
- getFormulaErrors(): FormulaValidationError[];
55
- isDirty(): boolean;
56
- isValid(): boolean;
57
- getPatches(): SchemaPatch[];
58
- getJsonPatches(): JsonPatch[];
53
+ serializeFormula(nodeId: string): string;
54
+ readonly validationErrors: SchemaValidationError[];
55
+ readonly formulaErrors: TreeFormulaValidationError[];
56
+ readonly isDirty: boolean;
57
+ readonly isValid: boolean;
58
+ readonly patches: SchemaPatch[];
59
+ readonly jsonPatches: JsonPatch[];
59
60
  markAsSaved(): void;
60
61
  revert(): void;
61
- getPlainSchema(): JsonObjectSchema;
62
+ readonly plainSchema: JsonObjectSchema;
63
+ readonly nodeCount: number;
62
64
  generateDefaultValue(options?: {
63
65
  arrayItemCount?: number;
64
66
  }): unknown;
65
67
  }
66
68
 
67
- declare function createSchemaModel(schema: JsonObjectSchema, options?: ReactivityOptions): SchemaModel;
69
+ declare function createSchemaModel(schema: JsonObjectSchema): SchemaModel;
68
70
 
69
71
  declare class SchemaParser {
70
72
  private pendingFormulas;
73
+ private _parseErrors;
71
74
  parse(schema: JsonObjectSchema): SchemaNode;
72
75
  parseFormulas(tree: SchemaTree): void;
76
+ get parseErrors(): TreeFormulaValidationError[];
73
77
  private parseNode;
74
78
  private parseObject;
75
79
  private parseArray;
@@ -82,7 +86,7 @@ declare class SchemaParser {
82
86
 
83
87
  declare class NodeFactory$1 {
84
88
  createNode(name: string, type: FieldType): SchemaNode;
85
- private createArrayNode;
89
+ private createArrayNodeInternal;
86
90
  createArrayNodeWithItems(name: string, items: SchemaNode): SchemaNode;
87
91
  }
88
92
 
@@ -129,7 +133,6 @@ interface ForeignKeyLoader {
129
133
  loadRow(tableId: string, rowId: string): Promise<ForeignKeyRowLoaderResult>;
130
134
  }
131
135
  interface ForeignKeyResolverOptions {
132
- reactivity?: ReactivityAdapter;
133
136
  loader?: ForeignKeyLoader;
134
137
  prefetch?: boolean;
135
138
  prefetchDepth?: 1;
@@ -162,7 +165,6 @@ declare class NodeFactoryRegistry {
162
165
  type RefSchemas = Record<string, JsonSchema>;
163
166
  interface NodeFactoryOptions {
164
167
  refSchemas?: RefSchemas;
165
- reactivity?: ReactivityAdapter;
166
168
  fkResolver?: ForeignKeyResolver;
167
169
  }
168
170
  declare class NodeFactory {
@@ -174,7 +176,7 @@ declare class NodeFactory {
174
176
  private getSchemaType;
175
177
  private resolveSchema;
176
178
  }
177
- declare function createDefaultRegistry(reactivity?: ReactivityAdapter, fkResolver?: ForeignKeyResolver): NodeFactoryRegistry;
179
+ declare function createDefaultRegistry(fkResolver?: ForeignKeyResolver): NodeFactoryRegistry;
178
180
  declare function createNodeFactory(options?: NodeFactoryOptions): NodeFactory;
179
181
 
180
182
  declare enum ValueType {
@@ -307,10 +309,8 @@ interface RowModel {
307
309
  declare class RowModelImpl implements RowModel {
308
310
  private readonly _rowId;
309
311
  private readonly _tree;
310
- private readonly _reactivity?;
311
312
  private _tableModel;
312
- constructor(_rowId: string, _tree: ValueTreeLike, _reactivity?: ReactivityAdapter | undefined);
313
- private initObservable;
313
+ constructor(_rowId: string, _tree: ValueTreeLike);
314
314
  get rowId(): string;
315
315
  get tableModel(): TableModelLike | null;
316
316
  get tree(): ValueTreeLike;
@@ -336,10 +336,8 @@ declare class TableModelImpl implements TableModel {
336
336
  private readonly _schema;
337
337
  private readonly _rows;
338
338
  private readonly _jsonSchema;
339
- private readonly _reactivity;
340
339
  private readonly _fkResolver;
341
- constructor(options: TableModelOptions, reactivity?: ReactivityAdapter);
342
- private initObservable;
340
+ constructor(options: TableModelOptions);
343
341
  get tableId(): string;
344
342
  get baseTableId(): string;
345
343
  get isRenamed(): boolean;
@@ -358,7 +356,7 @@ declare class TableModelImpl implements TableModel {
358
356
  revert(): void;
359
357
  private createRowModel;
360
358
  }
361
- declare function createTableModel(options: TableModelOptions, reactivity?: ReactivityAdapter): TableModel;
359
+ declare function createTableModel(options: TableModelOptions): TableModel;
362
360
 
363
361
  interface GenerateDefaultValueOptions {
364
362
  arrayItemCount?: number;
@@ -377,9 +375,7 @@ declare class ForeignKeyResolverImpl implements ForeignKeyResolver {
377
375
  private _prefetchEnabled;
378
376
  private _disposed;
379
377
  private readonly loader;
380
- private readonly reactivity;
381
378
  constructor(options?: ForeignKeyResolverOptions);
382
- private initObservable;
383
379
  get isPrefetchEnabled(): boolean;
384
380
  setPrefetch(enabled: boolean): void;
385
381
  hasSchema(tableId: string): boolean;
@@ -434,7 +430,6 @@ interface DataModel {
434
430
  }
435
431
 
436
432
  interface DataModelOptions {
437
- reactivity?: ReactivityAdapter;
438
433
  fkResolver?: ForeignKeyResolver;
439
434
  }
440
435
 
@@ -442,9 +437,7 @@ declare class DataModelImpl implements DataModel {
442
437
  private readonly _tables;
443
438
  private readonly _fk;
444
439
  private readonly _ownsFkResolver;
445
- private readonly _reactivity;
446
440
  constructor(options?: DataModelOptions);
447
- private initObservable;
448
441
  get fk(): ForeignKeyResolver;
449
442
  get tables(): readonly TableModel[];
450
443
  get tableIds(): readonly string[];
@@ -460,6 +453,87 @@ declare class DataModelImpl implements DataModel {
460
453
  }
461
454
  declare function createDataModel(options?: DataModelOptions): DataModel;
462
455
 
456
+ declare class ParsedFormula implements Formula {
457
+ private readonly _expression;
458
+ private readonly astNode;
459
+ private readonly deps;
460
+ private readonly astPathToNodeId;
461
+ constructor(tree: SchemaTree, formulaNodeId: string, expression: string);
462
+ version(): number;
463
+ expression(): string;
464
+ ast(): ASTNode;
465
+ dependencies(): readonly FormulaDependency[];
466
+ getNodeIdForAstPath(astPath: string): string | null;
467
+ astPaths(): readonly string[];
468
+ private resolveDependencyPath;
469
+ private getFormulaBasePath;
470
+ }
471
+
472
+ declare class FormulaPath {
473
+ private readonly basePath;
474
+ private readonly relativePath;
475
+ constructor(basePath: Path, relativePath: string);
476
+ resolve(): Path | null;
477
+ private astToPath;
478
+ private resolveRelativePathString;
479
+ private resolveRootPath;
480
+ private parseFormulaPath;
481
+ }
482
+
483
+ interface SerializeOptions {
484
+ readonly strict?: boolean;
485
+ }
486
+ declare class FormulaSerializer {
487
+ private readonly tree;
488
+ private readonly formulaNodeId;
489
+ private readonly formula;
490
+ private readonly pathBuilder;
491
+ constructor(tree: SchemaTree, formulaNodeId: string, formula: Formula);
492
+ static toXFormula(tree: SchemaTree, formulaNodeId: string, formula: Formula): XFormula;
493
+ static serializeExpression(tree: SchemaTree, formulaNodeId: string, formula: Formula, options?: SerializeOptions): string;
494
+ serialize(options?: SerializeOptions): string;
495
+ private buildPathReplacements;
496
+ private needsReplacement;
497
+ private normalizeArrayNotation;
498
+ }
499
+
500
+ declare class FormulaPathBuilder {
501
+ buildWithArrayNotation(fromPath: Path, toPath: Path): string;
502
+ private findCommonPrefixLength;
503
+ private buildPartsWithArrayNotation;
504
+ private formatPartsWithArrayNotation;
505
+ }
506
+
507
+ declare class FormulaDependencyIndex {
508
+ private readonly dependentsMap;
509
+ private readonly formulasByNodeId;
510
+ registerFormula(formulaNodeId: string, formula: Formula): void;
511
+ unregisterFormula(formulaNodeId: string): void;
512
+ getDependents(nodeId: string): readonly string[];
513
+ hasDependents(nodeId: string): boolean;
514
+ getFormula(nodeId: string): Formula | null;
515
+ hasFormula(nodeId: string): boolean;
516
+ clear(): void;
517
+ forEachFormula(callback: (nodeId: string, formula: Formula) => void): void;
518
+ size(): number;
519
+ }
520
+
521
+ interface IndirectFormulaChange {
522
+ readonly nodeId: string;
523
+ readonly fromExpression: string;
524
+ readonly toExpression: string;
525
+ }
526
+ declare class FormulaChangeDetector {
527
+ private readonly index;
528
+ private readonly currentTree;
529
+ private readonly baseTree;
530
+ constructor(index: FormulaDependencyIndex, currentTree: SchemaTree, baseTree: SchemaTree);
531
+ detectIndirectChanges(changedNodeIds: Set<string>): IndirectFormulaChange[];
532
+ private collectDependentChanges;
533
+ private detectFormulaChange;
534
+ private getSerializedExpression;
535
+ }
536
+
463
537
  declare function generateNodeId(): string;
464
538
  declare function resetNodeIdCounter(): void;
465
539
  declare abstract class BaseValueNode implements ValueNode {
@@ -484,11 +558,10 @@ declare abstract class BaseValueNode implements ValueNode {
484
558
  }
485
559
 
486
560
  declare abstract class BasePrimitiveValueNode<T extends string | number | boolean> extends BaseValueNode implements PrimitiveValueNode {
487
- protected readonly reactivity?: ReactivityAdapter | undefined;
488
561
  protected _value: T;
489
562
  protected _baseValue: T;
490
563
  protected _formulaWarning: FormulaWarning | null;
491
- constructor(id: string | undefined, name: string, schema: JsonSchema, value: T | undefined, defaultValue: T, reactivity?: ReactivityAdapter | undefined);
564
+ constructor(id: string | undefined, name: string, schema: JsonSchema, value: T | undefined, defaultValue: T);
492
565
  protected initObservable(): void;
493
566
  get value(): T;
494
567
  set value(newValue: T);
@@ -514,7 +587,7 @@ declare abstract class BasePrimitiveValueNode<T extends string | number | boolea
514
587
 
515
588
  declare class StringValueNode extends BasePrimitiveValueNode<string> {
516
589
  readonly type = ValueType.String;
517
- constructor(id: string | undefined, name: string, schema: JsonSchema, value?: string, reactivity?: ReactivityAdapter);
590
+ constructor(id: string | undefined, name: string, schema: JsonSchema, value?: string);
518
591
  get defaultValue(): string;
519
592
  protected coerceValue(value: unknown): string;
520
593
  protected computeErrors(): readonly Diagnostic[];
@@ -528,7 +601,7 @@ declare class StringValueNode extends BasePrimitiveValueNode<string> {
528
601
 
529
602
  declare class NumberValueNode extends BasePrimitiveValueNode<number> {
530
603
  readonly type = ValueType.Number;
531
- constructor(id: string | undefined, name: string, schema: JsonSchema, value?: number, reactivity?: ReactivityAdapter);
604
+ constructor(id: string | undefined, name: string, schema: JsonSchema, value?: number);
532
605
  get defaultValue(): number;
533
606
  protected coerceValue(value: unknown): number;
534
607
  protected computeErrors(): readonly Diagnostic[];
@@ -536,18 +609,16 @@ declare class NumberValueNode extends BasePrimitiveValueNode<number> {
536
609
 
537
610
  declare class BooleanValueNode extends BasePrimitiveValueNode<boolean> {
538
611
  readonly type = ValueType.Boolean;
539
- constructor(id: string | undefined, name: string, schema: JsonSchema, value?: boolean, reactivity?: ReactivityAdapter);
612
+ constructor(id: string | undefined, name: string, schema: JsonSchema, value?: boolean);
540
613
  get defaultValue(): boolean;
541
614
  protected coerceValue(value: unknown): boolean;
542
615
  }
543
616
 
544
617
  declare class ObjectValueNode extends BaseValueNode implements ObjectValueNode$1 {
545
- private readonly reactivity?;
546
618
  readonly type = ValueType.Object;
547
619
  private _children;
548
620
  private _baseChildren;
549
- constructor(id: string | undefined, name: string, schema: JsonSchema, children?: ValueNode[], reactivity?: ReactivityAdapter | undefined);
550
- private initObservable;
621
+ constructor(id: string | undefined, name: string, schema: JsonSchema, children?: ValueNode[]);
551
622
  get value(): Record<string, ValueNode>;
552
623
  get children(): readonly ValueNode[];
553
624
  getPlainValue(): Record<string, unknown>;
@@ -564,13 +635,11 @@ declare class ObjectValueNode extends BaseValueNode implements ObjectValueNode$1
564
635
  }
565
636
 
566
637
  declare class ArrayValueNode extends BaseValueNode implements ArrayValueNode$1 {
567
- private readonly reactivity?;
568
638
  readonly type = ValueType.Array;
569
639
  private _items;
570
640
  private _baseItems;
571
641
  private _nodeFactory;
572
- constructor(id: string | undefined, name: string, schema: JsonSchema, items?: ValueNode[], reactivity?: ReactivityAdapter | undefined);
573
- private initObservable;
642
+ constructor(id: string | undefined, name: string, schema: JsonSchema, items?: ValueNode[]);
574
643
  get value(): readonly ValueNode[];
575
644
  get length(): number;
576
645
  getPlainValue(): unknown[];
@@ -605,11 +674,11 @@ declare function isForeignKeyValueNode(node: ValueNode): node is ForeignKeyValue
605
674
  declare class ForeignKeyValueNodeImpl extends StringValueNode implements ForeignKeyValueNode {
606
675
  private readonly fkResolver?;
607
676
  private readonly _foreignKey;
608
- constructor(id: string | undefined, name: string, schema: JsonSchema, value?: string, reactivity?: ReactivityAdapter, fkResolver?: ForeignKeyResolver | undefined);
677
+ constructor(id: string | undefined, name: string, schema: JsonSchema, value?: string, fkResolver?: ForeignKeyResolver | undefined);
609
678
  get foreignKey(): string;
610
679
  get isLoading(): boolean;
611
680
  getRow(): Promise<RowData>;
612
681
  getSchema(): Promise<JsonObjectSchema>;
613
682
  }
614
683
 
615
- export { type ArrayNodeOptions, ArrayValueNode, type ArrayValueNode$1 as ArrayValueNodeInterface, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, type DataModel, DataModelImpl, type DataModelOptions, type DirtyTrackable, type FieldType, type ForeignKeyLoader, type ForeignKeyLoaderResult, ForeignKeyNotFoundError, type ForeignKeyResolver, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, type ForeignKeyResolverOptions, type ForeignKeyRowLoaderResult, type ForeignKeyValueNode, ForeignKeyValueNodeImpl, type FormulaDefinition, type FormulaWarning, type GenerateDefaultValueOptions, JsonSchemaStore, NodeFactory$1 as NodeFactory, type NodeFactoryFn, type NodeFactoryOptions, NodeFactoryRegistry, NumberValueNode, type ObjectNodeOptions, ObjectValueNode, type ObjectValueNode$1 as ObjectValueNodeInterface, type PrimitiveNodeOptions, type PrimitiveValueNode, type ReactivityOptions, type RefSchemas, type ReplaceResult, type RowData, type RowModel, RowModelImpl, type SchemaModel, SchemaParser, StringValueNode, type TableModel, TableModelImpl, type TableModelLike, type TableModelOptions, type ValueNode, NodeFactory as ValueNodeFactory, type ValueNodeOptions, type ValueTreeLike, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, createSchemaModel, createTableModel, equal, extractFormulaDefinition, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, generateDefaultValue, generateNodeId, getTransformation, isForeignKeyValueNode, resetNodeIdCounter, toArrayTransformation };
684
+ export { type ArrayNodeOptions, ArrayValueNode, type ArrayValueNode$1 as ArrayValueNodeInterface, BasePrimitiveValueNode, BaseValueNode, BooleanValueNode, type DataModel, DataModelImpl, type DataModelOptions, type DirtyTrackable, type FieldType, type ForeignKeyLoader, type ForeignKeyLoaderResult, ForeignKeyNotFoundError, type ForeignKeyResolver, ForeignKeyResolverImpl, ForeignKeyResolverNotConfiguredError, type ForeignKeyResolverOptions, type ForeignKeyRowLoaderResult, type ForeignKeyValueNode, ForeignKeyValueNodeImpl, FormulaChangeDetector, type FormulaDefinition, FormulaDependency, FormulaDependencyIndex, FormulaPath, FormulaPathBuilder, FormulaSerializer, type FormulaWarning, type GenerateDefaultValueOptions, type IndirectFormulaChange, JsonSchemaStore, NodeFactory$1 as NodeFactory, type NodeFactoryFn, type NodeFactoryOptions, NodeFactoryRegistry, NumberValueNode, type ObjectNodeOptions, ObjectValueNode, type ObjectValueNode$1 as ObjectValueNodeInterface, ParsedFormula, type PrimitiveNodeOptions, type PrimitiveValueNode, type RefSchemas, type ReplaceResult, type RowData, type RowModel, RowModelImpl, type SchemaModel, SchemaParser, StringValueNode, type TableModel, TableModelImpl, type TableModelLike, type TableModelOptions, type ValueNode, NodeFactory as ValueNodeFactory, type ValueNodeOptions, type ValueTreeLike, ValueType, createDataModel, createDefaultRegistry, createForeignKeyResolver, createNodeFactory, createSchemaModel, createTableModel, equal, extractFormulaDefinition, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, generateDefaultValue, generateNodeId, getTransformation, isForeignKeyValueNode, resetNodeIdCounter, toArrayTransformation };