@revisium/schema-toolkit 0.16.1 → 0.16.3

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-HY4VE7H2.js → chunk-55AMH44G.js} +3 -3
  2. package/dist/chunk-55AMH44G.js.map +1 -0
  3. package/dist/{chunk-KQWWRWGB.cjs → chunk-62TO7J76.cjs} +216 -279
  4. package/dist/chunk-62TO7J76.cjs.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-MLNKM67U.cjs +4 -0
  12. package/dist/chunk-MLNKM67U.cjs.map +1 -0
  13. package/dist/{chunk-CYTPQYVM.js → chunk-MPF6VCB5.js} +2 -2
  14. package/dist/chunk-MPF6VCB5.js.map +1 -0
  15. package/dist/{chunk-S7GEDTSL.js → chunk-PGR2S2BR.js} +411 -88
  16. package/dist/chunk-PGR2S2BR.js.map +1 -0
  17. package/dist/{chunk-2NRQPOQY.js → chunk-QEV4Q4TR.js} +3 -3
  18. package/dist/{chunk-2NRQPOQY.js.map → chunk-QEV4Q4TR.js.map} +1 -1
  19. package/dist/{chunk-KTCH6INZ.js → chunk-R66AFTGQ.js} +200 -263
  20. package/dist/chunk-R66AFTGQ.js.map +1 -0
  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-IWRV6QAD.cjs → chunk-VGB4YCGF.cjs} +422 -86
  24. package/dist/chunk-VGB4YCGF.cjs.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 +108 -40
  55. package/dist/model/index.d.ts +108 -40
  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-DmsYGLDX.d.ts → types-BUiNI0oL.d.cts} +18 -23
  68. package/dist/{types-BWeurwlH.d.cts → types-bBnnfNxC.d.ts} +18 -23
  69. package/package.json +3 -1
  70. package/dist/FormulaValidator-Bl6lav9r.d.ts +0 -10
  71. package/dist/FormulaValidator-DTT8T1OM.d.cts +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-KQWWRWGB.cjs.map +0 -1
  81. package/dist/chunk-KTCH6INZ.js.map +0 -1
  82. package/dist/chunk-S7GEDTSL.js.map +0 -1
  83. package/dist/chunk-TMWPWGUN.cjs.map +0 -1
@@ -1,222 +1,237 @@
1
1
  'use strict';
2
2
 
3
- var chunkIWRV6QAD_cjs = require('../chunk-IWRV6QAD.cjs');
3
+ require('../chunk-MLNKM67U.cjs');
4
+ var chunkVGB4YCGF_cjs = require('../chunk-VGB4YCGF.cjs');
4
5
  require('../chunk-TBFTADML.cjs');
5
6
  var chunkWSPFHUHU_cjs = require('../chunk-WSPFHUHU.cjs');
6
7
  var chunkZRNFSUOV_cjs = require('../chunk-ZRNFSUOV.cjs');
7
- require('../chunk-GAPLSVZN.cjs');
8
+ require('../chunk-J6SCHJKG.cjs');
9
+
8
10
 
9
- // src/core/reactivity/noop-adapter.ts
10
- var NoopReactivityAdapter = class {
11
- makeObservable(_target, _annotations) {
12
- }
13
- observableArray() {
14
- return [];
15
- }
16
- observableMap() {
17
- return /* @__PURE__ */ new Map();
18
- }
19
- reaction(_expression, _effect) {
20
- return () => {
21
- };
22
- }
23
- runInAction(fn) {
24
- return fn();
25
- }
26
- };
27
- var noopAdapter = new NoopReactivityAdapter();
28
11
 
29
12
  Object.defineProperty(exports, "ChangeCoalescer", {
30
13
  enumerable: true,
31
- get: function () { return chunkIWRV6QAD_cjs.ChangeCoalescer; }
14
+ get: function () { return chunkVGB4YCGF_cjs.ChangeCoalescer; }
32
15
  });
33
16
  Object.defineProperty(exports, "ChangeCollector", {
34
17
  enumerable: true,
35
- get: function () { return chunkIWRV6QAD_cjs.ChangeCollector; }
18
+ get: function () { return chunkVGB4YCGF_cjs.ChangeCollector; }
36
19
  });
37
20
  Object.defineProperty(exports, "CompositeRule", {
38
21
  enumerable: true,
39
- get: function () { return chunkIWRV6QAD_cjs.CompositeRule; }
22
+ get: function () { return chunkVGB4YCGF_cjs.CompositeRule; }
40
23
  });
41
24
  Object.defineProperty(exports, "EMPTY_METADATA", {
42
25
  enumerable: true,
43
- get: function () { return chunkIWRV6QAD_cjs.EMPTY_METADATA; }
26
+ get: function () { return chunkVGB4YCGF_cjs.EMPTY_METADATA; }
44
27
  });
45
28
  Object.defineProperty(exports, "EMPTY_PATH", {
46
29
  enumerable: true,
47
- get: function () { return chunkIWRV6QAD_cjs.EMPTY_PATH; }
30
+ get: function () { return chunkVGB4YCGF_cjs.EMPTY_PATH; }
48
31
  });
49
32
  Object.defineProperty(exports, "EnumValidator", {
50
33
  enumerable: true,
51
- get: function () { return chunkIWRV6QAD_cjs.EnumValidator; }
34
+ get: function () { return chunkVGB4YCGF_cjs.EnumValidator; }
52
35
  });
53
36
  Object.defineProperty(exports, "FIELD_NAME_ERROR_MESSAGE", {
54
37
  enumerable: true,
55
- get: function () { return chunkIWRV6QAD_cjs.FIELD_NAME_ERROR_MESSAGE; }
38
+ get: function () { return chunkVGB4YCGF_cjs.FIELD_NAME_ERROR_MESSAGE; }
56
39
  });
