@revisium/schema-toolkit 0.4.0 → 0.5.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/dist/{chunk-APNEVIBC.js → chunk-7LKKRGZG.js} +35 -4
- package/dist/chunk-7LKKRGZG.js.map +1 -0
- package/dist/{chunk-47AQWLHU.cjs → chunk-EGC32GPY.cjs} +47 -2
- package/dist/chunk-EGC32GPY.cjs.map +1 -0
- package/dist/{chunk-HS345SIP.cjs → chunk-EJAKPKHS.cjs} +44 -12
- package/dist/chunk-EJAKPKHS.cjs.map +1 -0
- package/dist/{chunk-22K22MMD.js → chunk-LLHQWDAR.js} +39 -3
- package/dist/chunk-LLHQWDAR.js.map +1 -0
- package/dist/consts/index.d.cts +2 -12
- package/dist/consts/index.d.ts +2 -12
- package/dist/index.cjs +82 -42
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +2 -2
- package/dist/lib/index.cjs +37 -33
- package/dist/lib/index.d.cts +2 -1
- package/dist/lib/index.d.ts +2 -1
- package/dist/lib/index.js +2 -2
- package/dist/plugins/index.cjs +47 -10
- package/dist/plugins/index.d.cts +125 -2
- package/dist/plugins/index.d.ts +125 -2
- package/dist/plugins/index.js +2 -1
- package/dist/system-schema-ids-B-2xMN-1.d.cts +13 -0
- package/dist/system-schema-ids-B-2xMN-1.d.ts +13 -0
- package/package.json +1 -1
- package/dist/chunk-22K22MMD.js.map +0 -1
- package/dist/chunk-47AQWLHU.cjs.map +0 -1
- package/dist/chunk-APNEVIBC.js.map +0 -1
- package/dist/chunk-HS345SIP.cjs.map +0 -1
|
@@ -4,6 +4,10 @@ var rowIdSchema = {
|
|
|
4
4
|
default: "",
|
|
5
5
|
readOnly: true
|
|
6
6
|
};
|
|
7
|
+
var ajvRowIdSchema = {
|
|
8
|
+
$id: "urn:jsonschema:io:revisium:row-id-schema:1.0.0" /* RowId */,
|
|
9
|
+
...rowIdSchema
|
|
10
|
+
};
|
|
7
11
|
|
|
8
12
|
// src/plugins/row-version-id.schema.ts
|
|
9
13
|
var rowVersionIdSchema = {
|
|
@@ -11,6 +15,10 @@ var rowVersionIdSchema = {
|
|
|
11
15
|
default: "",
|
|
12
16
|
readOnly: true
|
|
13
17
|
};
|
|
18
|
+
var ajvRowVersionIdSchema = {
|
|
19
|
+
$id: "urn:jsonschema:io:revisium:row-version-id-schema:1.0.0" /* RowVersionId */,
|
|
20
|
+
...rowVersionIdSchema
|
|
21
|
+
};
|
|
14
22
|
|
|
15
23
|
// src/plugins/row-created-id.schema.ts
|
|
16
24
|
var rowCreatedIdSchema = {
|
|
@@ -18,6 +26,10 @@ var rowCreatedIdSchema = {
|
|
|
18
26
|
default: "",
|
|
19
27
|
readOnly: true
|
|
20
28
|
};
|
|
29
|
+
var ajvRowCreatedIdSchema = {
|
|
30
|
+
$id: "urn:jsonschema:io:revisium:row-created-id-schema:1.0.0" /* RowCreatedId */,
|
|
31
|
+
...rowCreatedIdSchema
|
|
32
|
+
};
|
|
21
33
|
|
|
22
34
|
// src/plugins/row-created-at.schema.ts
|
|
23
35
|
var rowCreatedAtSchema = {
|
|
@@ -25,12 +37,20 @@ var rowCreatedAtSchema = {
|
|
|
25
37
|
default: "",
|
|
26
38
|
readOnly: true
|
|
27
39
|
};
|
|
40
|
+
var ajvRowCreatedAtSchema = {
|
|
41
|
+
$id: "urn:jsonschema:io:revisium:row-created-at-schema:1.0.0" /* RowCreatedAt */,
|
|
42
|
+
...rowCreatedAtSchema
|
|
43
|
+
};
|
|
28
44
|
|
|
29
45
|
// src/plugins/row-published-at.schema.ts
|
|
30
46
|
var rowPublishedAtSchema = {
|
|
31
47
|
type: "string" /* String */,
|
|
32
48
|
default: ""
|
|
33
49
|
};
|
|
50
|
+
var ajvRowPublishedAtSchema = {
|
|
51
|
+
$id: "urn:jsonschema:io:revisium:row-published-at-schema:1.0.0" /* RowPublishedAt */,
|
|
52
|
+
...rowPublishedAtSchema
|
|
53
|
+
};
|
|
34
54
|
|
|
35
55
|
// src/plugins/row-updated-at.schema.ts
|
|
36
56
|
var rowUpdatedAtSchema = {
|
|
@@ -38,6 +58,10 @@ var rowUpdatedAtSchema = {
|
|
|
38
58
|
default: "",
|
|
39
59
|
readOnly: true
|
|
40
60
|
};
|
|
61
|
+
var ajvRowUpdatedAtSchema = {
|
|
62
|
+
$id: "urn:jsonschema:io:revisium:row-updated-at-schema:1.0.0" /* RowUpdatedAt */,
|
|
63
|
+
...rowUpdatedAtSchema
|
|
64
|
+
};
|
|
41
65
|
|
|
42
66
|
// src/plugins/row-hash.schema.ts
|
|
43
67
|
var rowHashSchema = {
|
|
@@ -45,6 +69,10 @@ var rowHashSchema = {
|
|
|
45
69
|
default: "",
|
|
46
70
|
readOnly: true
|
|
47
71
|
};
|
|
72
|
+
var ajvRowHashSchema = {
|
|
73
|
+
$id: "urn:jsonschema:io:revisium:row-hash-schema:1.0.0" /* RowHash */,
|
|
74
|
+
...rowHashSchema
|
|
75
|
+
};
|
|
48
76
|
|
|
49
77
|
// src/plugins/row-schema-hash.schema.ts
|
|
50
78
|
var rowSchemaHashSchema = {
|
|
@@ -52,6 +80,10 @@ var rowSchemaHashSchema = {
|
|
|
52
80
|
default: "",
|
|
53
81
|
readOnly: true
|
|
54
82
|
};
|
|
83
|
+
var ajvRowSchemaHashSchema = {
|
|
84
|
+
$id: "urn:jsonschema:io:revisium:row-schema-hash-schema:1.0.0" /* RowSchemaHash */,
|
|
85
|
+
...rowSchemaHashSchema
|
|
86
|
+
};
|
|
55
87
|
|
|
56
88
|
// src/plugins/file-schema.ts
|
|
57
89
|
var fileSchema = {
|
|
@@ -106,7 +138,11 @@ var fileSchema = {
|
|
|
106
138
|
],
|
|
107
139
|
additionalProperties: false
|
|
108
140
|
};
|
|
141
|
+
var ajvFileSchema = {
|
|
142
|
+
$id: "urn:jsonschema:io:revisium:file-schema:1.0.0" /* File */,
|
|
143
|
+
...fileSchema
|
|
144
|
+
};
|
|
109
145
|
|
|
110
|
-
export { fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema };
|
|
111
|
-
//# sourceMappingURL=chunk-
|
|
112
|
-
//# sourceMappingURL=chunk-
|
|
146
|
+
export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema };
|
|
147
|
+
//# sourceMappingURL=chunk-LLHQWDAR.js.map
|
|
148
|
+
//# sourceMappingURL=chunk-LLHQWDAR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/plugins/row-id.schema.ts","../src/plugins/row-version-id.schema.ts","../src/plugins/row-created-id.schema.ts","../src/plugins/row-created-at.schema.ts","../src/plugins/row-published-at.schema.ts","../src/plugins/row-updated-at.schema.ts","../src/plugins/row-hash.schema.ts","../src/plugins/row-schema-hash.schema.ts","../src/plugins/file-schema.ts"],"names":[],"mappings":"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","file":"chunk-LLHQWDAR.js","sourcesContent":["import { JsonStringSchema, JsonSchemaTypeName } from '../types/schema.types.js';\nimport { SystemSchemaIds } from '../consts/system-schema-ids.js';\n\nexport const rowIdSchema: JsonStringSchema = {\n type: JsonSchemaTypeName.String,\n default: '',\n readOnly: true,\n};\n\nexport const ajvRowIdSchema = {\n $id: SystemSchemaIds.RowId,\n ...rowIdSchema,\n};\n","import { JsonStringSchema, JsonSchemaTypeName } from '../types/schema.types.js';\nimport { SystemSchemaIds } from '../consts/system-schema-ids.js';\n\nexport const rowVersionIdSchema: JsonStringSchema = {\n type: JsonSchemaTypeName.String,\n default: '',\n readOnly: true,\n};\n\nexport const ajvRowVersionIdSchema = {\n $id: SystemSchemaIds.RowVersionId,\n ...rowVersionIdSchema,\n};\n","import { JsonStringSchema, JsonSchemaTypeName } from '../types/schema.types.js';\nimport { SystemSchemaIds } from '../consts/system-schema-ids.js';\n\nexport const rowCreatedIdSchema: JsonStringSchema = {\n type: JsonSchemaTypeName.String,\n default: '',\n readOnly: true,\n};\n\nexport const ajvRowCreatedIdSchema = {\n $id: SystemSchemaIds.RowCreatedId,\n ...rowCreatedIdSchema,\n};\n","import { JsonStringSchema, JsonSchemaTypeName } from '../types/schema.types.js';\nimport { SystemSchemaIds } from '../consts/system-schema-ids.js';\n\nexport const rowCreatedAtSchema: JsonStringSchema = {\n type: JsonSchemaTypeName.String,\n default: '',\n readOnly: true,\n};\n\nexport const ajvRowCreatedAtSchema = {\n $id: SystemSchemaIds.RowCreatedAt,\n ...rowCreatedAtSchema,\n};\n","import { JsonStringSchema, JsonSchemaTypeName } from '../types/schema.types.js';\nimport { SystemSchemaIds } from '../consts/system-schema-ids.js';\n\nexport const rowPublishedAtSchema: JsonStringSchema = {\n type: JsonSchemaTypeName.String,\n default: '',\n};\n\nexport const ajvRowPublishedAtSchema = {\n $id: SystemSchemaIds.RowPublishedAt,\n ...rowPublishedAtSchema,\n};\n","import { JsonStringSchema, JsonSchemaTypeName } from '../types/schema.types.js';\nimport { SystemSchemaIds } from '../consts/system-schema-ids.js';\n\nexport const rowUpdatedAtSchema: JsonStringSchema = {\n type: JsonSchemaTypeName.String,\n default: '',\n readOnly: true,\n};\n\nexport const ajvRowUpdatedAtSchema = {\n $id: SystemSchemaIds.RowUpdatedAt,\n ...rowUpdatedAtSchema,\n};\n","import { JsonStringSchema, JsonSchemaTypeName } from '../types/schema.types.js';\nimport { SystemSchemaIds } from '../consts/system-schema-ids.js';\n\nexport const rowHashSchema: JsonStringSchema = {\n type: JsonSchemaTypeName.String,\n default: '',\n readOnly: true,\n};\n\nexport const ajvRowHashSchema = {\n $id: SystemSchemaIds.RowHash,\n ...rowHashSchema,\n};\n","import { JsonStringSchema, JsonSchemaTypeName } from '../types/schema.types.js';\nimport { SystemSchemaIds } from '../consts/system-schema-ids.js';\n\nexport const rowSchemaHashSchema: JsonStringSchema = {\n type: JsonSchemaTypeName.String,\n default: '',\n readOnly: true,\n};\n\nexport const ajvRowSchemaHashSchema = {\n $id: SystemSchemaIds.RowSchemaHash,\n ...rowSchemaHashSchema,\n};\n","import { JsonObjectSchema, JsonSchemaTypeName } from '../types/schema.types.js';\nimport { SystemSchemaIds } from '../consts/system-schema-ids.js';\n\nexport const fileSchema: JsonObjectSchema = {\n type: JsonSchemaTypeName.Object,\n properties: {\n status: { type: JsonSchemaTypeName.String, default: '', readOnly: true },\n fileId: { type: JsonSchemaTypeName.String, default: '', readOnly: true },\n url: { type: JsonSchemaTypeName.String, default: '', readOnly: true },\n fileName: { type: JsonSchemaTypeName.String, default: '' },\n hash: {\n type: JsonSchemaTypeName.String,\n default: '',\n readOnly: true,\n },\n extension: {\n type: JsonSchemaTypeName.String,\n default: '',\n readOnly: true,\n },\n mimeType: {\n type: JsonSchemaTypeName.String,\n default: '',\n readOnly: true,\n },\n size: {\n type: JsonSchemaTypeName.Number,\n default: 0,\n readOnly: true,\n },\n width: {\n type: JsonSchemaTypeName.Number,\n default: 0,\n readOnly: true,\n },\n height: {\n type: JsonSchemaTypeName.Number,\n default: 0,\n readOnly: true,\n },\n },\n required: [\n 'status',\n 'fileId',\n 'url',\n 'fileName',\n 'hash',\n 'extension',\n 'mimeType',\n 'size',\n 'width',\n 'height',\n ],\n additionalProperties: false,\n};\n\nexport const ajvFileSchema = {\n $id: SystemSchemaIds.File,\n ...fileSchema,\n};\n"]}
|
package/dist/consts/index.d.cts
CHANGED
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
RowId = "urn:jsonschema:io:revisium:row-id-schema:1.0.0",
|
|
3
|
-
RowCreatedId = "urn:jsonschema:io:revisium:row-created-id-schema:1.0.0",
|
|
4
|
-
RowVersionId = "urn:jsonschema:io:revisium:row-version-id-schema:1.0.0",
|
|
5
|
-
RowCreatedAt = "urn:jsonschema:io:revisium:row-created-at-schema:1.0.0",
|
|
6
|
-
RowPublishedAt = "urn:jsonschema:io:revisium:row-published-at-schema:1.0.0",
|
|
7
|
-
RowUpdatedAt = "urn:jsonschema:io:revisium:row-updated-at-schema:1.0.0",
|
|
8
|
-
RowHash = "urn:jsonschema:io:revisium:row-hash-schema:1.0.0",
|
|
9
|
-
RowSchemaHash = "urn:jsonschema:io:revisium:row-schema-hash-schema:1.0.0",
|
|
10
|
-
File = "urn:jsonschema:io:revisium:file-schema:1.0.0"
|
|
11
|
-
}
|
|
1
|
+
export { S as SystemSchemaIds } from '../system-schema-ids-B-2xMN-1.cjs';
|
|
12
2
|
|
|
13
3
|
declare enum CustomSchemeKeywords {
|
|
14
4
|
ForeignKey = "foreignKey"
|
|
15
5
|
}
|
|
16
6
|
|
|
17
|
-
export { CustomSchemeKeywords
|
|
7
|
+
export { CustomSchemeKeywords };
|
package/dist/consts/index.d.ts
CHANGED
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
RowId = "urn:jsonschema:io:revisium:row-id-schema:1.0.0",
|
|
3
|
-
RowCreatedId = "urn:jsonschema:io:revisium:row-created-id-schema:1.0.0",
|
|
4
|
-
RowVersionId = "urn:jsonschema:io:revisium:row-version-id-schema:1.0.0",
|
|
5
|
-
RowCreatedAt = "urn:jsonschema:io:revisium:row-created-at-schema:1.0.0",
|
|
6
|
-
RowPublishedAt = "urn:jsonschema:io:revisium:row-published-at-schema:1.0.0",
|
|
7
|
-
RowUpdatedAt = "urn:jsonschema:io:revisium:row-updated-at-schema:1.0.0",
|
|
8
|
-
RowHash = "urn:jsonschema:io:revisium:row-hash-schema:1.0.0",
|
|
9
|
-
RowSchemaHash = "urn:jsonschema:io:revisium:row-schema-hash-schema:1.0.0",
|
|
10
|
-
File = "urn:jsonschema:io:revisium:file-schema:1.0.0"
|
|
11
|
-
}
|
|
1
|
+
export { S as SystemSchemaIds } from '../system-schema-ids-B-2xMN-1.js';
|
|
12
2
|
|
|
13
3
|
declare enum CustomSchemeKeywords {
|
|
14
4
|
ForeignKey = "foreignKey"
|
|
15
5
|
}
|
|
16
6
|
|
|
17
|
-
export { CustomSchemeKeywords
|
|
7
|
+
export { CustomSchemeKeywords };
|
package/dist/index.cjs
CHANGED
|
@@ -4,8 +4,8 @@ require('./chunk-FD57PCAC.cjs');
|
|
|
4
4
|
var chunkEJYILFAK_cjs = require('./chunk-EJYILFAK.cjs');
|
|
5
5
|
var chunkIPL2CGVA_cjs = require('./chunk-IPL2CGVA.cjs');
|
|
6
6
|
require('./chunk-ODCH3PP2.cjs');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var chunkEJAKPKHS_cjs = require('./chunk-EJAKPKHS.cjs');
|
|
8
|
+
var chunkEGC32GPY_cjs = require('./chunk-EGC32GPY.cjs');
|
|
9
9
|
var chunkXNFSFT7T_cjs = require('./chunk-XNFSFT7T.cjs');
|
|
10
10
|
var chunkJLIZ7QT2_cjs = require('./chunk-JLIZ7QT2.cjs');
|
|
11
11
|
var chunkV2SSSD5X_cjs = require('./chunk-V2SSSD5X.cjs');
|
|
@@ -59,163 +59,203 @@ Object.defineProperty(exports, "CustomSchemeKeywords", {
|
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "SchemaTable", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkEJAKPKHS_cjs.SchemaTable; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkEJAKPKHS_cjs.VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "applyAddPatch", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkEJAKPKHS_cjs.applyAddPatch; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "applyMovePatch", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkEJAKPKHS_cjs.applyMovePatch; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "applyRemovePatch", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkEJAKPKHS_cjs.applyRemovePatch; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "applyReplacePatch", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkEJAKPKHS_cjs.applyReplacePatch; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "convertJsonPathToSchemaPath", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkEJAKPKHS_cjs.convertJsonPathToSchemaPath; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "convertSchemaPathToJsonPath", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkEJAKPKHS_cjs.convertSchemaPathToJsonPath; }
|
|
87
91
|
});
|
|
88
92
|
Object.defineProperty(exports, "createJsonObjectSchemaStore", {
|
|
89
93
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkEJAKPKHS_cjs.createJsonObjectSchemaStore; }
|
|
91
95
|
});
|
|
92
96
|
Object.defineProperty(exports, "createJsonSchemaStore", {
|
|
93
97
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkEJAKPKHS_cjs.createJsonSchemaStore; }
|
|
95
99
|
});
|
|
96
100
|
Object.defineProperty(exports, "createPrimitiveStoreBySchema", {
|
|
97
101
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkEJAKPKHS_cjs.createPrimitiveStoreBySchema; }
|
|
99
103
|
});
|
|
100
104
|
Object.defineProperty(exports, "deepEqual", {
|
|
101
105
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkEJAKPKHS_cjs.deepEqual; }
|
|
103
107
|
});
|
|
104
108
|
Object.defineProperty(exports, "getDBJsonPathByJsonSchemaStore", {
|
|
105
109
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkEJAKPKHS_cjs.getDBJsonPathByJsonSchemaStore; }
|
|
107
111
|
});
|
|
108
112
|
Object.defineProperty(exports, "getForeignKeyPatchesFromSchema", {
|
|
109
113
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkEJAKPKHS_cjs.getForeignKeyPatchesFromSchema; }
|
|
111
115
|
});
|
|
112
116
|
Object.defineProperty(exports, "getForeignKeysFromSchema", {
|
|
113
117
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkEJAKPKHS_cjs.getForeignKeysFromSchema; }
|
|
115
119
|
});
|
|
116
120
|
Object.defineProperty(exports, "getForeignKeysFromValue", {
|
|
117
121
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkEJAKPKHS_cjs.getForeignKeysFromValue; }
|
|
119
123
|
});
|
|
120
124
|
Object.defineProperty(exports, "getInvalidFieldNamesInSchema", {
|
|
121
125
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkEJAKPKHS_cjs.getInvalidFieldNamesInSchema; }
|
|
123
127
|
});
|
|
124
128
|
Object.defineProperty(exports, "getJsonSchemaStoreByPath", {
|
|
125
129
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkEJAKPKHS_cjs.getJsonSchemaStoreByPath; }
|
|
127
131
|
});
|
|
128
132
|
Object.defineProperty(exports, "getJsonValueStoreByPath", {
|
|
129
133
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkEJAKPKHS_cjs.getJsonValueStoreByPath; }
|
|
131
135
|
});
|
|
132
136
|
Object.defineProperty(exports, "getParentForPath", {
|
|
133
137
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkEJAKPKHS_cjs.getParentForPath; }
|
|
135
139
|
});
|
|
136
140
|
Object.defineProperty(exports, "getPathByStore", {
|
|
137
141
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkEJAKPKHS_cjs.getPathByStore; }
|
|
139
143
|
});
|
|
140
144
|
Object.defineProperty(exports, "getValueByPath", {
|
|
141
145
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkEJAKPKHS_cjs.getValueByPath; }
|
|
143
147
|
});
|
|
144
148
|
Object.defineProperty(exports, "hasPath", {
|
|
145
149
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkEJAKPKHS_cjs.hasPath; }
|
|
147
151
|
});
|
|
148
152
|
Object.defineProperty(exports, "parsePath", {
|
|
149
153
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkEJAKPKHS_cjs.parsePath; }
|
|
151
155
|
});
|
|
152
156
|
Object.defineProperty(exports, "pluginRefs", {
|
|
153
157
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkEJAKPKHS_cjs.pluginRefs; }
|
|
155
159
|
});
|
|
156
160
|
Object.defineProperty(exports, "replaceForeignKeyValue", {
|
|
157
161
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkEJAKPKHS_cjs.replaceForeignKeyValue; }
|
|
159
163
|
});
|
|
160
164
|
Object.defineProperty(exports, "resolveRefs", {
|
|
161
165
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkEJAKPKHS_cjs.resolveRefs; }
|
|
163
167
|
});
|
|
164
168
|
Object.defineProperty(exports, "saveSharedFields", {
|
|
165
169
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkEJAKPKHS_cjs.saveSharedFields; }
|
|
167
171
|
});
|
|
168
172
|
Object.defineProperty(exports, "setValueByPath", {
|
|
169
173
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkEJAKPKHS_cjs.setValueByPath; }
|
|
171
175
|
});
|
|
172
176
|
Object.defineProperty(exports, "traverseStore", {
|
|
173
177
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkEJAKPKHS_cjs.traverseStore; }
|
|
175
179
|
});
|
|
176
180
|
Object.defineProperty(exports, "traverseValue", {
|
|
177
181
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkEJAKPKHS_cjs.traverseValue; }
|
|
179
183
|
});
|
|
180
184
|
Object.defineProperty(exports, "validateJsonFieldName", {
|
|
181
185
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkEJAKPKHS_cjs.validateJsonFieldName; }
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(exports, "ajvFileSchema", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: function () { return chunkEGC32GPY_cjs.ajvFileSchema; }
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "ajvRowCreatedAtSchema", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () { return chunkEGC32GPY_cjs.ajvRowCreatedAtSchema; }
|
|
195
|
+
});
|
|
196
|
+
Object.defineProperty(exports, "ajvRowCreatedIdSchema", {
|
|
197
|
+
enumerable: true,
|
|
198
|
+
get: function () { return chunkEGC32GPY_cjs.ajvRowCreatedIdSchema; }
|
|
199
|
+
});
|
|
200
|
+
Object.defineProperty(exports, "ajvRowHashSchema", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
get: function () { return chunkEGC32GPY_cjs.ajvRowHashSchema; }
|
|
203
|
+
});
|
|
204
|
+
Object.defineProperty(exports, "ajvRowIdSchema", {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () { return chunkEGC32GPY_cjs.ajvRowIdSchema; }
|
|
207
|
+
});
|
|
208
|
+
Object.defineProperty(exports, "ajvRowPublishedAtSchema", {
|
|
209
|
+
enumerable: true,
|
|
210
|
+
get: function () { return chunkEGC32GPY_cjs.ajvRowPublishedAtSchema; }
|
|
211
|
+
});
|
|
212
|
+
Object.defineProperty(exports, "ajvRowSchemaHashSchema", {
|
|
213
|
+
enumerable: true,
|
|
214
|
+
get: function () { return chunkEGC32GPY_cjs.ajvRowSchemaHashSchema; }
|
|
215
|
+
});
|
|
216
|
+
Object.defineProperty(exports, "ajvRowUpdatedAtSchema", {
|
|
217
|
+
enumerable: true,
|
|
218
|
+
get: function () { return chunkEGC32GPY_cjs.ajvRowUpdatedAtSchema; }
|
|
219
|
+
});
|
|
220
|
+
Object.defineProperty(exports, "ajvRowVersionIdSchema", {
|
|
221
|
+
enumerable: true,
|
|
222
|
+
get: function () { return chunkEGC32GPY_cjs.ajvRowVersionIdSchema; }
|
|
183
223
|
});
|
|
184
224
|
Object.defineProperty(exports, "fileSchema", {
|
|
185
225
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkEGC32GPY_cjs.fileSchema; }
|
|
187
227
|
});
|
|
188
228
|
Object.defineProperty(exports, "rowCreatedAtSchema", {
|
|
189
229
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkEGC32GPY_cjs.rowCreatedAtSchema; }
|
|
191
231
|
});
|
|
192
232
|
Object.defineProperty(exports, "rowCreatedIdSchema", {
|
|
193
233
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
234
|
+
get: function () { return chunkEGC32GPY_cjs.rowCreatedIdSchema; }
|
|
195
235
|
});
|
|
196
236
|
Object.defineProperty(exports, "rowHashSchema", {
|
|
197
237
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
238
|
+
get: function () { return chunkEGC32GPY_cjs.rowHashSchema; }
|
|
199
239
|
});
|
|
200
240
|
Object.defineProperty(exports, "rowIdSchema", {
|
|
201
241
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
242
|
+
get: function () { return chunkEGC32GPY_cjs.rowIdSchema; }
|
|
203
243
|
});
|
|
204
244
|
Object.defineProperty(exports, "rowPublishedAtSchema", {
|
|
205
245
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
246
|
+
get: function () { return chunkEGC32GPY_cjs.rowPublishedAtSchema; }
|
|
207
247
|
});
|
|
208
248
|
Object.defineProperty(exports, "rowSchemaHashSchema", {
|
|
209
249
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
250
|
+
get: function () { return chunkEGC32GPY_cjs.rowSchemaHashSchema; }
|
|
211
251
|
});
|
|
212
252
|
Object.defineProperty(exports, "rowUpdatedAtSchema", {
|
|
213
253
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
254
|
+
get: function () { return chunkEGC32GPY_cjs.rowUpdatedAtSchema; }
|
|
215
255
|
});
|
|
216
256
|
Object.defineProperty(exports, "rowVersionIdSchema", {
|
|
217
257
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
258
|
+
get: function () { return chunkEGC32GPY_cjs.rowVersionIdSchema; }
|
|
219
259
|
});
|
|
220
260
|
Object.defineProperty(exports, "SystemSchemaIds", {
|
|
221
261
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -2,12 +2,13 @@ export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue }
|
|
|
2
2
|
export { h as JsonPatch, g as JsonPatchAdd, c as JsonPatchAddOperation, d as JsonPatchMove, J as JsonPatchMoveOperation, f as JsonPatchRemove, b as JsonPatchRemoveOperation, e as JsonPatchReplace, a as JsonPatchReplaceOperation } from './json-patch.types-lByaF-OL.cjs';
|
|
3
3
|
export { InitMigration, JsonValuePatch, JsonValuePatchAdd, JsonValuePatchMove, JsonValuePatchRemove, JsonValuePatchReplace, Migration, RemoveMigration, RenameMigration, UpdateMigration } from './types/index.cjs';
|
|
4
4
|
export { g as JsonArraySchema, d as JsonBooleanSchema, c as JsonNumberSchema, f as JsonObjectSchema, h as JsonRefSchema, i as JsonSchema, e as JsonSchemaPrimitives, a as JsonSchemaSharedFields, J as JsonSchemaTypeName, j as JsonSchemaWithoutRef, b as JsonStringSchema } from './schema.types-Q3MYTp8z.cjs';
|
|
5
|
-
export { fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './plugins/index.cjs';
|
|
5
|
+
export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './plugins/index.cjs';
|
|
6
6
|
export { getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema } from './mocks/index.cjs';
|
|
7
|
-
export { CustomSchemeKeywords
|
|
7
|
+
export { CustomSchemeKeywords } from './consts/index.cjs';
|
|
8
8
|
export { A as AddedPropertyEvent, C as ChangeNameEvent, f as JsonArrayStore, m as JsonArrayValueStore, b as JsonBooleanStore, k as JsonBooleanValueStore, a as JsonNumberStore, j as JsonNumberValueStore, c as JsonObjectStore, l as JsonObjectValueStore, h as JsonSchemaStore, g as JsonSchemaStorePrimitives, J as JsonStringStore, i as JsonStringValueStore, p as JsonValueStore, o as JsonValueStoreParent, n as JsonValueStorePrimitives, d as MigrateItemsEvent, M as MigratePropertyEvent, R as RemovedPropertyEvent, e as ReplaceItemsEvent } from './json-string.store-BNF1Y93E.cjs';
|
|
9
9
|
export { equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, getTransformation, toArrayTransformation } from './model/index.cjs';
|
|
10
|
-
export { GetForeignKeysFromValueType, RefsType, ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, createJsonArrayValueStore, createJsonObjectSchemaStore, createJsonObjectValueStore, createJsonSchemaStore, createJsonValueStore, createPrimitiveStoreBySchema, createPrimitiveValueStore, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from './lib/index.cjs';
|
|
10
|
+
export { GetForeignKeysFromValueType, RefsType, ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonArrayValueStore, createJsonObjectSchemaStore, createJsonObjectValueStore, createJsonSchemaStore, createJsonValueStore, createPrimitiveStoreBySchema, createPrimitiveValueStore, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from './lib/index.cjs';
|
|
11
11
|
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema } from './validation-schemas/index.cjs';
|
|
12
|
+
export { S as SystemSchemaIds } from './system-schema-ids-B-2xMN-1.cjs';
|
|
12
13
|
import 'node:events';
|
|
13
14
|
import 'ajv/dist/2020';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,12 +2,13 @@ export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue }
|
|
|
2
2
|
export { h as JsonPatch, g as JsonPatchAdd, c as JsonPatchAddOperation, d as JsonPatchMove, J as JsonPatchMoveOperation, f as JsonPatchRemove, b as JsonPatchRemoveOperation, e as JsonPatchReplace, a as JsonPatchReplaceOperation } from './json-patch.types-DiJBqfxV.js';
|
|
3
3
|
export { InitMigration, JsonValuePatch, JsonValuePatchAdd, JsonValuePatchMove, JsonValuePatchRemove, JsonValuePatchReplace, Migration, RemoveMigration, RenameMigration, UpdateMigration } from './types/index.js';
|
|
4
4
|
export { g as JsonArraySchema, d as JsonBooleanSchema, c as JsonNumberSchema, f as JsonObjectSchema, h as JsonRefSchema, i as JsonSchema, e as JsonSchemaPrimitives, a as JsonSchemaSharedFields, J as JsonSchemaTypeName, j as JsonSchemaWithoutRef, b as JsonStringSchema } from './schema.types-Q3MYTp8z.js';
|
|
5
|
-
export { fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './plugins/index.js';
|
|
5
|
+
export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './plugins/index.js';
|
|
6
6
|
export { getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema } from './mocks/index.js';
|
|
7
|
-
export { CustomSchemeKeywords
|
|
7
|
+
export { CustomSchemeKeywords } from './consts/index.js';
|
|
8
8
|
export { A as AddedPropertyEvent, C as ChangeNameEvent, f as JsonArrayStore, m as JsonArrayValueStore, b as JsonBooleanStore, k as JsonBooleanValueStore, a as JsonNumberStore, j as JsonNumberValueStore, c as JsonObjectStore, l as JsonObjectValueStore, h as JsonSchemaStore, g as JsonSchemaStorePrimitives, J as JsonStringStore, i as JsonStringValueStore, p as JsonValueStore, o as JsonValueStoreParent, n as JsonValueStorePrimitives, d as MigrateItemsEvent, M as MigratePropertyEvent, R as RemovedPropertyEvent, e as ReplaceItemsEvent } from './json-string.store-qHcWNv07.js';
|
|
9
9
|
export { equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, getTransformation, toArrayTransformation } from './model/index.js';
|
|
10
|
-
export { GetForeignKeysFromValueType, RefsType, ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, createJsonArrayValueStore, createJsonObjectSchemaStore, createJsonObjectValueStore, createJsonSchemaStore, createJsonValueStore, createPrimitiveStoreBySchema, createPrimitiveValueStore, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from './lib/index.js';
|
|
10
|
+
export { GetForeignKeysFromValueType, RefsType, ReplaceForeignKeyValueOptions, SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, addSharedFieldsFromState, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonArrayValueStore, createJsonObjectSchemaStore, createJsonObjectValueStore, createJsonSchemaStore, createJsonValueStore, createPrimitiveStoreBySchema, createPrimitiveValueStore, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from './lib/index.js';
|
|
11
11
|
export { arrayMetaSchema, baseStringFields, booleanMetaSchema, historyPatchesSchema, jsonPatchSchema, metaSchema, noForeignKeyStringMetaSchema, notForeignKeyMetaSchema, numberMetaSchema, objectMetaSchema, refMetaSchema, sharedFields, stringMetaSchema, tableMigrationsSchema } from './validation-schemas/index.js';
|
|
12
|
+
export { S as SystemSchemaIds } from './system-schema-ids-B-2xMN-1.js';
|
|
12
13
|
import 'node:events';
|
|
13
14
|
import 'ajv/dist/2020';
|
package/dist/index.js
CHANGED
|
@@ -2,8 +2,8 @@ import './chunk-DEPJRTVT.js';
|
|
|
2
2
|
export { getAddPatch, getArraySchema, getBooleanSchema, getMovePatch, getNumberSchema, getObjectSchema, getRefSchema, getRemovePatch, getReplacePatch, getStringSchema } from './chunk-AORPUIKD.js';
|
|
3
3
|
export { CustomSchemeKeywords } from './chunk-5VDDLW7U.js';
|
|
4
4
|
import './chunk-H7W4QNMA.js';
|
|
5
|
-
export { SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, 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-
|
|
6
|
-
export { fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './chunk-
|
|
5
|
+
export { SchemaTable, VALIDATE_JSON_FIELD_NAME_ERROR_MESSAGE, applyAddPatch, applyMovePatch, applyRemovePatch, applyReplacePatch, convertJsonPathToSchemaPath, convertSchemaPathToJsonPath, createJsonObjectSchemaStore, createJsonSchemaStore, createPrimitiveStoreBySchema, deepEqual, getDBJsonPathByJsonSchemaStore, getForeignKeyPatchesFromSchema, getForeignKeysFromSchema, getForeignKeysFromValue, getInvalidFieldNamesInSchema, getJsonSchemaStoreByPath, getJsonValueStoreByPath, getParentForPath, getPathByStore, getValueByPath, hasPath, parsePath, pluginRefs, replaceForeignKeyValue, resolveRefs, saveSharedFields, setValueByPath, traverseStore, traverseValue, validateJsonFieldName } from './chunk-7LKKRGZG.js';
|
|
6
|
+
export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from './chunk-LLHQWDAR.js';
|
|
7
7
|
export { SystemSchemaIds } from './chunk-Q2UOTIMG.js';
|
|
8
8
|
export { JsonArrayStore, JsonArrayValueStore, JsonBooleanStore, JsonBooleanValueStore, JsonNumberStore, JsonNumberValueStore, JsonObjectStore, JsonObjectValueStore, JsonStringStore, JsonStringValueStore, addSharedFieldsFromState, createJsonArrayValueStore, createJsonObjectValueStore, createJsonValueStore, createPrimitiveValueStore, equal, fromArrayToObject, fromArrayTransformation, fromBooleanToNumber, fromBooleanToString, fromNumberToBoolean, fromNumberToString, fromObjectToArray, fromObjectToPrimitive, fromPrimitiveToObject, fromStringToBoolean, fromStringToNumber, getTransformation, toArrayTransformation } from './chunk-WCFA4226.js';
|
|
9
9
|
export { JsonSchemaTypeName } from './chunk-ZXLLJAMQ.js';
|