@revisium/schema-toolkit 0.14.3 → 0.16.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 +1 -1
- package/dist/FormulaValidator-CKE2kT4C.d.cts +10 -0
- package/dist/FormulaValidator-DGGmwqDQ.d.ts +10 -0
- package/dist/{chunk-DJ4JPKI4.js → chunk-2NRQPOQY.js} +126 -218
- package/dist/chunk-2NRQPOQY.js.map +1 -0
- package/dist/chunk-3IKI64T2.js +3 -0
- package/dist/{chunk-H7W4QNMA.js.map → chunk-3IKI64T2.js.map} +1 -1
- package/dist/{chunk-L5MLJEC7.js → chunk-CYTPQYVM.js} +2 -2
- package/dist/chunk-CYTPQYVM.js.map +1 -0
- package/dist/{chunk-B22UU3JK.cjs → chunk-GAPLSVZN.cjs} +2 -2
- package/dist/chunk-GAPLSVZN.cjs.map +1 -0
- package/dist/chunk-IWRV6QAD.cjs +2621 -0
- package/dist/chunk-IWRV6QAD.cjs.map +1 -0
- package/dist/chunk-LF6CGXRQ.js +2289 -0
- package/dist/chunk-LF6CGXRQ.js.map +1 -0
- package/dist/chunk-OR2I3XOQ.cjs +2320 -0
- package/dist/chunk-OR2I3XOQ.cjs.map +1 -0
- package/dist/chunk-S7GEDTSL.js +2569 -0
- package/dist/chunk-S7GEDTSL.js.map +1 -0
- package/dist/chunk-TBFTADML.cjs +4 -0
- package/dist/{chunk-ODCH3PP2.cjs.map → chunk-TBFTADML.cjs.map} +1 -1
- package/dist/chunk-WSPFHUHU.cjs +130 -0
- package/dist/chunk-WSPFHUHU.cjs.map +1 -0
- package/dist/{chunk-VX5C5YMF.cjs → chunk-XS47N22X.cjs} +125 -218
- package/dist/chunk-XS47N22X.cjs.map +1 -0
- package/dist/chunk-YFWOURZL.js +128 -0
- package/dist/chunk-YFWOURZL.js.map +1 -0
- package/dist/{chunk-KJCURW4D.js → chunk-ZBPUTF3Q.js} +3 -3
- package/dist/chunk-ZBPUTF3Q.js.map +1 -0
- package/dist/{chunk-GF3XXYOS.cjs → chunk-ZRNFSUOV.cjs} +3 -3
- package/dist/chunk-ZRNFSUOV.cjs.map +1 -0
- package/dist/computeValueDiff-CDwbNw8F.d.ts +5 -0
- package/dist/computeValueDiff-CNT84rwK.d.cts +5 -0
- package/dist/core/index.cjs +231 -0
- package/dist/core/index.cjs.map +1 -0
- package/dist/core/index.d.cts +314 -0
- package/dist/core/index.d.ts +314 -0
- package/dist/core/index.js +29 -0
- package/dist/core/index.js.map +1 -0
- package/dist/formula/index.d.cts +1 -1
- package/dist/formula/index.d.ts +1 -1
- package/dist/index.cjs +182 -44
- package/dist/index.d.cts +13 -8
- package/dist/index.d.ts +13 -8
- package/dist/index.js +7 -5
- package/dist/{json-patch.types-CYt9TCu3.d.ts → json-patch.types-DTUHS9SV.d.ts} +1 -1
- package/dist/{json-patch.types-DUcWbQRY.d.cts → json-patch.types-eltVqnWC.d.cts} +1 -1
- package/dist/{json-string.store-CcZ197KO.d.cts → json-string.store-DKlkc1u_.d.cts} +1 -1
- package/dist/{json-string.store-DckDcMVN.d.ts → json-string.store-DMrHPJ3v.d.ts} +1 -1
- package/dist/json-value-patch.types-CjBpq5VF.d.cts +24 -0
- package/dist/json-value-patch.types-U2y_ugm1.d.ts +24 -0
- package/dist/lib/index.cjs +40 -39
- package/dist/lib/index.d.cts +6 -7
- package/dist/lib/index.d.ts +6 -7
- 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 +125 -2
- package/dist/model/index.d.cts +596 -4
- package/dist/model/index.d.ts +596 -4
- package/dist/model/index.js +5 -2
- package/dist/plugins/index.cjs +1 -1
- package/dist/plugins/index.d.cts +25 -1
- package/dist/plugins/index.d.ts +25 -1
- package/dist/plugins/index.js +1 -1
- package/dist/{schema.types-CLHMJmkJ.d.cts → schema.types-ZX5fUW1X.d.cts} +6 -0
- package/dist/{schema.types-CLHMJmkJ.d.ts → schema.types-ZX5fUW1X.d.ts} +6 -0
- package/dist/types/index.cjs +5 -5
- package/dist/types/index.d.cts +8 -29
- package/dist/types/index.d.ts +8 -29
- package/dist/types/index.js +3 -3
- package/dist/{value-diff.types-BRoI_kGE.d.cts → types-C_GxaUve.d.cts} +4 -4
- package/dist/{value-diff.types-BRoI_kGE.d.ts → types-C_GxaUve.d.ts} +4 -4
- package/dist/types-Cnfj5nLO.d.ts +198 -0
- package/dist/types-DMzUCve0.d.cts +198 -0
- package/package.json +14 -1
- package/dist/chunk-B22UU3JK.cjs.map +0 -1
- package/dist/chunk-DJ4JPKI4.js.map +0 -1
- package/dist/chunk-GF3XXYOS.cjs.map +0 -1
- package/dist/chunk-H7W4QNMA.js +0 -3
- package/dist/chunk-KJCURW4D.js.map +0 -1
- package/dist/chunk-L5MLJEC7.js.map +0 -1
- package/dist/chunk-ODCH3PP2.cjs +0 -4
- package/dist/chunk-SBJFTOWW.js +0 -3
- package/dist/chunk-SBJFTOWW.js.map +0 -1
- package/dist/chunk-VX5C5YMF.cjs.map +0 -1
- package/dist/chunk-XAFOMEOK.cjs +0 -4
- package/dist/chunk-XAFOMEOK.cjs.map +0 -1
package/dist/plugins/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as JsonStringSchema, J as JsonSchemaTypeName, X as XFormula, 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-ZX5fUW1X.cjs';
|
|
2
2
|
import { S as SystemSchemaIds } from '../system-schema-ids-B-2xMN-1.cjs';
|
|
3
3
|
|
|
4
4
|
declare const rowIdSchema: JsonStringSchema;
|
|
@@ -7,12 +7,15 @@ declare const ajvRowIdSchema: {
|
|
|
7
7
|
default: string;
|
|
8
8
|
foreignKey?: string;
|
|
9
9
|
readOnly?: boolean;
|
|
10
|
+
required?: boolean;
|
|
10
11
|
title?: string;
|
|
11
12
|
description?: string;
|
|
12
13
|
deprecated?: boolean;
|
|
13
14
|
pattern?: string;
|
|
14
15
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
15
16
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
17
|
+
minLength?: number;
|
|
18
|
+
maxLength?: number;
|
|
16
19
|
enum?: string[];
|
|
17
20
|
'x-formula'?: XFormula;
|
|
18
21
|
$id: SystemSchemaIds;
|
|
@@ -24,12 +27,15 @@ declare const ajvRowVersionIdSchema: {
|
|
|
24
27
|
default: string;
|
|
25
28
|
foreignKey?: string;
|
|
26
29
|
readOnly?: boolean;
|
|
30
|
+
required?: boolean;
|
|
27
31
|
title?: string;
|
|
28
32
|
description?: string;
|
|
29
33
|
deprecated?: boolean;
|
|
30
34
|
pattern?: string;
|
|
31
35
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
32
36
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
37
|
+
minLength?: number;
|
|
38
|
+
maxLength?: number;
|
|
33
39
|
enum?: string[];
|
|
34
40
|
'x-formula'?: XFormula;
|
|
35
41
|
$id: SystemSchemaIds;
|
|
@@ -41,12 +47,15 @@ declare const ajvRowCreatedIdSchema: {
|
|
|
41
47
|
default: string;
|
|
42
48
|
foreignKey?: string;
|
|
43
49
|
readOnly?: boolean;
|
|
50
|
+
required?: boolean;
|
|
44
51
|
title?: string;
|
|
45
52
|
description?: string;
|
|
46
53
|
deprecated?: boolean;
|
|
47
54
|
pattern?: string;
|
|
48
55
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
49
56
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
57
|
+
minLength?: number;
|
|
58
|
+
maxLength?: number;
|
|
50
59
|
enum?: string[];
|
|
51
60
|
'x-formula'?: XFormula;
|
|
52
61
|
$id: SystemSchemaIds;
|
|
@@ -58,12 +67,15 @@ declare const ajvRowCreatedAtSchema: {
|
|
|
58
67
|
default: string;
|
|
59
68
|
foreignKey?: string;
|
|
60
69
|
readOnly?: boolean;
|
|
70
|
+
required?: boolean;
|
|
61
71
|
title?: string;
|
|
62
72
|
description?: string;
|
|
63
73
|
deprecated?: boolean;
|
|
64
74
|
pattern?: string;
|
|
65
75
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
66
76
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
77
|
+
minLength?: number;
|
|
78
|
+
maxLength?: number;
|
|
67
79
|
enum?: string[];
|
|
68
80
|
'x-formula'?: XFormula;
|
|
69
81
|
$id: SystemSchemaIds;
|
|
@@ -75,12 +87,15 @@ declare const ajvRowPublishedAtSchema: {
|
|
|
75
87
|
default: string;
|
|
76
88
|
foreignKey?: string;
|
|
77
89
|
readOnly?: boolean;
|
|
90
|
+
required?: boolean;
|
|
78
91
|
title?: string;
|
|
79
92
|
description?: string;
|
|
80
93
|
deprecated?: boolean;
|
|
81
94
|
pattern?: string;
|
|
82
95
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
83
96
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
97
|
+
minLength?: number;
|
|
98
|
+
maxLength?: number;
|
|
84
99
|
enum?: string[];
|
|
85
100
|
'x-formula'?: XFormula;
|
|
86
101
|
$id: SystemSchemaIds;
|
|
@@ -92,12 +107,15 @@ declare const ajvRowUpdatedAtSchema: {
|
|
|
92
107
|
default: string;
|
|
93
108
|
foreignKey?: string;
|
|
94
109
|
readOnly?: boolean;
|
|
110
|
+
required?: boolean;
|
|
95
111
|
title?: string;
|
|
96
112
|
description?: string;
|
|
97
113
|
deprecated?: boolean;
|
|
98
114
|
pattern?: string;
|
|
99
115
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
100
116
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
117
|
+
minLength?: number;
|
|
118
|
+
maxLength?: number;
|
|
101
119
|
enum?: string[];
|
|
102
120
|
'x-formula'?: XFormula;
|
|
103
121
|
$id: SystemSchemaIds;
|
|
@@ -109,12 +127,15 @@ declare const ajvRowHashSchema: {
|
|
|
109
127
|
default: string;
|
|
110
128
|
foreignKey?: string;
|
|
111
129
|
readOnly?: boolean;
|
|
130
|
+
required?: boolean;
|
|
112
131
|
title?: string;
|
|
113
132
|
description?: string;
|
|
114
133
|
deprecated?: boolean;
|
|
115
134
|
pattern?: string;
|
|
116
135
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
117
136
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
137
|
+
minLength?: number;
|
|
138
|
+
maxLength?: number;
|
|
118
139
|
enum?: string[];
|
|
119
140
|
'x-formula'?: XFormula;
|
|
120
141
|
$id: SystemSchemaIds;
|
|
@@ -126,12 +147,15 @@ declare const ajvRowSchemaHashSchema: {
|
|
|
126
147
|
default: string;
|
|
127
148
|
foreignKey?: string;
|
|
128
149
|
readOnly?: boolean;
|
|
150
|
+
required?: boolean;
|
|
129
151
|
title?: string;
|
|
130
152
|
description?: string;
|
|
131
153
|
deprecated?: boolean;
|
|
132
154
|
pattern?: string;
|
|
133
155
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
134
156
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
157
|
+
minLength?: number;
|
|
158
|
+
maxLength?: number;
|
|
135
159
|
enum?: string[];
|
|
136
160
|
'x-formula'?: XFormula;
|
|
137
161
|
$id: SystemSchemaIds;
|
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as JsonStringSchema, J as JsonSchemaTypeName, X as XFormula, 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-ZX5fUW1X.js';
|
|
2
2
|
import { S as SystemSchemaIds } from '../system-schema-ids-B-2xMN-1.js';
|
|
3
3
|
|
|
4
4
|
declare const rowIdSchema: JsonStringSchema;
|
|
@@ -7,12 +7,15 @@ declare const ajvRowIdSchema: {
|
|
|
7
7
|
default: string;
|
|
8
8
|
foreignKey?: string;
|
|
9
9
|
readOnly?: boolean;
|
|
10
|
+
required?: boolean;
|
|
10
11
|
title?: string;
|
|
11
12
|
description?: string;
|
|
12
13
|
deprecated?: boolean;
|
|
13
14
|
pattern?: string;
|
|
14
15
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
15
16
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
17
|
+
minLength?: number;
|
|
18
|
+
maxLength?: number;
|
|
16
19
|
enum?: string[];
|
|
17
20
|
'x-formula'?: XFormula;
|
|
18
21
|
$id: SystemSchemaIds;
|
|
@@ -24,12 +27,15 @@ declare const ajvRowVersionIdSchema: {
|
|
|
24
27
|
default: string;
|
|
25
28
|
foreignKey?: string;
|
|
26
29
|
readOnly?: boolean;
|
|
30
|
+
required?: boolean;
|
|
27
31
|
title?: string;
|
|
28
32
|
description?: string;
|
|
29
33
|
deprecated?: boolean;
|
|
30
34
|
pattern?: string;
|
|
31
35
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
32
36
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
37
|
+
minLength?: number;
|
|
38
|
+
maxLength?: number;
|
|
33
39
|
enum?: string[];
|
|
34
40
|
'x-formula'?: XFormula;
|
|
35
41
|
$id: SystemSchemaIds;
|
|
@@ -41,12 +47,15 @@ declare const ajvRowCreatedIdSchema: {
|
|
|
41
47
|
default: string;
|
|
42
48
|
foreignKey?: string;
|
|
43
49
|
readOnly?: boolean;
|
|
50
|
+
required?: boolean;
|
|
44
51
|
title?: string;
|
|
45
52
|
description?: string;
|
|
46
53
|
deprecated?: boolean;
|
|
47
54
|
pattern?: string;
|
|
48
55
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
49
56
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
57
|
+
minLength?: number;
|
|
58
|
+
maxLength?: number;
|
|
50
59
|
enum?: string[];
|
|
51
60
|
'x-formula'?: XFormula;
|
|
52
61
|
$id: SystemSchemaIds;
|
|
@@ -58,12 +67,15 @@ declare const ajvRowCreatedAtSchema: {
|
|
|
58
67
|
default: string;
|
|
59
68
|
foreignKey?: string;
|
|
60
69
|
readOnly?: boolean;
|
|
70
|
+
required?: boolean;
|
|
61
71
|
title?: string;
|
|
62
72
|
description?: string;
|
|
63
73
|
deprecated?: boolean;
|
|
64
74
|
pattern?: string;
|
|
65
75
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
66
76
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
77
|
+
minLength?: number;
|
|
78
|
+
maxLength?: number;
|
|
67
79
|
enum?: string[];
|
|
68
80
|
'x-formula'?: XFormula;
|
|
69
81
|
$id: SystemSchemaIds;
|
|
@@ -75,12 +87,15 @@ declare const ajvRowPublishedAtSchema: {
|
|
|
75
87
|
default: string;
|
|
76
88
|
foreignKey?: string;
|
|
77
89
|
readOnly?: boolean;
|
|
90
|
+
required?: boolean;
|
|
78
91
|
title?: string;
|
|
79
92
|
description?: string;
|
|
80
93
|
deprecated?: boolean;
|
|
81
94
|
pattern?: string;
|
|
82
95
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
83
96
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
97
|
+
minLength?: number;
|
|
98
|
+
maxLength?: number;
|
|
84
99
|
enum?: string[];
|
|
85
100
|
'x-formula'?: XFormula;
|
|
86
101
|
$id: SystemSchemaIds;
|
|
@@ -92,12 +107,15 @@ declare const ajvRowUpdatedAtSchema: {
|
|
|
92
107
|
default: string;
|
|
93
108
|
foreignKey?: string;
|
|
94
109
|
readOnly?: boolean;
|
|
110
|
+
required?: boolean;
|
|
95
111
|
title?: string;
|
|
96
112
|
description?: string;
|
|
97
113
|
deprecated?: boolean;
|
|
98
114
|
pattern?: string;
|
|
99
115
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
100
116
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
117
|
+
minLength?: number;
|
|
118
|
+
maxLength?: number;
|
|
101
119
|
enum?: string[];
|
|
102
120
|
'x-formula'?: XFormula;
|
|
103
121
|
$id: SystemSchemaIds;
|
|
@@ -109,12 +127,15 @@ declare const ajvRowHashSchema: {
|
|
|
109
127
|
default: string;
|
|
110
128
|
foreignKey?: string;
|
|
111
129
|
readOnly?: boolean;
|
|
130
|
+
required?: boolean;
|
|
112
131
|
title?: string;
|
|
113
132
|
description?: string;
|
|
114
133
|
deprecated?: boolean;
|
|
115
134
|
pattern?: string;
|
|
116
135
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
117
136
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
137
|
+
minLength?: number;
|
|
138
|
+
maxLength?: number;
|
|
118
139
|
enum?: string[];
|
|
119
140
|
'x-formula'?: XFormula;
|
|
120
141
|
$id: SystemSchemaIds;
|
|
@@ -126,12 +147,15 @@ declare const ajvRowSchemaHashSchema: {
|
|
|
126
147
|
default: string;
|
|
127
148
|
foreignKey?: string;
|
|
128
149
|
readOnly?: boolean;
|
|
150
|
+
required?: boolean;
|
|
129
151
|
title?: string;
|
|
130
152
|
description?: string;
|
|
131
153
|
deprecated?: boolean;
|
|
132
154
|
pattern?: string;
|
|
133
155
|
format?: "date-time" | "date" | "time" | "email" | "regex";
|
|
134
156
|
contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
|
|
157
|
+
minLength?: number;
|
|
158
|
+
maxLength?: number;
|
|
135
159
|
enum?: string[];
|
|
136
160
|
'x-formula'?: XFormula;
|
|
137
161
|
$id: SystemSchemaIds;
|
package/dist/plugins/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from '../chunk-LLHQWDAR.js';
|
|
2
2
|
import '../chunk-Q2UOTIMG.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-CYTPQYVM.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -19,12 +19,15 @@ type JsonStringSchema = {
|
|
|
19
19
|
default: string;
|
|
20
20
|
foreignKey?: string;
|
|
21
21
|
readOnly?: boolean;
|
|
22
|
+
required?: boolean;
|
|
22
23
|
title?: string;
|
|
23
24
|
description?: string;
|
|
24
25
|
deprecated?: boolean;
|
|
25
26
|
pattern?: string;
|
|
26
27
|
format?: 'date-time' | 'date' | 'time' | 'email' | 'regex';
|
|
27
28
|
contentMediaType?: 'text/plain' | 'text/markdown' | 'text/html' | 'application/json' | 'application/schema+json' | 'application/yaml';
|
|
29
|
+
minLength?: number;
|
|
30
|
+
maxLength?: number;
|
|
28
31
|
enum?: string[];
|
|
29
32
|
'x-formula'?: XFormula;
|
|
30
33
|
} & JsonSchemaSharedFields;
|
|
@@ -35,6 +38,9 @@ type JsonNumberSchema = {
|
|
|
35
38
|
title?: string;
|
|
36
39
|
description?: string;
|
|
37
40
|
deprecated?: boolean;
|
|
41
|
+
minimum?: number;
|
|
42
|
+
maximum?: number;
|
|
43
|
+
enum?: number[];
|
|
38
44
|
'x-formula'?: XFormula;
|
|
39
45
|
} & JsonSchemaSharedFields;
|
|
40
46
|
type JsonBooleanSchema = {
|
|
@@ -19,12 +19,15 @@ type JsonStringSchema = {
|
|
|
19
19
|
default: string;
|
|
20
20
|
foreignKey?: string;
|
|
21
21
|
readOnly?: boolean;
|
|
22
|
+
required?: boolean;
|
|
22
23
|
title?: string;
|
|
23
24
|
description?: string;
|
|
24
25
|
deprecated?: boolean;
|
|
25
26
|
pattern?: string;
|
|
26
27
|
format?: 'date-time' | 'date' | 'time' | 'email' | 'regex';
|
|
27
28
|
contentMediaType?: 'text/plain' | 'text/markdown' | 'text/html' | 'application/json' | 'application/schema+json' | 'application/yaml';
|
|
29
|
+
minLength?: number;
|
|
30
|
+
maxLength?: number;
|
|
28
31
|
enum?: string[];
|
|
29
32
|
'x-formula'?: XFormula;
|
|
30
33
|
} & JsonSchemaSharedFields;
|
|
@@ -35,6 +38,9 @@ type JsonNumberSchema = {
|
|
|
35
38
|
title?: string;
|
|
36
39
|
description?: string;
|
|
37
40
|
deprecated?: boolean;
|
|
41
|
+
minimum?: number;
|
|
42
|
+
maximum?: number;
|
|
43
|
+
enum?: number[];
|
|
38
44
|
'x-formula'?: XFormula;
|
|
39
45
|
} & JsonSchemaSharedFields;
|
|
40
46
|
type JsonBooleanSchema = {
|
package/dist/types/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../chunk-
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
require('../chunk-TBFTADML.cjs');
|
|
4
|
+
var chunkZRNFSUOV_cjs = require('../chunk-ZRNFSUOV.cjs');
|
|
5
|
+
var chunkGAPLSVZN_cjs = require('../chunk-GAPLSVZN.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "FieldChangeType", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkZRNFSUOV_cjs.FieldChangeType; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "JsonSchemaTypeName", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkGAPLSVZN_cjs.JsonSchemaTypeName; }
|
|
16
16
|
});
|
|
17
17
|
//# sourceMappingURL=index.cjs.map
|
|
18
18
|
//# sourceMappingURL=index.cjs.map
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,31 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
import { i as JsonSchema } from '../schema.types-
|
|
6
|
-
export { g as JsonArraySchema, d as JsonBooleanSchema, c as JsonNumberSchema, f as JsonObjectSchema, h as JsonRefSchema, e as JsonSchemaPrimitives, a as JsonSchemaSharedFields, J as JsonSchemaTypeName, j as JsonSchemaWithoutRef, b as JsonStringSchema, X as XFormula } from '../schema.types-
|
|
7
|
-
export { a as FieldChange, F as FieldChangeType } from '../
|
|
8
|
-
|
|
9
|
-
type JsonValuePatchMove = {
|
|
10
|
-
op: 'move';
|
|
11
|
-
from: string;
|
|
12
|
-
path: string;
|
|
13
|
-
};
|
|
14
|
-
type JsonValuePatchReplace = {
|
|
15
|
-
op: 'replace';
|
|
16
|
-
path: string;
|
|
17
|
-
value: JsonValue;
|
|
18
|
-
};
|
|
19
|
-
type JsonValuePatchRemove = {
|
|
20
|
-
op: 'remove';
|
|
21
|
-
path: string;
|
|
22
|
-
};
|
|
23
|
-
type JsonValuePatchAdd = {
|
|
24
|
-
op: 'add';
|
|
25
|
-
path: string;
|
|
26
|
-
value: JsonValue;
|
|
27
|
-
};
|
|
28
|
-
type JsonValuePatch = JsonValuePatchMove | JsonValuePatchReplace | JsonValuePatchRemove | JsonValuePatchAdd;
|
|
1
|
+
export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue } from '../json.types-46Cq-WxU.cjs';
|
|
2
|
+
import { h as JsonPatch } from '../json-patch.types-eltVqnWC.cjs';
|
|
3
|
+
export { 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-eltVqnWC.cjs';
|
|
4
|
+
export { d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace } from '../json-value-patch.types-CjBpq5VF.cjs';
|
|
5
|
+
import { i as JsonSchema } from '../schema.types-ZX5fUW1X.cjs';
|
|
6
|
+
export { g as JsonArraySchema, d as JsonBooleanSchema, c as JsonNumberSchema, f as JsonObjectSchema, h as JsonRefSchema, e as JsonSchemaPrimitives, a as JsonSchemaSharedFields, J as JsonSchemaTypeName, j as JsonSchemaWithoutRef, b as JsonStringSchema, X as XFormula } from '../schema.types-ZX5fUW1X.cjs';
|
|
7
|
+
export { a as FieldChange, F as FieldChangeType } from '../types-C_GxaUve.cjs';
|
|
29
8
|
|
|
30
9
|
type UpdateMigration = {
|
|
31
10
|
changeType: 'update';
|
|
@@ -54,4 +33,4 @@ type InitMigration = {
|
|
|
54
33
|
};
|
|
55
34
|
type Migration = InitMigration | UpdateMigration | RenameMigration | RemoveMigration;
|
|
56
35
|
|
|
57
|
-
export { type InitMigration, JsonPatch, JsonSchema,
|
|
36
|
+
export { type InitMigration, JsonPatch, JsonSchema, type Migration, type RemoveMigration, type RenameMigration, type UpdateMigration };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,31 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
import { i as JsonSchema } from '../schema.types-
|
|
6
|
-
export { g as JsonArraySchema, d as JsonBooleanSchema, c as JsonNumberSchema, f as JsonObjectSchema, h as JsonRefSchema, e as JsonSchemaPrimitives, a as JsonSchemaSharedFields, J as JsonSchemaTypeName, j as JsonSchemaWithoutRef, b as JsonStringSchema, X as XFormula } from '../schema.types-
|
|
7
|
-
export { a as FieldChange, F as FieldChangeType } from '../
|
|
8
|
-
|
|
9
|
-
type JsonValuePatchMove = {
|
|
10
|
-
op: 'move';
|
|
11
|
-
from: string;
|
|
12
|
-
path: string;
|
|
13
|
-
};
|
|
14
|
-
type JsonValuePatchReplace = {
|
|
15
|
-
op: 'replace';
|
|
16
|
-
path: string;
|
|
17
|
-
value: JsonValue;
|
|
18
|
-
};
|
|
19
|
-
type JsonValuePatchRemove = {
|
|
20
|
-
op: 'remove';
|
|
21
|
-
path: string;
|
|
22
|
-
};
|
|
23
|
-
type JsonValuePatchAdd = {
|
|
24
|
-
op: 'add';
|
|
25
|
-
path: string;
|
|
26
|
-
value: JsonValue;
|
|
27
|
-
};
|
|
28
|
-
type JsonValuePatch = JsonValuePatchMove | JsonValuePatchReplace | JsonValuePatchRemove | JsonValuePatchAdd;
|
|
1
|
+
export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue } from '../json.types-46Cq-WxU.js';
|
|
2
|
+
import { h as JsonPatch } from '../json-patch.types-DTUHS9SV.js';
|
|
3
|
+
export { 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-DTUHS9SV.js';
|
|
4
|
+
export { d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace } from '../json-value-patch.types-U2y_ugm1.js';
|
|
5
|
+
import { i as JsonSchema } from '../schema.types-ZX5fUW1X.js';
|
|
6
|
+
export { g as JsonArraySchema, d as JsonBooleanSchema, c as JsonNumberSchema, f as JsonObjectSchema, h as JsonRefSchema, e as JsonSchemaPrimitives, a as JsonSchemaSharedFields, J as JsonSchemaTypeName, j as JsonSchemaWithoutRef, b as JsonStringSchema, X as XFormula } from '../schema.types-ZX5fUW1X.js';
|
|
7
|
+
export { a as FieldChange, F as FieldChangeType } from '../types-C_GxaUve.js';
|
|
29
8
|
|
|
30
9
|
type UpdateMigration = {
|
|
31
10
|
changeType: 'update';
|
|
@@ -54,4 +33,4 @@ type InitMigration = {
|
|
|
54
33
|
};
|
|
55
34
|
type Migration = InitMigration | UpdateMigration | RenameMigration | RemoveMigration;
|
|
56
35
|
|
|
57
|
-
export { type InitMigration, JsonPatch, JsonSchema,
|
|
36
|
+
export { type InitMigration, JsonPatch, JsonSchema, type Migration, type RemoveMigration, type RenameMigration, type UpdateMigration };
|
package/dist/types/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../chunk-
|
|
2
|
-
export { FieldChangeType } from '../chunk-
|
|
3
|
-
export { JsonSchemaTypeName } from '../chunk-
|
|
1
|
+
import '../chunk-3IKI64T2.js';
|
|
2
|
+
export { FieldChangeType } from '../chunk-ZBPUTF3Q.js';
|
|
3
|
+
export { JsonSchemaTypeName } from '../chunk-CYTPQYVM.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -4,10 +4,10 @@ declare enum FieldChangeType {
|
|
|
4
4
|
Modified = "MODIFIED"
|
|
5
5
|
}
|
|
6
6
|
interface FieldChange {
|
|
7
|
-
path: string;
|
|
8
|
-
oldValue: unknown;
|
|
9
|
-
newValue: unknown;
|
|
10
|
-
changeType: FieldChangeType;
|
|
7
|
+
readonly path: string;
|
|
8
|
+
readonly oldValue: unknown;
|
|
9
|
+
readonly newValue: unknown;
|
|
10
|
+
readonly changeType: FieldChangeType;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export { FieldChangeType as F, type FieldChange as a };
|
|
@@ -4,10 +4,10 @@ declare enum FieldChangeType {
|
|
|
4
4
|
Modified = "MODIFIED"
|
|
5
5
|
}
|
|
6
6
|
interface FieldChange {
|
|
7
|
-
path: string;
|
|
8
|
-
oldValue: unknown;
|
|
9
|
-
newValue: unknown;
|
|
10
|
-
changeType: FieldChangeType;
|
|
7
|
+
readonly path: string;
|
|
8
|
+
readonly oldValue: unknown;
|
|
9
|
+
readonly newValue: unknown;
|
|
10
|
+
readonly changeType: FieldChangeType;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export { FieldChangeType as F, type FieldChange as a };
|