57
40
  Object.defineProperty(exports, "ForeignKeyValidator", {
58
41
  enumerable: true,
59
- get: function () { return chunkIWRV6QAD_cjs.ForeignKeyValidator; }
42
+ get: function () { return chunkVGB4YCGF_cjs.ForeignKeyValidator; }
60
43
  });
61
44
  Object.defineProperty(exports, "ItemsSegment", {
62
45
  enumerable: true,
63
- get: function () { return chunkIWRV6QAD_cjs.ItemsSegment; }
46
+ get: function () { return chunkVGB4YCGF_cjs.ItemsSegment; }
64
47
  });
65
48
  Object.defineProperty(exports, "MaxLengthValidator", {
66
49
  enumerable: true,
67
- get: function () { return chunkIWRV6QAD_cjs.MaxLengthValidator; }
50
+ get: function () { return chunkVGB4YCGF_cjs.MaxLengthValidator; }
68
51
  });
69
52
  Object.defineProperty(exports, "MaximumValidator", {
70
53
  enumerable: true,
71
- get: function () { return chunkIWRV6QAD_cjs.MaximumValidator; }
54
+ get: function () { return chunkVGB4YCGF_cjs.MaximumValidator; }
72
55
  });
73
56
  Object.defineProperty(exports, "MinLengthValidator", {
74
57
  enumerable: true,
75
- get: function () { return chunkIWRV6QAD_cjs.MinLengthValidator; }
58
+ get: function () { return chunkVGB4YCGF_cjs.MinLengthValidator; }
76
59
  });
77
60
  Object.defineProperty(exports, "MinimumValidator", {
78
61
  enumerable: true,
79
- get: function () { return chunkIWRV6QAD_cjs.MinimumValidator; }
62
+ get: function () { return chunkVGB4YCGF_cjs.MinimumValidator; }
80
63
  });
81
64
  Object.defineProperty(exports, "NULL_NODE", {
82
65
  enumerable: true,
83
- get: function () { return chunkIWRV6QAD_cjs.NULL_NODE; }
66
+ get: function () { return chunkVGB4YCGF_cjs.NULL_NODE; }
84
67
  });
85
68
  Object.defineProperty(exports, "NodePathIndex", {
86
69
  enumerable: true,
87
- get: function () { return chunkIWRV6QAD_cjs.NodePathIndex; }
70
+ get: function () { return chunkVGB4YCGF_cjs.NodePathIndex; }
88
71
  });
89
72
  Object.defineProperty(exports, "PatchBuilder", {
90
73
  enumerable: true,
91
- get: function () { return chunkIWRV6QAD_cjs.PatchBuilder; }
74
+ get: function () { return chunkVGB4YCGF_cjs.PatchBuilder; }
92
75
  });
93
76
  Object.defineProperty(exports, "PatchEnricher", {
94
77
  enumerable: true,
95
- get: function () { return chunkIWRV6QAD_cjs.PatchEnricher; }
78
+ get: function () { return chunkVGB4YCGF_cjs.PatchEnricher; }
96
79
  });
97
80
  Object.defineProperty(exports, "PatchGenerator", {
98
81
  enumerable: true,
99
- get: function () { return chunkIWRV6QAD_cjs.PatchGenerator; }
82
+ get: function () { return chunkVGB4YCGF_cjs.PatchGenerator; }
100
83
  });
101
84
  Object.defineProperty(exports, "PatternValidator", {
102
85
  enumerable: true,
103
- get: function () { return chunkIWRV6QAD_cjs.PatternValidator; }
86
+ get: function () { return chunkVGB4YCGF_cjs.PatternValidator; }
104
87
  });
105
88
  Object.defineProperty(exports, "PropertySegment", {
106
89
  enumerable: true,
107
- get: function () { return chunkIWRV6QAD_cjs.PropertySegment; }
90
+ get: function () { return chunkVGB4YCGF_cjs.PropertySegment; }
108
91
  });
109
92
  Object.defineProperty(exports, "RequiredValidator", {
110
93
  enumerable: true,
111
- get: function () { return chunkIWRV6QAD_cjs.RequiredValidator; }
94
+ get: function () { return chunkVGB4YCGF_cjs.RequiredValidator; }
112
95
  });
113
96
  Object.defineProperty(exports, "SchemaDiff", {
114
97
  enumerable: true,
115
- get: function () { return chunkIWRV6QAD_cjs.SchemaDiff; }
98
+ get: function () { return chunkVGB4YCGF_cjs.SchemaDiff; }
116
99
  });
117
100
  Object.defineProperty(exports, "SchemaPropertyRule", {
118
101
  enumerable: true,
119
- get: function () { return chunkIWRV6QAD_cjs.SchemaPropertyRule; }
102
+ get: function () { return chunkVGB4YCGF_cjs.SchemaPropertyRule; }
120
103
  });
121
104
  Object.defineProperty(exports, "SchemaSerializer", {
122
105
  enumerable: true,
123
- get: function () { return chunkIWRV6QAD_cjs.SchemaSerializer; }
106
+ get: function () { return chunkVGB4YCGF_cjs.SchemaSerializer; }
124
107
  });
125
108
  Object.defineProperty(exports, "SchemaTruthyRule", {
126
109
  enumerable: true,
127
- get: function () { return chunkIWRV6QAD_cjs.SchemaTruthyRule; }
110
+ get: function () { return chunkVGB4YCGF_cjs.SchemaTruthyRule; }
128
111
  });
129
112
  Object.defineProperty(exports, "ValidationEngine", {
130
113
  enumerable: true,
131
- get: function () { return chunkIWRV6QAD_cjs.ValidationEngine; }
114
+ get: function () { return chunkVGB4YCGF_cjs.ValidationEngine; }
132
115
  });
133
116
  Object.defineProperty(exports, "ValidatorRegistry", {
134
117
  enumerable: true,
135
- get: function () { return chunkIWRV6QAD_cjs.ValidatorRegistry; }
118
+ get: function () { return chunkVGB4YCGF_cjs.ValidatorRegistry; }
136
119
  });
