@revisium/schema-toolkit 0.5.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -156
- package/dist/{chunk-7LKKRGZG.js → chunk-4BIANIHT.js} +226 -129
- package/dist/chunk-4BIANIHT.js.map +1 -0
- package/dist/{chunk-V2SSSD5X.cjs → chunk-B22UU3JK.cjs} +2 -2
- package/dist/chunk-B22UU3JK.cjs.map +1 -0
- package/dist/{chunk-VGTHMWJJ.cjs → chunk-ECWBPKDQ.cjs} +15 -2
- package/dist/chunk-ECWBPKDQ.cjs.map +1 -0
- package/dist/{chunk-ASXCDIN2.js → chunk-EIDMKNH4.js} +15 -3
- package/dist/chunk-EIDMKNH4.js.map +1 -0
- package/dist/chunk-GF3XXYOS.cjs +13 -0
- package/dist/chunk-GF3XXYOS.cjs.map +1 -0
- package/dist/{chunk-WCFA4226.js → chunk-HY4VE7H2.js} +11 -5
- package/dist/chunk-HY4VE7H2.js.map +1 -0
- package/dist/chunk-KJCURW4D.js +11 -0
- package/dist/chunk-KJCURW4D.js.map +1 -0
- package/dist/{chunk-ZXLLJAMQ.js → chunk-L5MLJEC7.js} +2 -2
- package/dist/chunk-L5MLJEC7.js.map +1 -0
- package/dist/chunk-SBJFTOWW.js +3 -0
- package/dist/{chunk-DEPJRTVT.js.map → chunk-SBJFTOWW.js.map} +1 -1
- package/dist/{chunk-JLIZ7QT2.cjs → chunk-TMWPWGUN.cjs} +11 -5
- package/dist/chunk-TMWPWGUN.cjs.map +1 -0
- package/dist/{chunk-EJAKPKHS.cjs → chunk-UJBE43WI.cjs} +234 -136
- package/dist/chunk-UJBE43WI.cjs.map +1 -0
- package/dist/chunk-XAFOMEOK.cjs +4 -0
- package/dist/{chunk-FD57PCAC.cjs.map → chunk-XAFOMEOK.cjs.map} +1 -1
- package/dist/index.cjs +94 -81
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +6 -5
- package/dist/{json-patch.types-DiJBqfxV.d.ts → json-patch.types-CYt9TCu3.d.ts} +1 -1
- package/dist/{json-patch.types-lByaF-OL.d.cts → json-patch.types-DUcWbQRY.d.cts} +1 -1
- package/dist/{json-string.store-BNF1Y93E.d.cts → json-string.store-CcZ197KO.d.cts} +4 -1
- package/dist/{json-string.store-qHcWNv07.d.ts → json-string.store-DckDcMVN.d.ts} +4 -1
- package/dist/lib/index.cjs +45 -40
- package/dist/lib/index.d.cts +7 -4
- package/dist/lib/index.d.ts +7 -4
- package/dist/lib/index.js +4 -3
- package/dist/mocks/index.cjs +1 -1
- package/dist/mocks/index.d.cts +2 -2
- package/dist/mocks/index.d.ts +2 -2
- package/dist/mocks/index.js +1 -1
- package/dist/model/index.cjs +26 -26
- package/dist/model/index.d.cts +3 -3
- package/dist/model/index.d.ts +3 -3
- package/dist/model/index.js +2 -2
- package/dist/plugins/index.cjs +1 -1
- package/dist/plugins/index.d.cts +9 -1
- package/dist/plugins/index.d.ts +9 -1
- package/dist/plugins/index.js +1 -1
- package/dist/{schema.types-Q3MYTp8z.d.cts → schema.types-CLHMJmkJ.d.cts} +8 -1
- package/dist/{schema.types-Q3MYTp8z.d.ts → schema.types-CLHMJmkJ.d.ts} +8 -1
- package/dist/types/index.cjs +8 -3
- package/dist/types/index.d.cts +5 -4
- package/dist/types/index.d.ts +5 -4
- package/dist/types/index.js +3 -2
- package/dist/validation-schemas/index.cjs +19 -15
- package/dist/validation-schemas/index.d.cts +2 -1
- package/dist/validation-schemas/index.d.ts +2 -1
- package/dist/validation-schemas/index.js +1 -1
- package/dist/value-diff.types-BRoI_kGE.d.cts +13 -0
- package/dist/value-diff.types-BRoI_kGE.d.ts +13 -0
- package/package.json +2 -2
- package/dist/chunk-7LKKRGZG.js.map +0 -1
- package/dist/chunk-ASXCDIN2.js.map +0 -1
- package/dist/chunk-DEPJRTVT.js +0 -3
- package/dist/chunk-EJAKPKHS.cjs.map +0 -1
- package/dist/chunk-FD57PCAC.cjs +0 -4
- package/dist/chunk-JLIZ7QT2.cjs.map +0 -1
- package/dist/chunk-V2SSSD5X.cjs.map +0 -1
- package/dist/chunk-VGTHMWJJ.cjs.map +0 -1
- package/dist/chunk-WCFA4226.js.map +0 -1
- package/dist/chunk-ZXLLJAMQ.js.map +0 -1
package/dist/lib/index.cjs
CHANGED
|
@@ -1,160 +1,165 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUJBE43WI_cjs = require('../chunk-UJBE43WI.cjs');
|
|
4
|
+
require('../chunk-GF3XXYOS.cjs');
|
|
4
5
|
require('../chunk-EGC32GPY.cjs');
|
|
5
6
|
require('../chunk-XNFSFT7T.cjs');
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
7
|
+
var chunkTMWPWGUN_cjs = require('../chunk-TMWPWGUN.cjs');
|
|
8
|
+
require('../chunk-B22UU3JK.cjs');
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
Object.defineProperty(exports, "SchemaTable", {
|
|
12
13
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkUJBE43WI_cjs.SchemaTable; }
|
|
14
15
|
});
|
|
15
16
|
Object.defineProperty(exports, "VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE", {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkUJBE43WI_cjs.VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE; }
|
|
18
19
|
});
|
|
19
20
|
Object.defineProperty(exports, "applyAddPatch", {
|
|
20
21
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkUJBE43WI_cjs.applyAddPatch; }
|
|
22
23
|
});
|
|
23
24
|
Object.defineProperty(exports, "applyMovePatch", {
|
|
24
25
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkUJBE43WI_cjs.applyMovePatch; }
|
|
26
27
|
});
|
|
27
28
|
Object.defineProperty(exports, "applyRemovePatch", {
|
|
28
29
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkUJBE43WI_cjs.applyRemovePatch; }
|
|
30
31
|
});
|
|
31
32
|
Object.defineProperty(exports, "applyReplacePatch", {
|
|
32
33
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkUJBE43WI_cjs.applyReplacePatch; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "computeValueDiff", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkUJBE43WI_cjs.computeValueDiff; }
|
|
34
39
|
});
|
|
35
40
|
Object.defineProperty(exports, "convertJsonPathToSchemaPath", {
|
|
36
41
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkUJBE43WI_cjs.convertJsonPathToSchemaPath; }
|
|
38
43
|
});
|
|
39
44
|
Object.defineProperty(exports, "convertSchemaPathToJsonPath", {
|
|
40
45
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkUJBE43WI_cjs.convertSchemaPathToJsonPath; }
|
|
42
47
|
});
|
|
43
48
|
Object.defineProperty(exports, "createJsonObjectSchemaStore", {
|
|
44
49
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkUJBE43WI_cjs.createJsonObjectSchemaStore; }
|
|
46
51
|
});
|
|
47
52
|
Object.defineProperty(exports, "createJsonSchemaStore", {
|
|
48
53
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkUJBE43WI_cjs.createJsonSchemaStore; }
|
|
50
55
|
});
|
|
51
56
|
Object.defineProperty(exports, "createPrimitiveStoreBySchema", {
|
|
52
57
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkUJBE43WI_cjs.createPrimitiveStoreBySchema; }
|
|
54
59
|
});
|
|
55
60
|
Object.defineProperty(exports, "deepEqual", {
|
|
56
61
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkUJBE43WI_cjs.deepEqual; }
|
|
58
63
|
});
|
|
59
64
|
Object.defineProperty(exports, "getDBJsonPathByJsonSchemaStore", {
|
|
60
65
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkUJBE43WI_cjs.getDBJsonPathByJsonSchemaStore; }
|
|
62
67
|
});
|
|
63
68
|
Object.defineProperty(exports, "getForeignKeyPatchesFromSchema", {
|
|
64
69
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkUJBE43WI_cjs.getForeignKeyPatchesFromSchema; }
|
|
66
71
|
});
|
|
67
72
|
Object.defineProperty(exports, "getForeignKeysFromSchema", {
|
|
68
73
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkUJBE43WI_cjs.getForeignKeysFromSchema; }
|
|
70
75
|
});
|
|
71
76
|
Object.defineProperty(exports, "getForeignKeysFromValue", {
|
|
72
77
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkUJBE43WI_cjs.getForeignKeysFromValue; }
|
|
74
79
|
});
|
|
75
80
|
Object.defineProperty(exports, "getInvalidFieldNamesInSchema", {
|
|
76
81
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkUJBE43WI_cjs.getInvalidFieldNamesInSchema; }
|
|
78
83
|
});
|
|
79
84
|
Object.defineProperty(exports, "getJsonSchemaStoreByPath", {
|
|
80
85
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkUJBE43WI_cjs.getJsonSchemaStoreByPath; }
|
|
82
87
|
});
|
|
83
88
|
Object.defineProperty(exports, "getJsonValueStoreByPath", {
|
|
84
89
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkUJBE43WI_cjs.getJsonValueStoreByPath; }
|
|
86
91
|
});
|
|
87
92
|
Object.defineProperty(exports, "getParentForPath", {
|
|
88
93
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkUJBE43WI_cjs.getParentForPath; }
|
|
90
95
|
});
|
|
91
96
|
Object.defineProperty(exports, "getPathByStore", {
|
|
92
97
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkUJBE43WI_cjs.getPathByStore; }
|
|
94
99
|
});
|
|
95
100
|
Object.defineProperty(exports, "getValueByPath", {
|
|
96
101
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkUJBE43WI_cjs.getValueByPath; }
|
|
98
103
|
});
|
|
99
104
|
Object.defineProperty(exports, "hasPath", {
|
|
100
105
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkUJBE43WI_cjs.hasPath; }
|
|
102
107
|
});
|
|
103
108
|
Object.defineProperty(exports, "parsePath", {
|
|
104
109
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkUJBE43WI_cjs.parsePath; }
|
|
106
111
|
});
|
|
107
112
|
Object.defineProperty(exports, "pluginRefs", {
|
|
108
113
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkUJBE43WI_cjs.pluginRefs; }
|
|
110
115
|
});
|
|
111
116
|
Object.defineProperty(exports, "replaceForeignKeyValue", {
|
|
112
117
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkUJBE43WI_cjs.replaceForeignKeyValue; }
|
|
114
119
|
});
|
|
115
120
|
Object.defineProperty(exports, "resolveRefs", {
|
|
116
121
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkUJBE43WI_cjs.resolveRefs; }
|
|
118
123
|
});
|
|
119
124
|
Object.defineProperty(exports, "saveSharedFields", {
|
|
120
125
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkUJBE43WI_cjs.saveSharedFields; }
|
|
122
127
|
});
|
|
123
128
|
Object.defineProperty(exports, "setValueByPath", {
|
|
124
129
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkUJBE43WI_cjs.setValueByPath; }
|
|
126
131
|
});
|
|
127
132
|
Object.defineProperty(exports, "traverseStore", {
|
|
128
133
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkUJBE43WI_cjs.traverseStore; }
|
|
130
135
|
});
|
|
131
136
|
Object.defineProperty(exports, "traverseValue", {
|
|
132
137
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkUJBE43WI_cjs.traverseValue; }
|
|
134
139
|
});
|
|
135
140
|
Object.defineProperty(exports, "validateJsonFieldName", {
|
|
136
141
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkUJBE43WI_cjs.validateJsonFieldName; }
|
|
138
143
|
});
|
|
139
144
|
Object.defineProperty(exports, "addSharedFieldsFromState", {
|
|
140
145
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkTMWPWGUN_cjs.addSharedFieldsFromState; }
|
|
142
147
|
});
|
|
143
148
|
Object.defineProperty(exports, "createJsonArrayValueStore", {
|
|
144
149
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkTMWPWGUN_cjs.createJsonArrayValueStore; }
|
|
146
151
|
});
|
|
147
152
|
Object.defineProperty(exports, "createJsonObjectValueStore", {
|
|
148
153
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkTMWPWGUN_cjs.createJsonObjectValueStore; }
|
|
150
155
|
});
|
|
151
156
|
Object.defineProperty(exports, "createJsonValueStore", {
|
|
152
157
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkTMWPWGUN_cjs.createJsonValueStore; }
|
|
154
159
|
});
|
|
155
160
|
Object.defineProperty(exports, "createPrimitiveValueStore", {
|
|
156
161
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkTMWPWGUN_cjs.createPrimitiveValueStore; }
|
|
158
163
|
});
|
|
159
164
|
//# sourceMappingURL=index.cjs.map
|
|
160
165
|
//# sourceMappingURL=index.cjs.map
|
package/dist/lib/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { i as JsonSchema, f as JsonObjectSchema, e as JsonSchemaPrimitives, b as JsonStringSchema, c as JsonNumberSchema, d as JsonBooleanSchema, g as JsonArraySchema, h as JsonRefSchema } from '../schema.types-
|
|
2
|
-
import { e as JsonPatchReplace, f as JsonPatchRemove, g as JsonPatchAdd, d as JsonPatchMove, h as JsonPatch } from '../json-patch.types-
|
|
3
|
-
import { h as JsonSchemaStore, c as JsonObjectStore, g as JsonSchemaStorePrimitives, p as JsonValueStore, l as JsonObjectValueStore, f as JsonArrayStore, m as JsonArrayValueStore, n as JsonValueStorePrimitives } from '../json-string.store-
|
|
1
|
+
import { i as JsonSchema, f as JsonObjectSchema, e as JsonSchemaPrimitives, b as JsonStringSchema, c as JsonNumberSchema, d as JsonBooleanSchema, g as JsonArraySchema, h as JsonRefSchema } from '../schema.types-CLHMJmkJ.cjs';
|
|
2
|
+
import { e as JsonPatchReplace, f as JsonPatchRemove, g as JsonPatchAdd, d as JsonPatchMove, h as JsonPatch } from '../json-patch.types-DUcWbQRY.cjs';
|
|
3
|
+
import { h as JsonSchemaStore, c as JsonObjectStore, g as JsonSchemaStorePrimitives, p as JsonValueStore, l as JsonObjectValueStore, f as JsonArrayStore, m as JsonArrayValueStore, n as JsonValueStorePrimitives } from '../json-string.store-CcZ197KO.cjs';
|
|
4
|
+
import { a as FieldChange } from '../value-diff.types-BRoI_kGE.cjs';
|
|
4
5
|
import { c as JsonValue, J as JsonObject, b as JsonArray, a as JsonPrimitives } from '../json.types-46Cq-WxU.cjs';
|
|
5
6
|
import 'node:events';
|
|
6
7
|
|
|
@@ -15,6 +16,8 @@ declare const applyRemovePatch: (rootStore: JsonSchemaStore, patch: JsonPatchRem
|
|
|
15
16
|
declare const applyAddPatch: (rootStore: JsonSchemaStore, patch: JsonPatchAdd, refs?: Record<string, JsonSchema>) => void;
|
|
16
17
|
declare const applyMovePatch: (store: JsonSchemaStore, patch: JsonPatchMove) => void;
|
|
17
18
|
|
|
19
|
+
declare function computeValueDiff(fromValue: unknown | null, toValue: unknown | null): FieldChange[];
|
|
20
|
+
|
|
18
21
|
type RefsType = Record<string, JsonSchema>;
|
|
19
22
|
declare const createJsonSchemaStore: (schema: JsonSchema, refs?: RefsType) => JsonSchemaStore;
|
|
20
23
|
declare const createJsonObjectSchemaStore: (value: JsonObjectSchema, refs: RefsType) => JsonObjectStore;
|
|
@@ -96,4 +99,4 @@ declare const traverseValue: (store: JsonValueStore, callback: (node: JsonValueS
|
|
|
96
99
|
declare const VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE = "It must contain between 1 and 64 characters, start with a letter or underscore (_), cannot start with two underscores (__), and can only include letters (a-z, A-Z), numbers (0-9), hyphens (-), and underscores (_).";
|
|
97
100
|
declare const validateJsonFieldName: (id: string) => boolean;
|
|
98
101
|
|
|
99
|
-
export { type GetForeignKeysFromValueType, type RefsType, type 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 };
|
|
102
|
+
export { type GetForeignKeysFromValueType, type RefsType, type ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, computeValueDiff, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonArrayValueStore, createJsonObjectSchemaStore, createJsonObjectValueStore, createJsonSchemaStore, createJsonValueStore, createPrimitiveStoreBySchema, createPrimitiveValueStore, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName };
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { i as JsonSchema, f as JsonObjectSchema, e as JsonSchemaPrimitives, b as JsonStringSchema, c as JsonNumberSchema, d as JsonBooleanSchema, g as JsonArraySchema, h as JsonRefSchema } from '../schema.types-
|
|
2
|
-
import { e as JsonPatchReplace, f as JsonPatchRemove, g as JsonPatchAdd, d as JsonPatchMove, h as JsonPatch } from '../json-patch.types-
|
|
3
|
-
import { h as JsonSchemaStore, c as JsonObjectStore, g as JsonSchemaStorePrimitives, p as JsonValueStore, l as JsonObjectValueStore, f as JsonArrayStore, m as JsonArrayValueStore, n as JsonValueStorePrimitives } from '../json-string.store-
|
|
1
|
+
import { i as JsonSchema, f as JsonObjectSchema, e as JsonSchemaPrimitives, b as JsonStringSchema, c as JsonNumberSchema, d as JsonBooleanSchema, g as JsonArraySchema, h as JsonRefSchema } from '../schema.types-CLHMJmkJ.js';
|
|
2
|
+
import { e as JsonPatchReplace, f as JsonPatchRemove, g as JsonPatchAdd, d as JsonPatchMove, h as JsonPatch } from '../json-patch.types-CYt9TCu3.js';
|
|
3
|
+
import { h as JsonSchemaStore, c as JsonObjectStore, g as JsonSchemaStorePrimitives, p as JsonValueStore, l as JsonObjectValueStore, f as JsonArrayStore, m as JsonArrayValueStore, n as JsonValueStorePrimitives } from '../json-string.store-DckDcMVN.js';
|
|
4
|
+
import { a as FieldChange } from '../value-diff.types-BRoI_kGE.js';
|
|
4
5
|
import { c as JsonValue, J as JsonObject, b as JsonArray, a as JsonPrimitives } from '../json.types-46Cq-WxU.js';
|
|
5
6
|
import 'node:events';
|
|
6
7
|
|
|
@@ -15,6 +16,8 @@ declare const applyRemovePatch: (rootStore: JsonSchemaStore, patch: JsonPatchRem
|
|
|
15
16
|
declare const applyAddPatch: (rootStore: JsonSchemaStore, patch: JsonPatchAdd, refs?: Record<string, JsonSchema>) => void;
|
|
16
17
|
declare const applyMovePatch: (store: JsonSchemaStore, patch: JsonPatchMove) => void;
|
|
17
18
|
|
|
19
|
+
declare function computeValueDiff(fromValue: unknown | null, toValue: unknown | null): FieldChange[];
|
|
20
|
+
|
|
18
21
|
type RefsType = Record<string, JsonSchema>;
|
|
19
22
|
declare const createJsonSchemaStore: (schema: JsonSchema, refs?: RefsType) => JsonSchemaStore;
|
|
20
23
|
declare const createJsonObjectSchemaStore: (value: JsonObjectSchema, refs: RefsType) => JsonObjectStore;
|
|
@@ -96,4 +99,4 @@ declare const traverseValue: (store: JsonValueStore, callback: (node: JsonValueS
|
|
|
96
99
|
declare const VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE = "It must contain between 1 and 64 characters, start with a letter or underscore (_), cannot start with two underscores (__), and can only include letters (a-z, A-Z), numbers (0-9), hyphens (-), and underscores (_).";
|
|
97
100
|
declare const validateJsonFieldName: (id: string) => boolean;
|
|
98
101
|
|
|
99
|
-
export { type GetForeignKeysFromValueType, type RefsType, type 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 };
|
|
102
|
+
export { type GetForeignKeysFromValueType, type RefsType, type ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, computeValueDiff, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonArrayValueStore, createJsonObjectSchemaStore, createJsonObjectValueStore, createJsonSchemaStore, createJsonValueStore, createPrimitiveStoreBySchema, createPrimitiveValueStore, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName };
|
package/dist/lib/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
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-
|
|
1
|
+
export { SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, computeValueDiff, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonObjectSchemaStore, createJsonSchemaStore, createPrimitiveStoreBySchema, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from '../chunk-4BIANIHT.js';
|
|
2
|
+
import '../chunk-KJCURW4D.js';
|
|
2
3
|
import '../chunk-LLHQWDAR.js';
|
|
3
4
|
import '../chunk-Q2UOTIMG.js';
|
|
4
|
-
export { addSharedFieldsFromState, createJsonArrayValueStore, createJsonObjectValueStore, createJsonValueStore, createPrimitiveValueStore } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
5
|
+
export { addSharedFieldsFromState, createJsonArrayValueStore, createJsonObjectValueStore, createJsonValueStore, createPrimitiveValueStore } from '../chunk-HY4VE7H2.js';
|
|
6
|
+
import '../chunk-L5MLJEC7.js';
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
|
7
8
|
//# sourceMappingURL=index.js.map
|
package/dist/mocks/index.cjs
CHANGED
package/dist/mocks/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as JsonSchema, b as JsonStringSchema, c as JsonNumberSchema, d as JsonBooleanSchema, f as JsonObjectSchema, g as JsonArraySchema, h as JsonRefSchema } from '../schema.types-
|
|
2
|
-
import { e as JsonPatchReplace, f as JsonPatchRemove, g as JsonPatchAdd, d as JsonPatchMove } from '../json-patch.types-
|
|
1
|
+
import { i as JsonSchema, b as JsonStringSchema, c as JsonNumberSchema, d as JsonBooleanSchema, f as JsonObjectSchema, g as JsonArraySchema, h as JsonRefSchema } from '../schema.types-CLHMJmkJ.cjs';
|
|
2
|
+
import { e as JsonPatchReplace, f as JsonPatchRemove, g as JsonPatchAdd, d as JsonPatchMove } from '../json-patch.types-DUcWbQRY.cjs';
|
|
3
3
|
|
|
4
4
|
declare const getReplacePatch: ({ path, value, }: {
|
|
5
5
|
path: string;
|
package/dist/mocks/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as JsonSchema, b as JsonStringSchema, c as JsonNumberSchema, d as JsonBooleanSchema, f as JsonObjectSchema, g as JsonArraySchema, h as JsonRefSchema } from '../schema.types-
|
|
2
|
-
import { e as JsonPatchReplace, f as JsonPatchRemove, g as JsonPatchAdd, d as JsonPatchMove } from '../json-patch.types-
|
|
1
|
+
import { i as JsonSchema, b as JsonStringSchema, c as JsonNumberSchema, d as JsonBooleanSchema, f as JsonObjectSchema, g as JsonArraySchema, h as JsonRefSchema } from '../schema.types-CLHMJmkJ.js';
|
|
2
|
+
import { e as JsonPatchReplace, f as JsonPatchRemove, g as JsonPatchAdd, d as JsonPatchMove } from '../json-patch.types-CYt9TCu3.js';
|
|
3
3
|
|
|
4
4
|
declare const getReplacePatch: ({ path, value, }: {
|
|
5
5
|
path: string;
|
package/dist/mocks/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema } from '../chunk-AORPUIKD.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-L5MLJEC7.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/model/index.cjs
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-ODCH3PP2.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkTMWPWGUN_cjs = require('../chunk-TMWPWGUN.cjs');
|
|
5
|
+
require('../chunk-B22UU3JK.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "JsonArrayStore", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonArrayStore; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "JsonArrayValueStore", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonArrayValueStore; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "JsonBooleanStore", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonBooleanStore; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "JsonBooleanValueStore", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonBooleanValueStore; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "JsonNumberStore", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonNumberStore; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "JsonNumberValueStore", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonNumberValueStore; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "JsonObjectStore", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonObjectStore; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "JsonObjectValueStore", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonObjectValueStore; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "JsonStringStore", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonStringStore; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "JsonStringValueStore", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkTMWPWGUN_cjs.JsonStringValueStore; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "equal", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkTMWPWGUN_cjs.equal; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "fromArrayToObject", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkTMWPWGUN_cjs.fromArrayToObject; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "fromArrayTransformation", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkTMWPWGUN_cjs.fromArrayTransformation; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "fromBooleanToNumber", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkTMWPWGUN_cjs.fromBooleanToNumber; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "fromBooleanToString", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkTMWPWGUN_cjs.fromBooleanToString; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "fromNumberToBoolean", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkTMWPWGUN_cjs.fromNumberToBoolean; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "fromNumberToString", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkTMWPWGUN_cjs.fromNumberToString; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "fromObjectToArray", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkTMWPWGUN_cjs.fromObjectToArray; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "fromObjectToPrimitive", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkTMWPWGUN_cjs.fromObjectToPrimitive; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "fromPrimitiveToObject", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkTMWPWGUN_cjs.fromPrimitiveToObject; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "fromStringToBoolean", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkTMWPWGUN_cjs.fromStringToBoolean; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "fromStringToNumber", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkTMWPWGUN_cjs.fromStringToNumber; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "getTransformation", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkTMWPWGUN_cjs.getTransformation; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "toArrayTransformation", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkTMWPWGUN_cjs.toArrayTransformation; }
|
|
104
104
|
});
|
|
105
105
|
//# sourceMappingURL=index.cjs.map
|
|
106
106
|
//# sourceMappingURL=index.cjs.map
|
package/dist/model/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as JsonSchemaStore } from '../json-string.store-
|
|
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-
|
|
1
|
+
import { h as JsonSchemaStore } from '../json-string.store-CcZ197KO.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-CcZ197KO.cjs';
|
|
3
3
|
import 'node:events';
|
|
4
|
-
import '../schema.types-
|
|
4
|
+
import '../schema.types-CLHMJmkJ.cjs';
|
|
5
5
|
import '../json.types-46Cq-WxU.cjs';
|
|
6
6
|
|
|
7
7
|
declare const equal: (value: unknown) => unknown;
|
package/dist/model/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as JsonSchemaStore } from '../json-string.store-
|
|
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-
|
|
1
|
+
import { h as JsonSchemaStore } from '../json-string.store-DckDcMVN.js';
|
|
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-DckDcMVN.js';
|
|
3
3
|
import 'node:events';
|
|
4
|
-
import '../schema.types-
|
|
4
|
+
import '../schema.types-CLHMJmkJ.js';
|
|
5
5
|
import '../json.types-46Cq-WxU.js';
|
|
6
6
|
|
|
7
7
|
declare const equal: (value: unknown) => unknown;
|
package/dist/model/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-H7W4QNMA.js';
|
|
2
|
-
export { JsonArrayStore, JsonArrayValueStore, JsonBooleanStore, JsonBooleanValueStore, JsonNumberStore, JsonNumberValueStore, JsonObjectStore, JsonObjectValueStore, JsonStringStore, JsonStringValueStore, equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, getTransformation, toArrayTransformation } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { JsonArrayStore, JsonArrayValueStore, JsonBooleanStore, JsonBooleanValueStore, JsonNumberStore, JsonNumberValueStore, JsonObjectStore, JsonObjectValueStore, JsonStringStore, JsonStringValueStore, equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, getTransformation, toArrayTransformation } from '../chunk-HY4VE7H2.js';
|
|
3
|
+
import '../chunk-L5MLJEC7.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/plugins/index.cjs
CHANGED
package/dist/plugins/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as JsonStringSchema, J as JsonSchemaTypeName, f as JsonObjectSchema, i as JsonSchema } from '../schema.types-
|
|
1
|
+
import { b as JsonStringSchema, J as JsonSchemaTypeName, X as XFormula, f as JsonObjectSchema, i as JsonSchema } from '../schema.types-CLHMJmkJ.cjs';
|
|
2
2
|
import { S as SystemSchemaIds } from '../system-schema-ids-B-2xMN-1.cjs';
|
|
3
3
|
|
|
4
4
|
declare const rowIdSchema: JsonStringSchema;
|
|
@@ -14,6 +14,7 @@ declare const ajvRowIdSchema: {
|
|
|
14
14
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
15
15
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
16
16
|
enum?: string[];
|
|
17
|
+
'x-formula'?: XFormula;
|
|
17
18
|
$id: SystemSchemaIds;
|
|
18
19
|
};
|
|
19
20
|
|
|
@@ -30,6 +31,7 @@ declare const ajvRowVersionIdSchema: {
|
|
|
30
31
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
31
32
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
32
33
|
enum?: string[];
|
|
34
|
+
'x-formula'?: XFormula;
|
|
33
35
|
$id: SystemSchemaIds;
|
|
34
36
|
};
|
|
35
37
|
|
|
@@ -46,6 +48,7 @@ declare const ajvRowCreatedIdSchema: {
|
|
|
46
48
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
47
49
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
48
50
|
enum?: string[];
|
|
51
|
+
'x-formula'?: XFormula;
|
|
49
52
|
$id: SystemSchemaIds;
|
|
50
53
|
};
|
|
51
54
|
|
|
@@ -62,6 +65,7 @@ declare const ajvRowCreatedAtSchema: {
|
|
|
62
65
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
63
66
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
64
67
|
enum?: string[];
|
|
68
|
+
'x-formula'?: XFormula;
|
|
65
69
|
$id: SystemSchemaIds;
|
|
66
70
|
};
|
|
67
71
|
|
|
@@ -78,6 +82,7 @@ declare const ajvRowPublishedAtSchema: {
|
|
|
78
82
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
79
83
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
80
84
|
enum?: string[];
|
|
85
|
+
'x-formula'?: XFormula;
|
|
81
86
|
$id: SystemSchemaIds;
|
|
82
87
|
};
|
|
83
88
|
|
|
@@ -94,6 +99,7 @@ declare const ajvRowUpdatedAtSchema: {
|
|
|
94
99
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
95
100
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
96
101
|
enum?: string[];
|
|
102
|
+
'x-formula'?: XFormula;
|
|
97
103
|
$id: SystemSchemaIds;
|
|
98
104
|
};
|
|
99
105
|
|
|
@@ -110,6 +116,7 @@ declare const ajvRowHashSchema: {
|
|
|
110
116
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
111
117
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
112
118
|
enum?: string[];
|
|
119
|
+
'x-formula'?: XFormula;
|
|
113
120
|
$id: SystemSchemaIds;
|
|
114
121
|
};
|
|
115
122
|
|
|
@@ -126,6 +133,7 @@ declare const ajvRowSchemaHashSchema: {
|
|
|
126
133
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
127
134
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
128
135
|
enum?: string[];
|
|
136
|
+
'x-formula'?: XFormula;
|
|
129
137
|
$id: SystemSchemaIds;
|
|
130
138
|
};
|
|
131
139
|
|
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as JsonStringSchema, J as JsonSchemaTypeName, f as JsonObjectSchema, i as JsonSchema } from '../schema.types-
|
|
1
|
+
import { b as JsonStringSchema, J as JsonSchemaTypeName, X as XFormula, f as JsonObjectSchema, i as JsonSchema } from '../schema.types-CLHMJmkJ.js';
|
|
2
2
|
import { S as SystemSchemaIds } from '../system-schema-ids-B-2xMN-1.js';
|
|
3
3
|
|
|
4
4
|
declare const rowIdSchema: JsonStringSchema;
|
|
@@ -14,6 +14,7 @@ declare const ajvRowIdSchema: {
|
|
|
14
14
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
15
15
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
16
16
|
enum?: string[];
|
|
17
|
+
'x-formula'?: XFormula;
|
|
17
18
|
$id: SystemSchemaIds;
|
|
18
19
|
};
|
|
19
20
|
|
|
@@ -30,6 +31,7 @@ declare const ajvRowVersionIdSchema: {
|
|
|
30
31
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
31
32
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
32
33
|
enum?: string[];
|
|
34
|
+
'x-formula'?: XFormula;
|
|
33
35
|
$id: SystemSchemaIds;
|
|
34
36
|
};
|
|
35
37
|
|
|
@@ -46,6 +48,7 @@ declare const ajvRowCreatedIdSchema: {
|
|
|
46
48
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
47
49
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
48
50
|
enum?: string[];
|
|
51
|
+
'x-formula'?: XFormula;
|
|
49
52
|
$id: SystemSchemaIds;
|
|
50
53
|
};
|
|
51
54
|
|
|
@@ -62,6 +65,7 @@ declare const ajvRowCreatedAtSchema: {
|
|
|
62
65
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
63
66
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
64
67
|
enum?: string[];
|
|
68
|
+
'x-formula'?: XFormula;
|
|
65
69
|
$id: SystemSchemaIds;
|
|
66
70
|
};
|
|
67
71
|
|
|
@@ -78,6 +82,7 @@ declare const ajvRowPublishedAtSchema: {
|
|
|
78
82
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
79
83
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
80
84
|
enum?: string[];
|
|
85
|
+
'x-formula'?: XFormula;
|
|
81
86
|
$id: SystemSchemaIds;
|
|
82
87
|
};
|
|
83
88
|
|
|
@@ -94,6 +99,7 @@ declare const ajvRowUpdatedAtSchema: {
|
|
|
94
99
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
95
100
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
96
101
|
enum?: string[];
|
|
102
|
+
'x-formula'?: XFormula;
|
|
97
103
|
$id: SystemSchemaIds;
|
|
98
104
|
};
|
|
99
105
|
|
|
@@ -110,6 +116,7 @@ declare const ajvRowHashSchema: {
|
|
|
110
116
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
111
117
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
112
118
|
enum?: string[];
|
|
119
|
+
'x-formula'?: XFormula;
|
|
113
120
|
$id: SystemSchemaIds;
|
|
114
121
|
};
|
|
115
122
|
|
|
@@ -126,6 +133,7 @@ declare const ajvRowSchemaHashSchema: {
|
|
|
126
133
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
127
134
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
128
135
|
enum?: string[];
|
|
136
|
+
'x-formula'?: XFormula;
|
|
129
137
|
$id: SystemSchemaIds;
|
|
130
138
|
};
|
|
131
139
|
|