@jsonforms/examples 3.0.0-alpha.3 → 3.0.0-beta.2
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/docs/assets/js/search.json +1 -1
- package/docs/globals.html +860 -879
- package/lib/example.d.ts +23 -23
- package/lib/examples/1169.d.ts +24 -24
- package/lib/examples/1220.d.ts +4 -4
- package/lib/examples/1253.d.ts +16 -16
- package/lib/examples/1254.d.ts +21 -21
- package/lib/examples/1645.d.ts +68 -68
- package/lib/examples/1779.d.ts +1 -1
- package/lib/examples/allOf.d.ts +56 -56
- package/lib/examples/anyOf-oneOf-allOf-resolve.d.ts +44 -44
- package/lib/examples/anyOf.d.ts +64 -64
- package/lib/examples/arrays-with-custom-element-label.d.ts +43 -43
- package/lib/examples/arrays-with-detail-and-rule.d.ts +91 -91
- package/lib/examples/arrays-with-detail.d.ts +65 -65
- package/lib/examples/arrays.d.ts +55 -51
- package/lib/examples/booleanToggle.d.ts +62 -62
- package/lib/examples/categorization.d.ts +135 -135
- package/lib/examples/conditional-schema-compositions.d.ts +56 -0
- package/lib/examples/config.d.ts +29 -29
- package/lib/examples/control-options.d.ts +190 -190
- package/lib/examples/dates.d.ts +1 -1
- package/lib/examples/day1.d.ts +23 -23
- package/lib/examples/day2.d.ts +42 -42
- package/lib/examples/day3.d.ts +51 -51
- package/lib/examples/day4.d.ts +72 -72
- package/lib/examples/day5.d.ts +133 -133
- package/lib/examples/day6.d.ts +85 -85
- package/lib/examples/default.d.ts +64 -64
- package/lib/examples/dynamic.d.ts +1 -1
- package/lib/examples/enum.d.ts +49 -49
- package/lib/examples/enumInArray.d.ts +27 -27
- package/lib/examples/generate.d.ts +12 -12
- package/lib/examples/generateUI.d.ts +33 -33
- package/lib/examples/huge.d.ts +1 -1
- package/lib/examples/i18n.d.ts +25 -25
- package/lib/examples/if_then_else.d.ts +25 -25
- package/lib/examples/layout.d.ts +97 -97
- package/lib/examples/list-with-detail-registered.d.ts +1 -1
- package/lib/examples/list-with-detail.d.ts +1 -1
- package/lib/examples/multi-enum.d.ts +34 -34
- package/lib/examples/nestedArrays.d.ts +11 -11
- package/lib/examples/numbers.d.ts +46 -46
- package/lib/examples/object.d.ts +67 -56
- package/lib/examples/onChange.d.ts +18 -18
- package/lib/examples/oneOf-recursive.d.ts +48 -48
- package/lib/examples/oneOf.d.ts +53 -53
- package/lib/examples/oneOfArray.d.ts +53 -53
- package/lib/examples/person.d.ts +99 -99
- package/lib/examples/radioGroup.d.ts +1 -1
- package/lib/examples/readonly.d.ts +36 -36
- package/lib/examples/rule.d.ts +59 -59
- package/lib/examples/ruleInheritance.d.ts +26 -26
- package/lib/examples/scope.d.ts +50 -50
- package/lib/examples/stepper.d.ts +138 -138
- package/lib/examples/steppershownav.d.ts +139 -139
- package/lib/examples/stringArray.d.ts +22 -22
- package/lib/examples/text.d.ts +37 -37
- package/lib/index.d.ts +58 -58
- package/lib/jsonforms-examples.cjs.js +6134 -0
- package/lib/jsonforms-examples.cjs.js.map +1 -0
- package/lib/jsonforms-examples.esm.js +6112 -0
- package/lib/jsonforms-examples.esm.js.map +1 -0
- package/lib/register.d.ts +3 -3
- package/package.json +14 -7
- package/rollup.config.js +48 -0
- package/src/examples/arrays.ts +4 -0
- package/src/examples/conditional-schema-compositions.ts +118 -0
- package/src/examples/nestedArrays.ts +15 -10
- package/src/examples/object.ts +13 -0
- package/src/index.ts +3 -3
- package/stats.html +3279 -0
- package/lib/example.js +0 -3
- package/lib/example.js.map +0 -1
- package/lib/examples/1169.js +0 -61
- package/lib/examples/1169.js.map +0 -1
- package/lib/examples/1220.js +0 -138
- package/lib/examples/1220.js.map +0 -1
- package/lib/examples/1253.js +0 -202
- package/lib/examples/1253.js.map +0 -1
- package/lib/examples/1254.js +0 -67
- package/lib/examples/1254.js.map +0 -1
- package/lib/examples/1645.js +0 -65
- package/lib/examples/1645.js.map +0 -1
- package/lib/examples/1779.js +0 -82
- package/lib/examples/1779.js.map +0 -1
- package/lib/examples/allOf.js +0 -92
- package/lib/examples/allOf.js.map +0 -1
- package/lib/examples/anyOf-oneOf-allOf-resolve.js +0 -95
- package/lib/examples/anyOf-oneOf-allOf-resolve.js.map +0 -1
- package/lib/examples/anyOf.js +0 -115
- package/lib/examples/anyOf.js.map +0 -1
- package/lib/examples/arrays-with-custom-element-label.js +0 -95
- package/lib/examples/arrays-with-custom-element-label.js.map +0 -1
- package/lib/examples/arrays-with-detail-and-rule.js +0 -122
- package/lib/examples/arrays-with-detail-and-rule.js.map +0 -1
- package/lib/examples/arrays-with-detail.js +0 -97
- package/lib/examples/arrays-with-detail.js.map +0 -1
- package/lib/examples/arrays.js +0 -120
- package/lib/examples/arrays.js.map +0 -1
- package/lib/examples/booleanToggle.js +0 -68
- package/lib/examples/booleanToggle.js.map +0 -1
- package/lib/examples/categorization.js +0 -301
- package/lib/examples/categorization.js.map +0 -1
- package/lib/examples/config.js +0 -90
- package/lib/examples/config.js.map +0 -1
- package/lib/examples/control-options.js +0 -240
- package/lib/examples/control-options.js.map +0 -1
- package/lib/examples/dates.js +0 -150
- package/lib/examples/dates.js.map +0 -1
- package/lib/examples/day1.js +0 -60
- package/lib/examples/day1.js.map +0 -1
- package/lib/examples/day2.js +0 -62
- package/lib/examples/day2.js.map +0 -1
- package/lib/examples/day3.js +0 -65
- package/lib/examples/day3.js.map +0 -1
- package/lib/examples/day4.js +0 -71
- package/lib/examples/day4.js.map +0 -1
- package/lib/examples/day5.js +0 -168
- package/lib/examples/day5.js.map +0 -1
- package/lib/examples/day6.js +0 -42
- package/lib/examples/day6.js.map +0 -1
- package/lib/examples/default.js +0 -118
- package/lib/examples/default.js.map +0 -1
- package/lib/examples/dynamic.js +0 -23
- package/lib/examples/dynamic.js.map +0 -1
- package/lib/examples/enum.js +0 -129
- package/lib/examples/enum.js.map +0 -1
- package/lib/examples/enumInArray.js +0 -44
- package/lib/examples/enumInArray.js.map +0 -1
- package/lib/examples/generate.js +0 -42
- package/lib/examples/generate.js.map +0 -1
- package/lib/examples/generateUI.js +0 -42
- package/lib/examples/generateUI.js.map +0 -1
- package/lib/examples/huge.js +0 -1361
- package/lib/examples/huge.js.map +0 -1
- package/lib/examples/i18n.js +0 -94
- package/lib/examples/i18n.js.map +0 -1
- package/lib/examples/if_then_else.js +0 -49
- package/lib/examples/if_then_else.js.map +0 -1
- package/lib/examples/layout.js +0 -149
- package/lib/examples/layout.js.map +0 -1
- package/lib/examples/list-with-detail-registered.js +0 -104
- package/lib/examples/list-with-detail-registered.js.map +0 -1
- package/lib/examples/list-with-detail.js +0 -302
- package/lib/examples/list-with-detail.js.map +0 -1
- package/lib/examples/multi-enum.js +0 -76
- package/lib/examples/multi-enum.js.map +0 -1
- package/lib/examples/nestedArrays.js +0 -117
- package/lib/examples/nestedArrays.js.map +0 -1
- package/lib/examples/numbers.js +0 -89
- package/lib/examples/numbers.js.map +0 -1
- package/lib/examples/object.js +0 -100
- package/lib/examples/object.js.map +0 -1
- package/lib/examples/onChange.js +0 -71
- package/lib/examples/onChange.js.map +0 -1
- package/lib/examples/oneOf-recursive.js +0 -81
- package/lib/examples/oneOf-recursive.js.map +0 -1
- package/lib/examples/oneOf.js +0 -337
- package/lib/examples/oneOf.js.map +0 -1
- package/lib/examples/oneOfArray.js +0 -96
- package/lib/examples/oneOfArray.js.map +0 -1
- package/lib/examples/person.js +0 -156
- package/lib/examples/person.js.map +0 -1
- package/lib/examples/radioGroup.js +0 -86
- package/lib/examples/radioGroup.js.map +0 -1
- package/lib/examples/readonly.js +0 -81
- package/lib/examples/readonly.js.map +0 -1
- package/lib/examples/resolve.d.ts +0 -45
- package/lib/examples/resolve.js +0 -87
- package/lib/examples/resolve.js.map +0 -1
- package/lib/examples/rule.js +0 -123
- package/lib/examples/rule.js.map +0 -1
- package/lib/examples/ruleInheritance.js +0 -97
- package/lib/examples/ruleInheritance.js.map +0 -1
- package/lib/examples/scope.js +0 -113
- package/lib/examples/scope.js.map +0 -1
- package/lib/examples/stepper.js +0 -45
- package/lib/examples/stepper.js.map +0 -1
- package/lib/examples/steppershownav.js +0 -46
- package/lib/examples/steppershownav.js.map +0 -1
- package/lib/examples/stringArray.js +0 -62
- package/lib/examples/stringArray.js.map +0 -1
- package/lib/examples/text.js +0 -97
- package/lib/examples/text.js.map +0 -1
- package/lib/index.js +0 -142
- package/lib/index.js.map +0 -1
- package/lib/register.js +0 -13
- package/lib/register.js.map +0 -1
- package/src/examples/resolve.ts +0 -87
- package/webpack.build.js +0 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export declare const schema: {
|
|
2
|
-
type: string;
|
|
3
|
-
properties: {
|
|
4
|
-
oneOfMultiEnum: {
|
|
5
|
-
type: string;
|
|
6
|
-
uniqueItems: boolean;
|
|
7
|
-
items: {
|
|
8
|
-
oneOf: {
|
|
9
|
-
const: string;
|
|
10
|
-
title: string;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
multiEnum: {
|
|
15
|
-
type: string;
|
|
16
|
-
uniqueItems: boolean;
|
|
17
|
-
items: {
|
|
18
|
-
type: string;
|
|
19
|
-
enum: string[];
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const uischema: {
|
|
25
|
-
type: string;
|
|
26
|
-
elements: {
|
|
27
|
-
type: string;
|
|
28
|
-
scope: string;
|
|
29
|
-
}[];
|
|
30
|
-
};
|
|
31
|
-
export declare const data: {
|
|
32
|
-
oneOfMultiEnum: string[];
|
|
33
|
-
multiEnum: string[];
|
|
34
|
-
};
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
oneOfMultiEnum: {
|
|
5
|
+
type: string;
|
|
6
|
+
uniqueItems: boolean;
|
|
7
|
+
items: {
|
|
8
|
+
oneOf: {
|
|
9
|
+
const: string;
|
|
10
|
+
title: string;
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
multiEnum: {
|
|
15
|
+
type: string;
|
|
16
|
+
uniqueItems: boolean;
|
|
17
|
+
items: {
|
|
18
|
+
type: string;
|
|
19
|
+
enum: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const uischema: {
|
|
25
|
+
type: string;
|
|
26
|
+
elements: {
|
|
27
|
+
type: string;
|
|
28
|
+
scope: string;
|
|
29
|
+
}[];
|
|
30
|
+
};
|
|
31
|
+
export declare const data: {
|
|
32
|
+
oneOfMultiEnum: string[];
|
|
33
|
+
multiEnum: string[];
|
|
34
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare const uischema: {
|
|
2
|
-
type: string;
|
|
3
|
-
elements: {
|
|
4
|
-
type: string;
|
|
5
|
-
label: {
|
|
6
|
-
text: string;
|
|
7
|
-
show: boolean;
|
|
8
|
-
};
|
|
9
|
-
scope: string;
|
|
10
|
-
}[];
|
|
11
|
-
};
|
|
1
|
+
export declare const uischema: {
|
|
2
|
+
type: string;
|
|
3
|
+
elements: {
|
|
4
|
+
type: string;
|
|
5
|
+
label: {
|
|
6
|
+
text: string;
|
|
7
|
+
show: boolean;
|
|
8
|
+
};
|
|
9
|
+
scope: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
export declare const schema: {
|
|
2
|
-
type: string;
|
|
3
|
-
properties: {
|
|
4
|
-
price: {
|
|
5
|
-
type: string;
|
|
6
|
-
maximum: number;
|
|
7
|
-
minimum: number;
|
|
8
|
-
default: number;
|
|
9
|
-
};
|
|
10
|
-
age: {
|
|
11
|
-
type: string;
|
|
12
|
-
};
|
|
13
|
-
height: {
|
|
14
|
-
type: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export declare const uischema: {
|
|
19
|
-
type: string;
|
|
20
|
-
elements: {
|
|
21
|
-
type: string;
|
|
22
|
-
elements: ({
|
|
23
|
-
type: string;
|
|
24
|
-
scope: string;
|
|
25
|
-
label: {
|
|
26
|
-
text: string;
|
|
27
|
-
};
|
|
28
|
-
options?: undefined;
|
|
29
|
-
} | {
|
|
30
|
-
type: string;
|
|
31
|
-
scope: string;
|
|
32
|
-
label?: undefined;
|
|
33
|
-
options?: undefined;
|
|
34
|
-
} | {
|
|
35
|
-
type: string;
|
|
36
|
-
scope: string;
|
|
37
|
-
label: {
|
|
38
|
-
text: string;
|
|
39
|
-
};
|
|
40
|
-
options: {
|
|
41
|
-
slider: boolean;
|
|
42
|
-
};
|
|
43
|
-
})[];
|
|
44
|
-
}[];
|
|
45
|
-
};
|
|
46
|
-
export declare const data: {};
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
price: {
|
|
5
|
+
type: string;
|
|
6
|
+
maximum: number;
|
|
7
|
+
minimum: number;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
age: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
height: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const uischema: {
|
|
19
|
+
type: string;
|
|
20
|
+
elements: {
|
|
21
|
+
type: string;
|
|
22
|
+
elements: ({
|
|
23
|
+
type: string;
|
|
24
|
+
scope: string;
|
|
25
|
+
label: {
|
|
26
|
+
text: string;
|
|
27
|
+
};
|
|
28
|
+
options?: undefined;
|
|
29
|
+
} | {
|
|
30
|
+
type: string;
|
|
31
|
+
scope: string;
|
|
32
|
+
label?: undefined;
|
|
33
|
+
options?: undefined;
|
|
34
|
+
} | {
|
|
35
|
+
type: string;
|
|
36
|
+
scope: string;
|
|
37
|
+
label: {
|
|
38
|
+
text: string;
|
|
39
|
+
};
|
|
40
|
+
options: {
|
|
41
|
+
slider: boolean;
|
|
42
|
+
};
|
|
43
|
+
})[];
|
|
44
|
+
}[];
|
|
45
|
+
};
|
|
46
|
+
export declare const data: {};
|
package/lib/examples/object.d.ts
CHANGED
|
@@ -1,56 +1,67 @@
|
|
|
1
|
-
export declare const schema: {
|
|
2
|
-
$schema: string;
|
|
3
|
-
type: string;
|
|
4
|
-
properties: {
|
|
5
|
-
address: {
|
|
6
|
-
type: string;
|
|
7
|
-
properties: {
|
|
8
|
-
street_address: {
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
city: {
|
|
12
|
-
type: string;
|
|
13
|
-
};
|
|
14
|
-
state: {
|
|
15
|
-
type: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
required: string[];
|
|
19
|
-
};
|
|
20
|
-
user: {
|
|
21
|
-
type: string;
|
|
22
|
-
properties: {
|
|
23
|
-
name: {
|
|
24
|
-
type: string;
|
|
25
|
-
};
|
|
26
|
-
mail: {
|
|
27
|
-
type: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
required: string[];
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export declare const uischemaRoot: {
|
|
35
|
-
type: string;
|
|
36
|
-
scope: string;
|
|
37
|
-
};
|
|
38
|
-
export declare const uischemaNonRoot: {
|
|
39
|
-
type: string;
|
|
40
|
-
elements: ({
|
|
41
|
-
type: string;
|
|
42
|
-
scope: string;
|
|
43
|
-
rule?: undefined;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
$schema: string;
|
|
3
|
+
type: string;
|
|
4
|
+
properties: {
|
|
5
|
+
address: {
|
|
6
|
+
type: string;
|
|
7
|
+
properties: {
|
|
8
|
+
street_address: {
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
11
|
+
city: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
state: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
required: string[];
|
|
19
|
+
};
|
|
20
|
+
user: {
|
|
21
|
+
type: string;
|
|
22
|
+
properties: {
|
|
23
|
+
name: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
mail: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
required: string[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const uischemaRoot: {
|
|
35
|
+
type: string;
|
|
36
|
+
scope: string;
|
|
37
|
+
};
|
|
38
|
+
export declare const uischemaNonRoot: {
|
|
39
|
+
type: string;
|
|
40
|
+
elements: ({
|
|
41
|
+
type: string;
|
|
42
|
+
scope: string;
|
|
43
|
+
rule?: undefined;
|
|
44
|
+
options?: undefined;
|
|
45
|
+
} | {
|
|
46
|
+
type: string;
|
|
47
|
+
scope: string;
|
|
48
|
+
rule: {
|
|
49
|
+
effect: string;
|
|
50
|
+
condition: {
|
|
51
|
+
type: string;
|
|
52
|
+
scope: string;
|
|
53
|
+
expectedValue: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
options: {
|
|
57
|
+
detail: {
|
|
58
|
+
type: string;
|
|
59
|
+
label: string;
|
|
60
|
+
elements: {
|
|
61
|
+
type: string;
|
|
62
|
+
scope: string;
|
|
63
|
+
}[];
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
})[];
|
|
67
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { UISchemaElement, JsonFormsCore, AnyAction, Dispatch } from '@jsonforms/core';
|
|
2
|
-
export declare const onChange: (dispatch: Dispatch<AnyAction>) => (_: any) => ({ data, errors }: Pick<JsonFormsCore, 'data' | 'errors'>) => import("@jsonforms/core").UpdateErrorsAction;
|
|
3
|
-
export declare const schema: {
|
|
4
|
-
type: string;
|
|
5
|
-
properties: {
|
|
6
|
-
name: {
|
|
7
|
-
type: string;
|
|
8
|
-
minLength: number;
|
|
9
|
-
};
|
|
10
|
-
description: {
|
|
11
|
-
type: string;
|
|
12
|
-
minLength: number;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
required: string[];
|
|
16
|
-
};
|
|
17
|
-
export declare const uischema: UISchemaElement;
|
|
18
|
-
export declare const data: {};
|
|
1
|
+
import { UISchemaElement, JsonFormsCore, AnyAction, Dispatch } from '@jsonforms/core';
|
|
2
|
+
export declare const onChange: (dispatch: Dispatch<AnyAction>) => (_: any) => ({ data, errors }: Pick<JsonFormsCore, 'data' | 'errors'>) => import("@jsonforms/core").UpdateErrorsAction;
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
type: string;
|
|
5
|
+
properties: {
|
|
6
|
+
name: {
|
|
7
|
+
type: string;
|
|
8
|
+
minLength: number;
|
|
9
|
+
};
|
|
10
|
+
description: {
|
|
11
|
+
type: string;
|
|
12
|
+
minLength: number;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
required: string[];
|
|
16
|
+
};
|
|
17
|
+
export declare const uischema: UISchemaElement;
|
|
18
|
+
export declare const data: {};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
export declare const schema: {
|
|
2
|
-
$schema: string;
|
|
3
|
-
definitions: {
|
|
4
|
-
fileOrFolder: {
|
|
5
|
-
title: string;
|
|
6
|
-
oneOf: {
|
|
7
|
-
$ref: string;
|
|
8
|
-
}[];
|
|
9
|
-
};
|
|
10
|
-
file: {
|
|
11
|
-
title: string;
|
|
12
|
-
type: string;
|
|
13
|
-
properties: {
|
|
14
|
-
name: {
|
|
15
|
-
type: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
folder: {
|
|
20
|
-
type: string;
|
|
21
|
-
title: string;
|
|
22
|
-
properties: {
|
|
23
|
-
name: {
|
|
24
|
-
type: string;
|
|
25
|
-
};
|
|
26
|
-
children: {
|
|
27
|
-
type: string;
|
|
28
|
-
items: {
|
|
29
|
-
$ref: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
type: string;
|
|
36
|
-
properties: {
|
|
37
|
-
root: {
|
|
38
|
-
type: string;
|
|
39
|
-
items: {
|
|
40
|
-
$ref: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export declare const uischema: {
|
|
46
|
-
type: string;
|
|
47
|
-
scope: string;
|
|
48
|
-
};
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
$schema: string;
|
|
3
|
+
definitions: {
|
|
4
|
+
fileOrFolder: {
|
|
5
|
+
title: string;
|
|
6
|
+
oneOf: {
|
|
7
|
+
$ref: string;
|
|
8
|
+
}[];
|
|
9
|
+
};
|
|
10
|
+
file: {
|
|
11
|
+
title: string;
|
|
12
|
+
type: string;
|
|
13
|
+
properties: {
|
|
14
|
+
name: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
folder: {
|
|
20
|
+
type: string;
|
|
21
|
+
title: string;
|
|
22
|
+
properties: {
|
|
23
|
+
name: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
children: {
|
|
27
|
+
type: string;
|
|
28
|
+
items: {
|
|
29
|
+
$ref: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type: string;
|
|
36
|
+
properties: {
|
|
37
|
+
root: {
|
|
38
|
+
type: string;
|
|
39
|
+
items: {
|
|
40
|
+
$ref: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export declare const uischema: {
|
|
46
|
+
type: string;
|
|
47
|
+
scope: string;
|
|
48
|
+
};
|
package/lib/examples/oneOf.d.ts
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
export declare const schema: {
|
|
2
|
-
$schema: string;
|
|
3
|
-
definitions: {
|
|
4
|
-
address: {
|
|
5
|
-
type: string;
|
|
6
|
-
properties: {
|
|
7
|
-
street_address: {
|
|
8
|
-
type: string;
|
|
9
|
-
};
|
|
10
|
-
city: {
|
|
11
|
-
type: string;
|
|
12
|
-
};
|
|
13
|
-
state: {
|
|
14
|
-
type: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
required: string[];
|
|
18
|
-
additionalProperties: boolean;
|
|
19
|
-
};
|
|
20
|
-
user: {
|
|
21
|
-
type: string;
|
|
22
|
-
properties: {
|
|
23
|
-
name: {
|
|
24
|
-
type: string;
|
|
25
|
-
};
|
|
26
|
-
mail: {
|
|
27
|
-
type: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
required: string[];
|
|
31
|
-
additionalProperties: boolean;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
type: string;
|
|
35
|
-
properties: {
|
|
36
|
-
name: {
|
|
37
|
-
type: string;
|
|
38
|
-
};
|
|
39
|
-
addressOrUser: {
|
|
40
|
-
oneOf: {
|
|
41
|
-
$ref: string;
|
|
42
|
-
}[];
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
required: string[];
|
|
46
|
-
};
|
|
47
|
-
export declare const uischema: {
|
|
48
|
-
type: string;
|
|
49
|
-
elements: {
|
|
50
|
-
type: string;
|
|
51
|
-
scope: string;
|
|
52
|
-
}[];
|
|
53
|
-
};
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
$schema: string;
|
|
3
|
+
definitions: {
|
|
4
|
+
address: {
|
|
5
|
+
type: string;
|
|
6
|
+
properties: {
|
|
7
|
+
street_address: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
city: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
state: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
required: string[];
|
|
18
|
+
additionalProperties: boolean;
|
|
19
|
+
};
|
|
20
|
+
user: {
|
|
21
|
+
type: string;
|
|
22
|
+
properties: {
|
|
23
|
+
name: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
mail: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
required: string[];
|
|
31
|
+
additionalProperties: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type: string;
|
|
35
|
+
properties: {
|
|
36
|
+
name: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
addressOrUser: {
|
|
40
|
+
oneOf: {
|
|
41
|
+
$ref: string;
|
|
42
|
+
}[];
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
required: string[];
|
|
46
|
+
};
|
|
47
|
+
export declare const uischema: {
|
|
48
|
+
type: string;
|
|
49
|
+
elements: {
|
|
50
|
+
type: string;
|
|
51
|
+
scope: string;
|
|
52
|
+
}[];
|
|
53
|
+
};
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
export declare const schema: {
|
|
2
|
-
$schema: string;
|
|
3
|
-
definitions: {
|
|
4
|
-
address: {
|
|
5
|
-
type: string;
|
|
6
|
-
properties: {
|
|
7
|
-
street_address: {
|
|
8
|
-
type: string;
|
|
9
|
-
};
|
|
10
|
-
city: {
|
|
11
|
-
type: string;
|
|
12
|
-
};
|
|
13
|
-
state: {
|
|
14
|
-
type: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
required: string[];
|
|
18
|
-
};
|
|
19
|
-
user: {
|
|
20
|
-
type: string;
|
|
21
|
-
properties: {
|
|
22
|
-
name: {
|
|
23
|
-
type: string;
|
|
24
|
-
};
|
|
25
|
-
mail: {
|
|
26
|
-
type: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
required: string[];
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
type: string;
|
|
33
|
-
properties: {
|
|
34
|
-
name: {
|
|
35
|
-
type: string;
|
|
36
|
-
};
|
|
37
|
-
addressOrUsers: {
|
|
38
|
-
type: string;
|
|
39
|
-
items: {
|
|
40
|
-
oneOf: {
|
|
41
|
-
$ref: string;
|
|
42
|
-
}[];
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
export declare const uischema: {
|
|
48
|
-
type: string;
|
|
49
|
-
elements: {
|
|
50
|
-
type: string;
|
|
51
|
-
scope: string;
|
|
52
|
-
}[];
|
|
53
|
-
};
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
$schema: string;
|
|
3
|
+
definitions: {
|
|
4
|
+
address: {
|
|
5
|
+
type: string;
|
|
6
|
+
properties: {
|
|
7
|
+
street_address: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
city: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
state: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
required: string[];
|
|
18
|
+
};
|
|
19
|
+
user: {
|
|
20
|
+
type: string;
|
|
21
|
+
properties: {
|
|
22
|
+
name: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
mail: {
|
|
26
|
+
type: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
required: string[];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
type: string;
|
|
33
|
+
properties: {
|
|
34
|
+
name: {
|
|
35
|
+
type: string;
|
|
36
|
+
};
|
|
37
|
+
addressOrUsers: {
|
|
38
|
+
type: string;
|
|
39
|
+
items: {
|
|
40
|
+
oneOf: {
|
|
41
|
+
$ref: string;
|
|
42
|
+
}[];
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export declare const uischema: {
|
|
48
|
+
type: string;
|
|
49
|
+
elements: {
|
|
50
|
+
type: string;
|
|
51
|
+
scope: string;
|
|
52
|
+
}[];
|
|
53
|
+
};
|