137
120
  Object.defineProperty(exports, "ValidatorResolver", {
138
121
  enumerable: true,
139
- get: function () { return chunkIWRV6QAD_cjs.ValidatorResolver; }
122
+ get: function () { return chunkVGB4YCGF_cjs.ValidatorResolver; }
140
123
  });
141
124
  Object.defineProperty(exports, "areNodesContentEqual", {
142
125
  enumerable: true,
143
- get: function () { return chunkIWRV6QAD_cjs.areNodesContentEqual; }
126
+ get: function () { return chunkVGB4YCGF_cjs.areNodesContentEqual; }
144
127
  });
145
128
  Object.defineProperty(exports, "areNodesEqual", {
146
129
  enumerable: true,
147
- get: function () { return chunkIWRV6QAD_cjs.areNodesEqual; }
130
+ get: function () { return chunkVGB4YCGF_cjs.areNodesEqual; }
148
131
  });
149
132
  Object.defineProperty(exports, "coalesceChanges", {
150
133
  enumerable: true,
151
- get: function () { return chunkIWRV6QAD_cjs.coalesceChanges; }
134
+ get: function () { return chunkVGB4YCGF_cjs.coalesceChanges; }
152
135
  });
153
136
  Object.defineProperty(exports, "collectChanges", {
154
137
  enumerable: true,
155
- get: function () { return chunkIWRV6QAD_cjs.collectChanges; }
138
+ get: function () { return chunkVGB4YCGF_cjs.collectChanges; }
156
139
  });
157
140
  Object.defineProperty(exports, "createArrayNode", {
158
141
  enumerable: true,
159
- get: function () { return chunkIWRV6QAD_cjs.createArrayNode; }
142
+ get: function () { return chunkVGB4YCGF_cjs.createArrayNode; }
160
143
  });
161
144
  Object.defineProperty(exports, "createBooleanNode", {
162
145
  enumerable: true,
163
- get: function () { return chunkIWRV6QAD_cjs.createBooleanNode; }
146
+ get: function () { return chunkVGB4YCGF_cjs.createBooleanNode; }
164
147
  });
165
148
  Object.defineProperty(exports, "createDefaultValidatorRegistry", {
166
149
  enumerable: true,
167
- get: function () { return chunkIWRV6QAD_cjs.createDefaultValidatorRegistry; }
150
+ get: function () { return chunkVGB4YCGF_cjs.createDefaultValidatorRegistry; }
151
+ });
152
+ Object.defineProperty(exports, "createMobxProvider", {
153
+ enumerable: true,
154
+ get: function () { return chunkVGB4YCGF_cjs.createMobxProvider; }
168
155
  });
169
156
  Object.defineProperty(exports, "createNumberNode", {
170
157
  enumerable: true,
171
- get: function () { return chunkIWRV6QAD_cjs.createNumberNode; }
158
+ get: function () { return chunkVGB4YCGF_cjs.createNumberNode; }
172
159
  });
173
160
  Object.defineProperty(exports, "createObjectNode", {
174
161
  enumerable: true,
175
- get: function () { return chunkIWRV6QAD_cjs.createObjectNode; }
162
+ get: function () { return chunkVGB4YCGF_cjs.createObjectNode; }
176
163
  });
177
164
  Object.defineProperty(exports, "createPath", {
178
165
  enumerable: true,
179
- get: function () { return chunkIWRV6QAD_cjs.createPath; }
166
+ get: function () { return chunkVGB4YCGF_cjs.createPath; }
180
167
  });
181
168
  Object.defineProperty(exports, "createRefNode", {
182
169
  enumerable: true,
183
- get: function () { return chunkIWRV6QAD_cjs.createRefNode; }
170
+ get: function () { return chunkVGB4YCGF_cjs.createRefNode; }
184
171
  });
185
172
  Object.defineProperty(exports, "createSchemaTree", {
186
173
  enumerable: true,
187
- get: function () { return chunkIWRV6QAD_cjs.createSchemaTree; }
174
+ get: function () { return chunkVGB4YCGF_cjs.createSchemaTree; }
188
175
  });
189
176
  Object.defineProperty(exports, "createStringNode", {
190
177
  enumerable: true,
191
- get: function () { return chunkIWRV6QAD_cjs.createStringNode; }
178
+ get: function () { return chunkVGB4YCGF_cjs.createStringNode; }
192
179
  });
193
180
  Object.defineProperty(exports, "createValidationEngine", {
194
181
  enumerable: true,
195
- get: function () { return chunkIWRV6QAD_cjs.createValidationEngine; }
182
+ get: function () { return chunkVGB4YCGF_cjs.createValidationEngine; }
196
183
  });
197
184
  Object.defineProperty(exports, "isValidFieldName", {
198
185
  enumerable: true,
199
- get: function () { return chunkIWRV6QAD_cjs.isValidFieldName; }
186
+ get: function () { return chunkVGB4YCGF_cjs.isValidFieldName; }
200
187
  });
201
188
  Object.defineProperty(exports, "jsonPointerToPath", {
202
189
  enumerable: true,
203
- get: function () { return chunkIWRV6QAD_cjs.jsonPointerToPath; }
190
+ get: function () { return chunkVGB4YCGF_cjs.jsonPointerToPath; }
204
191
  });
205
192
  Object.defineProperty(exports, "jsonPointerToSegments", {
206
193
  enumerable: true,
207
- get: function () { return chunkIWRV6QAD_cjs.jsonPointerToSegments; }
194
+ get: function () { return chunkVGB4YCGF_cjs.jsonPointerToSegments; }
208
195
  });
