@prismatic-io/spectral 7.3.3 → 7.3.5
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/types/Inputs.d.ts +17 -3
- package/package.json +3 -2
package/dist/types/Inputs.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ConditionalExpression } from "./conditional-logic";
|
|
2
|
+
import { JsonSchema, UISchemaElement } from "@jsonforms/core";
|
|
2
3
|
export declare type Element = {
|
|
3
4
|
key: string;
|
|
4
5
|
label?: string;
|
|
@@ -22,9 +23,22 @@ export declare type ObjectFieldMap = {
|
|
|
22
23
|
}[];
|
|
23
24
|
};
|
|
24
25
|
export declare type JSONForm = {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
/**
|
|
27
|
+
* The data/JSON schema defines the underlying data to
|
|
28
|
+
* be shown in the UI (objects, properties, and their
|
|
29
|
+
* types). See https://jsonforms.io/docs
|
|
30
|
+
*/
|
|
31
|
+
schema: JsonSchema;
|
|
32
|
+
/**
|
|
33
|
+
* The UI schema defines how this data is rendered as a
|
|
34
|
+
* form, e.g. the order of controls, their visibility,
|
|
35
|
+
* and the layout. See https://jsonforms.io/docs/uischema/
|
|
36
|
+
*/
|
|
37
|
+
uiSchema: UISchemaElement;
|
|
38
|
+
/**
|
|
39
|
+
* Optional default data to use in the inputs of your form
|
|
40
|
+
*/
|
|
41
|
+
data?: Record<string, unknown>;
|
|
28
42
|
};
|
|
29
43
|
export declare type DynamicObjectSelection = string;
|
|
30
44
|
export declare type DynamicFieldSelection = string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prismatic-io/spectral",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.5",
|
|
4
4
|
"description": "Utility library for building Prismatic components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"prismatic"
|
|
@@ -37,12 +37,13 @@
|
|
|
37
37
|
"dist/"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
+
"@jsonforms/core": "3.0.0",
|
|
40
41
|
"axios": "0.27.2",
|
|
41
42
|
"axios-retry": "3.2.5",
|
|
42
43
|
"date-fns": "2.28.0",
|
|
43
44
|
"form-data": "4.0.0",
|
|
44
45
|
"jest-mock": "27.0.3",
|
|
45
|
-
"soap": "0.
|
|
46
|
+
"soap": "1.0.0",
|
|
46
47
|
"uuid": "8.3.2",
|
|
47
48
|
"valid-url": "1.0.9",
|
|
48
49
|
"url-join": "5.0.0",
|