@jsonforms/core 3.3.0-beta.0 → 3.3.0-beta.1
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/lib/Helpers.d.ts +5 -5
- package/lib/actions/actions.d.ts +198 -198
- package/lib/actions/index.d.ts +1 -1
- package/lib/configDefault.d.ts +6 -6
- package/lib/generators/Generate.d.ts +6 -6
- package/lib/generators/index.d.ts +3 -3
- package/lib/generators/schema.d.ts +8 -8
- package/lib/generators/uischema.d.ts +12 -12
- package/lib/i18n/arrayTranslations.d.ts +24 -24
- package/lib/i18n/combinatorTranslations.d.ts +14 -14
- package/lib/i18n/i18nTypes.d.ts +16 -16
- package/lib/i18n/i18nUtil.d.ts +28 -28
- package/lib/i18n/index.d.ts +4 -4
- package/lib/index.d.ts +11 -11
- package/lib/models/draft4.d.ts +198 -198
- package/lib/models/index.d.ts +5 -5
- package/lib/models/jsonSchema.d.ts +3 -3
- package/lib/models/jsonSchema4.d.ts +110 -110
- package/lib/models/jsonSchema7.d.ts +119 -119
- package/lib/models/uischema.d.ts +231 -231
- package/lib/reducers/cells.d.ts +11 -11
- package/lib/reducers/config.d.ts +3 -3
- package/lib/reducers/core.d.ts +26 -26
- package/lib/reducers/default-data.d.ts +10 -10
- package/lib/reducers/i18n.d.ts +8 -8
- package/lib/reducers/index.d.ts +10 -10
- package/lib/reducers/middleware.d.ts +6 -6
- package/lib/reducers/reducers.d.ts +29 -29
- package/lib/reducers/renderers.d.ts +10 -10
- package/lib/reducers/selectors.d.ts +15 -15
- package/lib/reducers/uischemas.d.ts +10 -10
- package/lib/store.d.ts +53 -53
- package/lib/testers/index.d.ts +1 -1
- package/lib/testers/testers.d.ts +220 -220
- package/lib/util/Formatted.d.ts +19 -19
- package/lib/util/array.d.ts +3 -3
- package/lib/util/cell.d.ts +78 -78
- package/lib/util/combinators.d.ts +9 -9
- package/lib/util/defaultDateFormat.d.ts +3 -3
- package/lib/util/ids.d.ts +3 -3
- package/lib/util/index.d.ts +16 -16
- package/lib/util/label.d.ts +21 -21
- package/lib/util/path.d.ts +38 -38
- package/lib/util/renderer.d.ts +429 -429
- package/lib/util/resolvers.d.ts +25 -25
- package/lib/util/runtime.d.ts +17 -17
- package/lib/util/schema.d.ts +10 -10
- package/lib/util/type.d.ts +174 -174
- package/lib/util/uischema.d.ts +18 -18
- package/lib/util/util.d.ts +57 -57
- package/lib/util/validator.d.ts +3 -3
- package/package.json +2 -2
package/lib/i18n/i18nUtil.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import type { ErrorObject } from 'ajv';
|
|
2
|
-
import { Labelable, UISchemaElement } from '../models';
|
|
3
|
-
import type { i18nJsonSchema, ErrorTranslator, Translator } from './i18nTypes';
|
|
4
|
-
import { ArrayDefaultTranslation, ArrayTranslations } from './arrayTranslations';
|
|
5
|
-
import { CombinatorDefaultTranslation, CombinatorTranslations } from './combinatorTranslations';
|
|
6
|
-
export declare const getI18nKeyPrefixBySchema: (schema: i18nJsonSchema | undefined, uischema: unknown | undefined) => string | undefined;
|
|
7
|
-
/**
|
|
8
|
-
* Transforms a given path to a prefix which can be used for i18n keys.
|
|
9
|
-
* Returns 'root' for empty paths and removes array indices
|
|
10
|
-
*/
|
|
11
|
-
export declare const transformPathToI18nPrefix: (path: string) => string;
|
|
12
|
-
export declare const getI18nKeyPrefix: (schema: i18nJsonSchema | undefined, uischema: unknown | undefined, path: string | undefined) => string;
|
|
13
|
-
export declare const getI18nKey: (schema: i18nJsonSchema | undefined, uischema: unknown | undefined, path: string | undefined, key: string) => string;
|
|
14
|
-
export declare const addI18nKeyToPrefix: (i18nKeyPrefix: string, key: string) => string;
|
|
15
|
-
export declare const defaultTranslator: Translator;
|
|
16
|
-
export declare const defaultErrorTranslator: ErrorTranslator;
|
|
17
|
-
/**
|
|
18
|
-
* Returns the determined error message for the given errors.
|
|
19
|
-
* All errors must correspond to the given schema, uischema or path.
|
|
20
|
-
*/
|
|
21
|
-
export declare const getCombinedErrorMessage: (errors: ErrorObject[], et: ErrorTranslator, t: Translator, schema?: i18nJsonSchema, uischema?: UISchemaElement, path?: string) => string;
|
|
22
|
-
/**
|
|
23
|
-
* This can be used to internationalize the label of the given Labelable (e.g. UI Schema elements).
|
|
24
|
-
* This should not be used for controls as there we have additional context in the form of the JSON Schema available.
|
|
25
|
-
*/
|
|
26
|
-
export declare const deriveLabelForUISchemaElement: (uischema: Labelable<boolean>, t: Translator) => string | undefined;
|
|
27
|
-
export declare const getArrayTranslations: (t: Translator, defaultTranslations: ArrayDefaultTranslation[], i18nKeyPrefix: string, label: string) => ArrayTranslations;
|
|
28
|
-
export declare const getCombinatorTranslations: (t: Translator, defaultTranslations: CombinatorDefaultTranslation[], i18nKeyPrefix: string, label: string) => CombinatorTranslations;
|
|
1
|
+
import type { ErrorObject } from 'ajv';
|
|
2
|
+
import { Labelable, UISchemaElement } from '../models';
|
|
3
|
+
import type { i18nJsonSchema, ErrorTranslator, Translator } from './i18nTypes';
|
|
4
|
+
import { ArrayDefaultTranslation, ArrayTranslations } from './arrayTranslations';
|
|
5
|
+
import { CombinatorDefaultTranslation, CombinatorTranslations } from './combinatorTranslations';
|
|
6
|
+
export declare const getI18nKeyPrefixBySchema: (schema: i18nJsonSchema | undefined, uischema: unknown | undefined) => string | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Transforms a given path to a prefix which can be used for i18n keys.
|
|
9
|
+
* Returns 'root' for empty paths and removes array indices
|
|
10
|
+
*/
|
|
11
|
+
export declare const transformPathToI18nPrefix: (path: string) => string;
|
|
12
|
+
export declare const getI18nKeyPrefix: (schema: i18nJsonSchema | undefined, uischema: unknown | undefined, path: string | undefined) => string;
|
|
13
|
+
export declare const getI18nKey: (schema: i18nJsonSchema | undefined, uischema: unknown | undefined, path: string | undefined, key: string) => string;
|
|
14
|
+
export declare const addI18nKeyToPrefix: (i18nKeyPrefix: string, key: string) => string;
|
|
15
|
+
export declare const defaultTranslator: Translator;
|
|
16
|
+
export declare const defaultErrorTranslator: ErrorTranslator;
|
|
17
|
+
/**
|
|
18
|
+
* Returns the determined error message for the given errors.
|
|
19
|
+
* All errors must correspond to the given schema, uischema or path.
|
|
20
|
+
*/
|
|
21
|
+
export declare const getCombinedErrorMessage: (errors: ErrorObject[], et: ErrorTranslator, t: Translator, schema?: i18nJsonSchema, uischema?: UISchemaElement, path?: string) => string;
|
|
22
|
+
/**
|
|
23
|
+
* This can be used to internationalize the label of the given Labelable (e.g. UI Schema elements).
|
|
24
|
+
* This should not be used for controls as there we have additional context in the form of the JSON Schema available.
|
|
25
|
+
*/
|
|
26
|
+
export declare const deriveLabelForUISchemaElement: (uischema: Labelable<boolean>, t: Translator) => string | undefined;
|
|
27
|
+
export declare const getArrayTranslations: (t: Translator, defaultTranslations: ArrayDefaultTranslation[], i18nKeyPrefix: string, label: string) => ArrayTranslations;
|
|
28
|
+
export declare const getCombinatorTranslations: (t: Translator, defaultTranslations: CombinatorDefaultTranslation[], i18nKeyPrefix: string, label: string) => CombinatorTranslations;
|
package/lib/i18n/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './i18nTypes';
|
|
2
|
-
export * from './i18nUtil';
|
|
3
|
-
export * from './arrayTranslations';
|
|
4
|
-
export * from './combinatorTranslations';
|
|
1
|
+
export * from './i18nTypes';
|
|
2
|
+
export * from './i18nUtil';
|
|
3
|
+
export * from './arrayTranslations';
|
|
4
|
+
export * from './combinatorTranslations';
|
package/lib/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from './actions';
|
|
2
|
-
export * as Actions from './actions';
|
|
3
|
-
export * from './generators';
|
|
4
|
-
export * from './models';
|
|
5
|
-
export * from './reducers';
|
|
6
|
-
export * from './testers';
|
|
7
|
-
export * as Test from './testers';
|
|
8
|
-
export * from './util';
|
|
9
|
-
export * from './Helpers';
|
|
10
|
-
export * from './store';
|
|
11
|
-
export * from './i18n';
|
|
1
|
+
export * from './actions';
|
|
2
|
+
export * as Actions from './actions';
|
|
3
|
+
export * from './generators';
|
|
4
|
+
export * from './models';
|
|
5
|
+
export * from './reducers';
|
|
6
|
+
export * from './testers';
|
|
7
|
+
export * as Test from './testers';
|
|
8
|
+
export * from './util';
|
|
9
|
+
export * from './Helpers';
|
|
10
|
+
export * from './store';
|
|
11
|
+
export * from './i18n';
|
package/lib/models/draft4.d.ts
CHANGED
|
@@ -1,198 +1,198 @@
|
|
|
1
|
-
export declare const Draft4: {
|
|
2
|
-
id: string;
|
|
3
|
-
$schema: string;
|
|
4
|
-
description: string;
|
|
5
|
-
definitions: {
|
|
6
|
-
schemaArray: {
|
|
7
|
-
type: string;
|
|
8
|
-
minItems: number;
|
|
9
|
-
items: {
|
|
10
|
-
$ref: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
positiveInteger: {
|
|
14
|
-
type: string;
|
|
15
|
-
minimum: number;
|
|
16
|
-
};
|
|
17
|
-
positiveIntegerDefault0: {
|
|
18
|
-
allOf: ({
|
|
19
|
-
$ref: string;
|
|
20
|
-
default?: undefined;
|
|
21
|
-
} | {
|
|
22
|
-
default: number;
|
|
23
|
-
$ref?: undefined;
|
|
24
|
-
})[];
|
|
25
|
-
};
|
|
26
|
-
simpleTypes: {
|
|
27
|
-
enum: string[];
|
|
28
|
-
};
|
|
29
|
-
stringArray: {
|
|
30
|
-
type: string;
|
|
31
|
-
items: {
|
|
32
|
-
type: string;
|
|
33
|
-
};
|
|
34
|
-
minItems: number;
|
|
35
|
-
uniqueItems: boolean;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
type: string;
|
|
39
|
-
properties: {
|
|
40
|
-
id: {
|
|
41
|
-
type: string;
|
|
42
|
-
format: string;
|
|
43
|
-
};
|
|
44
|
-
$schema: {
|
|
45
|
-
type: string;
|
|
46
|
-
format: string;
|
|
47
|
-
};
|
|
48
|
-
title: {
|
|
49
|
-
type: string;
|
|
50
|
-
};
|
|
51
|
-
description: {
|
|
52
|
-
type: string;
|
|
53
|
-
};
|
|
54
|
-
default: {};
|
|
55
|
-
multipleOf: {
|
|
56
|
-
type: string;
|
|
57
|
-
minimum: number;
|
|
58
|
-
exclusiveMinimum: boolean;
|
|
59
|
-
};
|
|
60
|
-
maximum: {
|
|
61
|
-
type: string;
|
|
62
|
-
};
|
|
63
|
-
exclusiveMaximum: {
|
|
64
|
-
type: string;
|
|
65
|
-
default: boolean;
|
|
66
|
-
};
|
|
67
|
-
minimum: {
|
|
68
|
-
type: string;
|
|
69
|
-
};
|
|
70
|
-
exclusiveMinimum: {
|
|
71
|
-
type: string;
|
|
72
|
-
default: boolean;
|
|
73
|
-
};
|
|
74
|
-
maxLength: {
|
|
75
|
-
$ref: string;
|
|
76
|
-
};
|
|
77
|
-
minLength: {
|
|
78
|
-
$ref: string;
|
|
79
|
-
};
|
|
80
|
-
pattern: {
|
|
81
|
-
type: string;
|
|
82
|
-
format: string;
|
|
83
|
-
};
|
|
84
|
-
additionalItems: {
|
|
85
|
-
anyOf: ({
|
|
86
|
-
type: string;
|
|
87
|
-
$ref?: undefined;
|
|
88
|
-
} | {
|
|
89
|
-
$ref: string;
|
|
90
|
-
type?: undefined;
|
|
91
|
-
})[];
|
|
92
|
-
default: {};
|
|
93
|
-
};
|
|
94
|
-
items: {
|
|
95
|
-
anyOf: {
|
|
96
|
-
$ref: string;
|
|
97
|
-
}[];
|
|
98
|
-
default: {};
|
|
99
|
-
};
|
|
100
|
-
maxItems: {
|
|
101
|
-
$ref: string;
|
|
102
|
-
};
|
|
103
|
-
minItems: {
|
|
104
|
-
$ref: string;
|
|
105
|
-
};
|
|
106
|
-
uniqueItems: {
|
|
107
|
-
type: string;
|
|
108
|
-
default: boolean;
|
|
109
|
-
};
|
|
110
|
-
maxProperties: {
|
|
111
|
-
$ref: string;
|
|
112
|
-
};
|
|
113
|
-
minProperties: {
|
|
114
|
-
$ref: string;
|
|
115
|
-
};
|
|
116
|
-
required: {
|
|
117
|
-
$ref: string;
|
|
118
|
-
};
|
|
119
|
-
additionalProperties: {
|
|
120
|
-
anyOf: ({
|
|
121
|
-
type: string;
|
|
122
|
-
$ref?: undefined;
|
|
123
|
-
} | {
|
|
124
|
-
$ref: string;
|
|
125
|
-
type?: undefined;
|
|
126
|
-
})[];
|
|
127
|
-
default: {};
|
|
128
|
-
};
|
|
129
|
-
definitions: {
|
|
130
|
-
type: string;
|
|
131
|
-
additionalProperties: {
|
|
132
|
-
$ref: string;
|
|
133
|
-
};
|
|
134
|
-
default: {};
|
|
135
|
-
};
|
|
136
|
-
properties: {
|
|
137
|
-
type: string;
|
|
138
|
-
additionalProperties: {
|
|
139
|
-
$ref: string;
|
|
140
|
-
};
|
|
141
|
-
default: {};
|
|
142
|
-
};
|
|
143
|
-
patternProperties: {
|
|
144
|
-
type: string;
|
|
145
|
-
additionalProperties: {
|
|
146
|
-
$ref: string;
|
|
147
|
-
};
|
|
148
|
-
default: {};
|
|
149
|
-
};
|
|
150
|
-
dependencies: {
|
|
151
|
-
type: string;
|
|
152
|
-
additionalProperties: {
|
|
153
|
-
anyOf: {
|
|
154
|
-
$ref: string;
|
|
155
|
-
}[];
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
enum: {
|
|
159
|
-
type: string;
|
|
160
|
-
minItems: number;
|
|
161
|
-
uniqueItems: boolean;
|
|
162
|
-
};
|
|
163
|
-
type: {
|
|
164
|
-
anyOf: ({
|
|
165
|
-
$ref: string;
|
|
166
|
-
type?: undefined;
|
|
167
|
-
items?: undefined;
|
|
168
|
-
minItems?: undefined;
|
|
169
|
-
uniqueItems?: undefined;
|
|
170
|
-
} | {
|
|
171
|
-
type: string;
|
|
172
|
-
items: {
|
|
173
|
-
$ref: string;
|
|
174
|
-
};
|
|
175
|
-
minItems: number;
|
|
176
|
-
uniqueItems: boolean;
|
|
177
|
-
$ref?: undefined;
|
|
178
|
-
})[];
|
|
179
|
-
};
|
|
180
|
-
allOf: {
|
|
181
|
-
$ref: string;
|
|
182
|
-
};
|
|
183
|
-
anyOf: {
|
|
184
|
-
$ref: string;
|
|
185
|
-
};
|
|
186
|
-
oneOf: {
|
|
187
|
-
$ref: string;
|
|
188
|
-
};
|
|
189
|
-
not: {
|
|
190
|
-
$ref: string;
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
dependencies: {
|
|
194
|
-
exclusiveMaximum: string[];
|
|
195
|
-
exclusiveMinimum: string[];
|
|
196
|
-
};
|
|
197
|
-
default: {};
|
|
198
|
-
};
|
|
1
|
+
export declare const Draft4: {
|
|
2
|
+
id: string;
|
|
3
|
+
$schema: string;
|
|
4
|
+
description: string;
|
|
5
|
+
definitions: {
|
|
6
|
+
schemaArray: {
|
|
7
|
+
type: string;
|
|
8
|
+
minItems: number;
|
|
9
|
+
items: {
|
|
10
|
+
$ref: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
positiveInteger: {
|
|
14
|
+
type: string;
|
|
15
|
+
minimum: number;
|
|
16
|
+
};
|
|
17
|
+
positiveIntegerDefault0: {
|
|
18
|
+
allOf: ({
|
|
19
|
+
$ref: string;
|
|
20
|
+
default?: undefined;
|
|
21
|
+
} | {
|
|
22
|
+
default: number;
|
|
23
|
+
$ref?: undefined;
|
|
24
|
+
})[];
|
|
25
|
+
};
|
|
26
|
+
simpleTypes: {
|
|
27
|
+
enum: string[];
|
|
28
|
+
};
|
|
29
|
+
stringArray: {
|
|
30
|
+
type: string;
|
|
31
|
+
items: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
minItems: number;
|
|
35
|
+
uniqueItems: boolean;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type: string;
|
|
39
|
+
properties: {
|
|
40
|
+
id: {
|
|
41
|
+
type: string;
|
|
42
|
+
format: string;
|
|
43
|
+
};
|
|
44
|
+
$schema: {
|
|
45
|
+
type: string;
|
|
46
|
+
format: string;
|
|
47
|
+
};
|
|
48
|
+
title: {
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
description: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
default: {};
|
|
55
|
+
multipleOf: {
|
|
56
|
+
type: string;
|
|
57
|
+
minimum: number;
|
|
58
|
+
exclusiveMinimum: boolean;
|
|
59
|
+
};
|
|
60
|
+
maximum: {
|
|
61
|
+
type: string;
|
|
62
|
+
};
|
|
63
|
+
exclusiveMaximum: {
|
|
64
|
+
type: string;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
minimum: {
|
|
68
|
+
type: string;
|
|
69
|
+
};
|
|
70
|
+
exclusiveMinimum: {
|
|
71
|
+
type: string;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
maxLength: {
|
|
75
|
+
$ref: string;
|
|
76
|
+
};
|
|
77
|
+
minLength: {
|
|
78
|
+
$ref: string;
|
|
79
|
+
};
|
|
80
|
+
pattern: {
|
|
81
|
+
type: string;
|
|
82
|
+
format: string;
|
|
83
|
+
};
|
|
84
|
+
additionalItems: {
|
|
85
|
+
anyOf: ({
|
|
86
|
+
type: string;
|
|
87
|
+
$ref?: undefined;
|
|
88
|
+
} | {
|
|
89
|
+
$ref: string;
|
|
90
|
+
type?: undefined;
|
|
91
|
+
})[];
|
|
92
|
+
default: {};
|
|
93
|
+
};
|
|
94
|
+
items: {
|
|
95
|
+
anyOf: {
|
|
96
|
+
$ref: string;
|
|
97
|
+
}[];
|
|
98
|
+
default: {};
|
|
99
|
+
};
|
|
100
|
+
maxItems: {
|
|
101
|
+
$ref: string;
|
|
102
|
+
};
|
|
103
|
+
minItems: {
|
|
104
|
+
$ref: string;
|
|
105
|
+
};
|
|
106
|
+
uniqueItems: {
|
|
107
|
+
type: string;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
maxProperties: {
|
|
111
|
+
$ref: string;
|
|
112
|
+
};
|
|
113
|
+
minProperties: {
|
|
114
|
+
$ref: string;
|
|
115
|
+
};
|
|
116
|
+
required: {
|
|
117
|
+
$ref: string;
|
|
118
|
+
};
|
|
119
|
+
additionalProperties: {
|
|
120
|
+
anyOf: ({
|
|
121
|
+
type: string;
|
|
122
|
+
$ref?: undefined;
|
|
123
|
+
} | {
|
|
124
|
+
$ref: string;
|
|
125
|
+
type?: undefined;
|
|
126
|
+
})[];
|
|
127
|
+
default: {};
|
|
128
|
+
};
|
|
129
|
+
definitions: {
|
|
130
|
+
type: string;
|
|
131
|
+
additionalProperties: {
|
|
132
|
+
$ref: string;
|
|
133
|
+
};
|
|
134
|
+
default: {};
|
|
135
|
+
};
|
|
136
|
+
properties: {
|
|
137
|
+
type: string;
|
|
138
|
+
additionalProperties: {
|
|
139
|
+
$ref: string;
|
|
140
|
+
};
|
|
141
|
+
default: {};
|
|
142
|
+
};
|
|
143
|
+
patternProperties: {
|
|
144
|
+
type: string;
|
|
145
|
+
additionalProperties: {
|
|
146
|
+
$ref: string;
|
|
147
|
+
};
|
|
148
|
+
default: {};
|
|
149
|
+
};
|
|
150
|
+
dependencies: {
|
|
151
|
+
type: string;
|
|
152
|
+
additionalProperties: {
|
|
153
|
+
anyOf: {
|
|
154
|
+
$ref: string;
|
|
155
|
+
}[];
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
enum: {
|
|
159
|
+
type: string;
|
|
160
|
+
minItems: number;
|
|
161
|
+
uniqueItems: boolean;
|
|
162
|
+
};
|
|
163
|
+
type: {
|
|
164
|
+
anyOf: ({
|
|
165
|
+
$ref: string;
|
|
166
|
+
type?: undefined;
|
|
167
|
+
items?: undefined;
|
|
168
|
+
minItems?: undefined;
|
|
169
|
+
uniqueItems?: undefined;
|
|
170
|
+
} | {
|
|
171
|
+
type: string;
|
|
172
|
+
items: {
|
|
173
|
+
$ref: string;
|
|
174
|
+
};
|
|
175
|
+
minItems: number;
|
|
176
|
+
uniqueItems: boolean;
|
|
177
|
+
$ref?: undefined;
|
|
178
|
+
})[];
|
|
179
|
+
};
|
|
180
|
+
allOf: {
|
|
181
|
+
$ref: string;
|
|
182
|
+
};
|
|
183
|
+
anyOf: {
|
|
184
|
+
$ref: string;
|
|
185
|
+
};
|
|
186
|
+
oneOf: {
|
|
187
|
+
$ref: string;
|
|
188
|
+
};
|
|
189
|
+
not: {
|
|
190
|
+
$ref: string;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
dependencies: {
|
|
194
|
+
exclusiveMaximum: string[];
|
|
195
|
+
exclusiveMinimum: string[];
|
|
196
|
+
};
|
|
197
|
+
default: {};
|
|
198
|
+
};
|
package/lib/models/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './draft4';
|
|
2
|
-
export * from './jsonSchema';
|
|
3
|
-
export * from './jsonSchema4';
|
|
4
|
-
export * from './jsonSchema7';
|
|
5
|
-
export * from './uischema';
|
|
1
|
+
export * from './draft4';
|
|
2
|
+
export * from './jsonSchema';
|
|
3
|
+
export * from './jsonSchema4';
|
|
4
|
+
export * from './jsonSchema7';
|
|
5
|
+
export * from './uischema';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { JsonSchema4 } from './jsonSchema4';
|
|
2
|
-
import type { JsonSchema7 } from './jsonSchema7';
|
|
3
|
-
export type JsonSchema = JsonSchema4 | JsonSchema7;
|
|
1
|
+
import type { JsonSchema4 } from './jsonSchema4';
|
|
2
|
+
import type { JsonSchema7 } from './jsonSchema7';
|
|
3
|
+
export type JsonSchema = JsonSchema4 | JsonSchema7;
|