209
196
  Object.defineProperty(exports, "jsonPointerToSimplePath", {
210
197
  enumerable: true,
211
- get: function () { return chunkIWRV6QAD_cjs.jsonPointerToSimplePath; }
198
+ get: function () { return chunkVGB4YCGF_cjs.jsonPointerToSimplePath; }
199
+ });
200
+ Object.defineProperty(exports, "makeAutoObservable", {
201
+ enumerable: true,
202
+ get: function () { return chunkVGB4YCGF_cjs.makeAutoObservable; }
203
+ });
204
+ Object.defineProperty(exports, "makeObservable", {
205
+ enumerable: true,
206
+ get: function () { return chunkVGB4YCGF_cjs.makeObservable; }
207
+ });
208
+ Object.defineProperty(exports, "observable", {
209
+ enumerable: true,
210
+ get: function () { return chunkVGB4YCGF_cjs.observable; }
211
+ });
212
+ Object.defineProperty(exports, "reaction", {
213
+ enumerable: true,
214
+ get: function () { return chunkVGB4YCGF_cjs.reaction; }
215
+ });
216
+ Object.defineProperty(exports, "resetReactivityProvider", {
217
+ enumerable: true,
218
+ get: function () { return chunkVGB4YCGF_cjs.resetReactivityProvider; }
219
+ });
220
+ Object.defineProperty(exports, "runInAction", {
221
+ enumerable: true,
222
+ get: function () { return chunkVGB4YCGF_cjs.runInAction; }
223
+ });
224
+ Object.defineProperty(exports, "setReactivityProvider", {
225
+ enumerable: true,
226
+ get: function () { return chunkVGB4YCGF_cjs.setReactivityProvider; }
212
227
  });
213
228
  Object.defineProperty(exports, "validateFormulas", {
214
229
  enumerable: true,
215
- get: function () { return chunkIWRV6QAD_cjs.validateFormulas; }
230
+ get: function () { return chunkVGB4YCGF_cjs.validateFormulas; }
216
231
  });
217
232
  Object.defineProperty(exports, "validateSchema", {
218
233
  enumerable: true,
219
- get: function () { return chunkIWRV6QAD_cjs.validateSchema; }
234
+ get: function () { return chunkVGB4YCGF_cjs.validateSchema; }
220
235
  });
221
236
  Object.defineProperty(exports, "computeValueDiff", {
222
237
  enumerable: true,
@@ -226,6 +241,5 @@ Object.defineProperty(exports, "FieldChangeType", {
226
241
  enumerable: true,
227
242
  get: function () { return chunkZRNFSUOV_cjs.FieldChangeType; }
228
243
  });
229
- exports.noopAdapter = noopAdapter;
230
244
  //# sourceMappingURL=index.cjs.map
231
245
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/core/reactivity/noop-adapter.ts"],"names":[],"mappings":";;;;;;;;;AAGA,IAAM,wBAAN,MAAyD;AAAA,EACvD,cAAA,CACE,SACA,YAAA,EACM;AAAA,EAER;AAAA,EAEA,eAAA,GAA0B;AACxB,IAAA,OAAO,EAAC;AAAA,EACV;AAAA,EAEA,aAAA,GAAiC;AAC/B,IAAA,2BAAW,GAAA,EAAI;AAAA,EACjB;AAAA,EAEA,QAAA,CACE,aACA,OAAA,EACY;AACZ,IAAA,OAAO,MAAM;AAAA,IAAC,CAAA;AAAA,EAChB;AAAA,EAEA,YAAe,EAAA,EAAgB;AAC7B,IAAA,OAAO,EAAA,EAAG;AAAA,EACZ;AACF,CAAA;AAEO,IAAM,WAAA,GAAiC,IAAI,qBAAA","file":"index.cjs","sourcesContent":["import type { AnnotationsMap } from '../types/index.js';\nimport type { ReactivityAdapter } from './types.js';\n\nclass NoopReactivityAdapter implements ReactivityAdapter {\n makeObservable<T extends object>(\n _target: T,\n _annotations: AnnotationsMap<T>,\n ): void {\n // noop\n }\n\n observableArray<T>(): T[] {\n return [];\n }\n\n observableMap<K, V>(): Map<K, V> {\n return new Map();\n }\n\n reaction<T>(\n _expression: () => T,\n _effect: (value: T) => void,\n ): () => void {\n return () => {};\n }\n\n runInAction<T>(fn: () => T): T {\n return fn();\n }\n}\n\nexport const noopAdapter: ReactivityAdapter = new NoopReactivityAdapter();\n"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -1,13 +1,11 @@
1
- import { R as ReactivityAdapter, b as SchemaNode, N as NodeMetadata, d as Formula, P as Path, e as PathSegment, c as SchemaTree, f as SchemaPatch, J as JsonPatch, V as ValidatorFactoryFn, g as ValidatorRule, h as Validator, i as ValidationContext, D as Diagnostic, j as SchemaLike } from '../types-BWeurwlH.cjs';
2
- export { A as AnnotationType, k as AnnotationsMap, n as DefaultValueType, l as DiagnosticSeverity, E as EMPTY_METADATA, F as FormulaValidationError, m as NodeType, S as SchemaValidationError, a as SchemaValidationErrorType } from '../types-BWeurwlH.cjs';
3
- export { F as FIELD_NAME_ERROR_MESSAGE, i as isValidFieldName, a as validateFormulas, v as validateSchema } from '../FormulaValidator-DTT8T1OM.cjs';
1
+ import { j as SchemaNode, h as NodeMetadata, i as Formula, P as Path, a as PathSegment, k as SchemaTree, l as SchemaPatch, e as ValidatorFactoryFn, d as ValidatorRule, c as Validator, V as ValidationContext, D as Diagnostic, S as SchemaLike, f as SchemaValidationError, T as TreeFormulaValidationError } from '../types-BUiNI0oL.cjs';
2
+ export { m as DefaultValueType, b as DiagnosticSeverity, E as EMPTY_METADATA, M as MetadataChangeType, N as NodeType, g as SchemaValidationErrorType } from '../types-BUiNI0oL.cjs';
3
+ import { C as ContentMediaType, i as JsonSchema, f as JsonObjectSchema } from '../schema.types-B5OgKLpV.cjs';
4
4
  export { a as FieldChange, F as FieldChangeType } from '../types-C_GxaUve.cjs';
5
5
  export { c as computeValueDiff } from '../computeValueDiff-CNT84rwK.cjs';
6
- import { i as JsonSchema, f as JsonObjectSchema } from '../schema.types-ZX5fUW1X.cjs';
6
+ import { h as JsonPatch } from '../json-patch.types-Cu0Medki.cjs';
7
7
  import '@revisium/formula';
8
8
 
9
- declare const noopAdapter: ReactivityAdapter;
10
-
11
9
  declare const NULL_NODE: SchemaNode;
12
10
 
13
11
  declare function createObjectNode(id: string, name: string, children?: readonly SchemaNode[], metadata?: NodeMetadata): SchemaNode;
@@ -19,6 +17,7 @@ interface StringNodeOptions {
19
17
  readonly foreignKey?: string;
20
18
  readonly formula?: Formula;
21
19
  readonly metadata?: NodeMetadata;
20
+ readonly contentMediaType?: ContentMediaType;
22
21
  }
23
22
  declare function createStringNode(id: string, name: string, options?: StringNodeOptions): SchemaNode;
24
23
 
@@ -132,6 +131,9 @@ declare class ChangeCollector {
132
131
  constructor(baseTree: SchemaTree, currentTree: SchemaTree, index: NodePathIndex);
133
132
  collect(): RawChange[];
134
133
  private collectFromCurrentTree;
134
+ private collectNodeChange;
135
+ private collectReplacementChange;
136
+ private collectMovedChange;
135
137
  private collectRemovedNodes;
136
138
  }
137
139
  declare function collectChanges(baseTree: SchemaTree, currentTree: SchemaTree, index: NodePathIndex): RawChange[];
@@ -198,9 +200,13 @@ declare class PatchEnricher {
198
200
  private computeDescriptionChange;
199
201
  private computeDeprecatedChange;
200
202
  private computeForeignKeyChange;
203
+ private computeContentMediaTypeChange;
204
+ private computeMetadataChanges;
201
205
  private getNodeType;
202
206
  private getFieldNameFromPath;
203
207
  private isRenameMove;
208
+ private movesIntoArrayBoundary;
209
+ private countArrayDepth;
204
210
  private getNodeAtPath;
205
211
  }
206
212
 
@@ -289,6 +295,61 @@ declare class CompositeRule implements ValidatorRule {
289
295
  shouldApply(context: ValidationContext): boolean;
290
296
  }
291
297
 
298
+ declare function validateSchema(root: SchemaNode): SchemaValidationError[];
299
+
300
+ declare const FIELD_NAME_ERROR_MESSAGE = "Must start with a letter or underscore, cannot start with __, and can only include letters, numbers, hyphens, and underscores (max 64 chars)";
301
+ declare function isValidFieldName(name: string): boolean;
302
+
303
+ declare function validateFormulas(tree: SchemaTree): TreeFormulaValidationError[];
304
+
305
+ type AnnotationType = 'observable' | 'observable.ref' | 'observable.shallow' | 'computed' | 'action';
306
+ type AnnotationsMap<T> = {
307
+ [K in keyof T]?: AnnotationType;
308
+ };
309
+
310
+ declare function makeObservable<T extends object>(target: T, annotations: Record<string, unknown>): T;
311
+ declare function makeAutoObservable<T extends object>(target: T, overrides?: Record<string, unknown>): T;
312
+ declare const observable: {
313
+ map<K, V>(): Map<K, V>;
314
+ array<T>(): T[];
315
+ };
316
+ declare function runInAction<T>(fn: () => T): T;
317
+ declare function reaction<T>(expression: () => T, effect: (value: T) => void): () => void;
318
+
319
+ interface ObservableFactory {
320
+ map<K, V>(): Map<K, V>;
321
+ array<T>(): T[];
322
+ }
323
+ interface ReactivityProvider {
324
+ makeObservable<T extends object>(target: T, annotations: Record<string, unknown>): T;
325
+ makeAutoObservable<T extends object>(target: T, overrides?: Record<string, unknown>): T;
326
+ isObservable(target: object): boolean;
327
+ observable: ObservableFactory;
328
+ runInAction<T>(fn: () => T): T;
329
+ reaction<T>(expression: () => T, effect: (value: T) => void): () => void;
330
+ }
331
+ declare function setReactivityProvider(provider: ReactivityProvider): void;
332
+ declare function resetReactivityProvider(): void;
333
+
334
+ type AnyFunction = (...args: any[]) => any;
335
+ interface MobXObservable {
336
+ map<K, V>(): Map<K, V>;
337
+ array<T>(): T[];
338
+ ref: unknown;
339
+ shallow: unknown;
340
+ }
341
+ interface MobXModule {
342
+ makeObservable: AnyFunction;
343
+ makeAutoObservable: AnyFunction;
344
+ isObservable: (target: object) => boolean;
345
+ observable: MobXObservable;
346
+ action: unknown;
347
+ computed: unknown;
348
+ runInAction: <T>(fn: () => T) => T;
349
+ reaction: <T>(expression: () => T, effect: (value: T) => void) => () => void;
350
+ }
351
+ declare function createMobxProvider(mobx: MobXModule): ReactivityProvider;
352
+
292
353
  interface SerializeOptions {
293
354
  excludeNodeIds?: Set<string>;
294
355
  }
@@ -309,6 +370,7 @@ declare class SchemaSerializer {
309
370
  private serializeFormula;
310
371
  private addMetadata;
311
372
  private shouldExclude;
373
+ private isValidContentMediaType;
312
374
  }
313
375
 
314
- export { type AddedChange, ChangeCoalescer, ChangeCollector, type ChangeType, type CoalescedChanges, type ComparatorContext, CompositeRule, Diagnostic, EMPTY_PATH, EnumValidator, ForeignKeyValidator, Formula, ItemsSegment, JsonPatch, MaxLengthValidator, MaximumValidator, MinLengthValidator, MinimumValidator, type ModifiedChange, type MovedChange, NULL_NODE, NodeMetadata, NodePathIndex, PatchBuilder, PatchEnricher, PatchGenerator, Path, PathSegment, PatternValidator, PropertySegment, type RawChange, ReactivityAdapter, type RemovedChange, RequiredValidator, SchemaDiff, SchemaLike, SchemaNode, SchemaPatch, SchemaPropertyRule, SchemaSerializer, SchemaTree, SchemaTruthyRule, type SerializeOptions, ValidationContext, ValidationEngine, Validator, ValidatorFactoryFn, ValidatorRegistry, ValidatorResolver, ValidatorRule, areNodesContentEqual, areNodesEqual, coalesceChanges, collectChanges, createArrayNode, createBooleanNode, createDefaultValidatorRegistry, createNumberNode, createObjectNode, createPath, createRefNode, createSchemaTree, createStringNode, createValidationEngine, jsonPointerToPath, jsonPointerToSegments, jsonPointerToSimplePath, noopAdapter };
376
+ export { type AddedChange, type AnnotationType, type AnnotationsMap, ChangeCoalescer, ChangeCollector, type ChangeType, type CoalescedChanges, type ComparatorContext, CompositeRule, Diagnostic, EMPTY_PATH, EnumValidator, FIELD_NAME_ERROR_MESSAGE, ForeignKeyValidator, Formula, ItemsSegment, JsonPatch, MaxLengthValidator, MaximumValidator, MinLengthValidator, MinimumValidator, type ModifiedChange, type MovedChange, NULL_NODE, NodeMetadata, NodePathIndex, PatchBuilder, PatchEnricher, PatchGenerator, Path, PathSegment, PatternValidator, PropertySegment, type RawChange, type ReactivityProvider, type RemovedChange, RequiredValidator, SchemaDiff, SchemaLike, SchemaNode, SchemaPatch, SchemaPropertyRule, SchemaSerializer, SchemaTree, SchemaTruthyRule, SchemaValidationError, type SerializeOptions, TreeFormulaValidationError, ValidationContext, ValidationEngine, Validator, ValidatorFactoryFn, ValidatorRegistry, ValidatorResolver, ValidatorRule, 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 };
@@ -1,13 +1,11 @@
1
- import { R as ReactivityAdapter, b as SchemaNode, N as NodeMetadata, d as Formula, P as Path, e as PathSegment, c as SchemaTree, f as SchemaPatch, J as JsonPatch, V as ValidatorFactoryFn, g as ValidatorRule, h as Validator, i as ValidationContext, D as Diagnostic, j as SchemaLike } from '../types-DmsYGLDX.js';
2
- export { A as AnnotationType, k as AnnotationsMap, n as DefaultValueType, l as DiagnosticSeverity, E as EMPTY_METADATA, F as FormulaValidationError, m as NodeType, S as SchemaValidationError, a as SchemaValidationErrorType } from '../types-DmsYGLDX.js';
3
- export { F as FIELD_NAME_ERROR_MESSAGE, i as isValidFieldName, a as validateFormulas, v as validateSchema } from '../FormulaValidator-Bl6lav9r.js';
1
+ import { j as SchemaNode, h as NodeMetadata, i as Formula, P as Path, a as PathSegment, k as SchemaTree, l as SchemaPatch, e as ValidatorFactoryFn, d as ValidatorRule, c as Validator, V as ValidationContext, D as Diagnostic, S as SchemaLike, f as SchemaValidationError, T as TreeFormulaValidationError } from '../types-bBnnfNxC.js';
2
+ export { m as DefaultValueType, b as DiagnosticSeverity, E as EMPTY_METADATA, M as MetadataChangeType, N as NodeType, g as SchemaValidationErrorType } from '../types-bBnnfNxC.js';
3
+ import { C as ContentMediaType, i as JsonSchema, f as JsonObjectSchema } from '../schema.types-B5OgKLpV.js';
4
4
  export { a as FieldChange, F as FieldChangeType } from '../types-C_GxaUve.js';
5
5
  export { c as computeValueDiff } from '../computeValueDiff-CDwbNw8F.js';
6
- import { i as JsonSchema, f as JsonObjectSchema } from '../schema.types-ZX5fUW1X.js';
6
+ import { h as JsonPatch } from '../json-patch.types-DY7k9hxy.js';
7
7
  import '@revisium/formula';
8
8
 
9
- declare const noopAdapter: ReactivityAdapter;
10
-
11
9
  declare const NULL_NODE: SchemaNode;
12
10
 
13
11
  declare function createObjectNode(id: string, name: string, children?: readonly SchemaNode[], metadata?: NodeMetadata): SchemaNode;
@@ -19,6 +17,7 @@ interface StringNodeOptions {
19
17
  readonly foreignKey?: string;
20
18
  readonly formula?: Formula;
21
19
  readonly metadata?: NodeMetadata;
20
+ readonly contentMediaType?: ContentMediaType;
22
21
  }
23
22
  declare function createStringNode(id: string, name: string, options?: StringNodeOptions): SchemaNode;
24
23
 
@@ -132,6 +131,9 @@ declare class ChangeCollector {
132
131
  constructor(baseTree: SchemaTree, currentTree: SchemaTree, index: NodePathIndex);
133
132
  collect(): RawChange[];
134
133
  private collectFromCurrentTree;
134
+ private collectNodeChange;
135
+ private collectReplacementChange;
136
+ private collectMovedChange;
135
137
  private collectRemovedNodes;
136
138
  }
137
139
  declare function collectChanges(baseTree: SchemaTree, currentTree: SchemaTree, index: NodePathIndex): RawChange[];
@@ -198,9 +200,13 @@ declare class PatchEnricher {
198
200
  private computeDescriptionChange;
199
201
  private computeDeprecatedChange;
200
202
  private computeForeignKeyChange;
203
+ private computeContentMediaTypeChange;
204
+ private computeMetadataChanges;
201
205
  private getNodeType;
202
206
  private getFieldNameFromPath;
203
207
  private isRenameMove;
208
+ private movesIntoArrayBoundary;
209
+ private countArrayDepth;
204
210
  private getNodeAtPath;
205
211
  }
206
212
 
@@ -289,6 +295,61 @@ declare class CompositeRule implements ValidatorRule {
289
295
  shouldApply(context: ValidationContext): boolean;
290
296
  }
291
297
 
298
+ declare function validateSchema(root: SchemaNode): SchemaValidationError[];
299
+
300
+ declare const FIELD_NAME_ERROR_MESSAGE = "Must start with a letter or underscore, cannot start with __, and can only include letters, numbers, hyphens, and underscores (max 64 chars)";
301
+ declare function isValidFieldName(name: string): boolean;
302
+
303
+ declare function validateFormulas(tree: SchemaTree): TreeFormulaValidationError[];
304
+
305
+ type AnnotationType = 'observable' | 'observable.ref' | 'observable.shallow' | 'computed' | 'action';
306
+ type AnnotationsMap<T> = {
307
+ [K in keyof T]?: AnnotationType;
308
+ };
309
+
310
+ declare function makeObservable<T extends object>(target: T, annotations: Record<string, unknown>): T;
311
+ declare function makeAutoObservable<T extends object>(target: T, overrides?: Record<string, unknown>): T;
312
+ declare const observable: {
313
+ map<K, V>(): Map<K, V>;
314
+ array<T>(): T[];
315
+ };
316
+ declare function runInAction<T>(fn: () => T): T;
317
+ declare function reaction<T>(expression: () => T, effect: (value: T) => void): () => void;
318
+
319
+ interface ObservableFactory {
320
+ map<K, V>(): Map<K, V>;
321
+ array<T>(): T[];
322
+ }
323
+ interface ReactivityProvider {
324
+ makeObservable<T extends object>(target: T, annotations: Record<string, unknown>): T;
325
+ makeAutoObservable<T extends object>(target: T, overrides?: Record<string, unknown>): T;
326
+ isObservable(target: object): boolean;
327
+ observable: ObservableFactory;
328
+ runInAction<T>(fn: () => T): T;
329
+ reaction<T>(expression: () => T, effect: (value: T) => void): () => void;
330
+ }
331
+ declare function setReactivityProvider(provider: ReactivityProvider): void;
332
+ declare function resetReactivityProvider(): void;
333
+
334
+ type AnyFunction = (...args: any[]) => any;
335
+ interface MobXObservable {
336
+ map<K, V>(): Map<K, V>;
337
+ array<T>(): T[];
338
+ ref: unknown;
339
+ shallow: unknown;
340
+ }
341
+ interface MobXModule {
342
+ makeObservable: AnyFunction;
343
+ makeAutoObservable: AnyFunction;
344
+ isObservable: (target: object) => boolean;
345
+ observable: MobXObservable;
346
+ action: unknown;
347
+ computed: unknown;
348
+ runInAction: <T>(fn: () => T) => T;
349
+ reaction: <T>(expression: () => T, effect: (value: T) => void) => () => void;
350
+ }
351
+ declare function createMobxProvider(mobx: MobXModule): ReactivityProvider;
352
+
292
353
  interface SerializeOptions {
293
354
  excludeNodeIds?: Set<string>;
294
355
  }
@@ -309,6 +370,7 @@ declare class SchemaSerializer {
309
370
  private serializeFormula;
310
371
  private addMetadata;
311
372
  private shouldExclude;
373
+ private isValidContentMediaType;
312
374
  }
313
375
 
314
- export { type AddedChange, ChangeCoalescer, ChangeCollector, type ChangeType, type CoalescedChanges, type ComparatorContext, CompositeRule, Diagnostic, EMPTY_PATH, EnumValidator, ForeignKeyValidator, Formula, ItemsSegment, JsonPatch, MaxLengthValidator, MaximumValidator, MinLengthValidator, MinimumValidator, type ModifiedChange, type MovedChange, NULL_NODE, NodeMetadata, NodePathIndex, PatchBuilder, PatchEnricher, PatchGenerator, Path, PathSegment, PatternValidator, PropertySegment, type RawChange, ReactivityAdapter, type RemovedChange, RequiredValidator, SchemaDiff, SchemaLike, SchemaNode, SchemaPatch, SchemaPropertyRule, SchemaSerializer, SchemaTree, SchemaTruthyRule, type SerializeOptions, ValidationContext, ValidationEngine, Validator, ValidatorFactoryFn, ValidatorRegistry, ValidatorResolver, ValidatorRule, areNodesContentEqual, areNodesEqual, coalesceChanges, collectChanges, createArrayNode, createBooleanNode, createDefaultValidatorRegistry, createNumberNode, createObjectNode, createPath, createRefNode, createSchemaTree, createStringNode, createValidationEngine, jsonPointerToPath, jsonPointerToSegments, jsonPointerToSimplePath, noopAdapter };
376
+ export { type AddedChange, type AnnotationType, type AnnotationsMap, ChangeCoalescer, ChangeCollector, type ChangeType, type CoalescedChanges, type ComparatorContext, CompositeRule, Diagnostic, EMPTY_PATH, EnumValidator, FIELD_NAME_ERROR_MESSAGE, ForeignKeyValidator, Formula, ItemsSegment, JsonPatch, MaxLengthValidator, MaximumValidator, MinLengthValidator, MinimumValidator, type ModifiedChange, type MovedChange, NULL_NODE, NodeMetadata, NodePathIndex, PatchBuilder, PatchEnricher, PatchGenerator, Path, PathSegment, PatternValidator, PropertySegment, type RawChange, type ReactivityProvider, type RemovedChange, RequiredValidator, SchemaDiff, SchemaLike, SchemaNode, SchemaPatch, SchemaPropertyRule, SchemaSerializer, SchemaTree, SchemaTruthyRule, SchemaValidationError, type SerializeOptions, TreeFormulaValidationError, ValidationContext, ValidationEngine, Validator, ValidatorFactoryFn, ValidatorRegistry, ValidatorResolver, ValidatorRule, 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 };
@@ -1,29 +1,8 @@
1
- export { ChangeCoalescer, ChangeCollector, CompositeRule, EMPTY_METADATA, EMPTY_PATH, EnumValidator, FIELD_NAME_ERROR_MESSAGE, ForeignKeyValidator, ItemsSegment, MaxLengthValidator, MaximumValidator, MinLengthValidator, MinimumValidator, NULL_NODE, NodePathIndex, PatchBuilder, PatchEnricher, PatchGenerator, PatternValidator, PropertySegment, RequiredValidator, SchemaDiff, SchemaPropertyRule, SchemaSerializer, SchemaTruthyRule, ValidationEngine, ValidatorRegistry, ValidatorResolver, areNodesContentEqual, areNodesEqual, coalesceChanges, collectChanges, createArrayNode, createBooleanNode, createDefaultValidatorRegistry, createNumberNode, createObjectNode, createPath, createRefNode, createSchemaTree, createStringNode, createValidationEngine, isValidFieldName, jsonPointerToPath, jsonPointerToSegments, jsonPointerToSimplePath, validateFormulas, validateSchema } from '../chunk-S7GEDTSL.js';
1
+ import '../chunk-Y2GYABV7.js';
2
+ export { ChangeCoalescer, ChangeCollector, CompositeRule, EMPTY_METADATA, EMPTY_PATH, EnumValidator, FIELD_NAME_ERROR_MESSAGE, ForeignKeyValidator, ItemsSegment, MaxLengthValidator, MaximumValidator, MinLengthValidator, MinimumValidator, NULL_NODE, NodePathIndex, PatchBuilder, PatchEnricher, PatchGenerator, PatternValidator, PropertySegment, RequiredValidator, 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-PGR2S2BR.js';
2
3
  import '../chunk-3IKI64T2.js';
3
4
  export { computeValueDiff } from '../chunk-YFWOURZL.js';
4
5
  export { FieldChangeType } from '../chunk-ZBPUTF3Q.js';
5
- import '../chunk-CYTPQYVM.js';
6
-
7
- // src/core/reactivity/noop-adapter.ts
8
- var NoopReactivityAdapter = class {
9
- makeObservable(_target, _annotations) {
10
- }
11
- observableArray() {
12
- return [];
13
- }
14
- observableMap() {
15
- return /* @__PURE__ */ new Map();
16
- }
17
- reaction(_expression, _effect) {
18
- return () => {
19
- };
20
- }
21
- runInAction(fn) {
22
- return fn();
23
- }
24
- };
25
- var noopAdapter = new NoopReactivityAdapter();
26
-
27
- export { noopAdapter };
6
+ import '../chunk-MPF6VCB5.js';
28
7
  //# sourceMappingURL=index.js.map
29
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/core/reactivity/noop-adapter.ts"],"names":[],"mappings":";;;;;;;AAGA,IAAM,wBAAN,MAAyD;AAAA,EACvD,cAAA,CACE,SACA,YAAA,EACM;AAAA,EAER;AAAA,EAEA,eAAA,GAA0B;AACxB,IAAA,OAAO,EAAC;AAAA,EACV;AAAA,EAEA,aAAA,GAAiC;AAC/B,IAAA,2BAAW,GAAA,EAAI;AAAA,EACjB;AAAA,EAEA,QAAA,CACE,aACA,OAAA,EACY;AACZ,IAAA,OAAO,MAAM;AAAA,IAAC,CAAA;AAAA,EAChB;AAAA,EAEA,YAAe,EAAA,EAAgB;AAC7B,IAAA,OAAO,EAAA,EAAG;AAAA,EACZ;AACF,CAAA;AAEO,IAAM,WAAA,GAAiC,IAAI,qBAAA","file":"index.js","sourcesContent":["import type { AnnotationsMap } from '../types/index.js';\nimport type { ReactivityAdapter } from './types.js';\n\nclass NoopReactivityAdapter implements ReactivityAdapter {\n makeObservable<T extends object>(\n _target: T,\n _annotations: AnnotationsMap<T>,\n ): void {\n // noop\n }\n\n observableArray<T>(): T[] {\n return [];\n }\n\n observableMap<K, V>(): Map<K, V> {\n return new Map();\n }\n\n reaction<T>(\n _expression: () => T,\n _effect: (value: T) => void,\n ): () => void {\n return () => {};\n }\n\n runInAction<T>(fn: () => T): T {\n return fn();\n }\n}\n\nexport const noopAdapter: ReactivityAdapter = new NoopReactivityAdapter();\n"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -1,4 +1,4 @@
1
- import { i as JsonSchema } from '../schema.types-ZX5fUW1X.cjs';
1
+ import { i as JsonSchema } from '../schema.types-B5OgKLpV.cjs';
2
2
  export { formulaSpec } from '@revisium/formula/spec';
3
3
 
4
4
  interface XFormulaInput {
@@ -1,4 +1,4 @@
1
- import { i as JsonSchema } from '../schema.types-ZX5fUW1X.js';
1
+ import { i as JsonSchema } from '../schema.types-B5OgKLpV.js';
2
2
  export { formulaSpec } from '@revisium/formula/spec';
3
3
 
4
4
  interface XFormulaInput {