@prismatic-io/spectral 7.0.10-pre → 7.0.11-pre
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/index.d.ts
CHANGED
package/dist/testing.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export declare const invokeDataSource: <TInputs extends Inputs, TDataSourceType
|
|
|
43
43
|
string: string;
|
|
44
44
|
date: string;
|
|
45
45
|
timestamp: string;
|
|
46
|
-
picklist:
|
|
46
|
+
picklist: string[];
|
|
47
47
|
schedule: {
|
|
48
48
|
value: string;
|
|
49
49
|
};
|
|
@@ -74,7 +74,7 @@ declare const _default: {
|
|
|
74
74
|
string: string;
|
|
75
75
|
date: string;
|
|
76
76
|
timestamp: string;
|
|
77
|
-
picklist:
|
|
77
|
+
picklist: string[];
|
|
78
78
|
schedule: {
|
|
79
79
|
value: string;
|
|
80
80
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ConnectionDefinition } from "./ConnectionDefinition";
|
|
2
|
-
import { ObjectSelection, ObjectFieldMap, JSONForm
|
|
2
|
+
import { ObjectSelection, ObjectFieldMap, JSONForm } from "./Inputs";
|
|
3
3
|
/** The type of field that is appropriate for rendering the data that is the result of the data source perform function. */
|
|
4
4
|
declare type DataSourceTypeMap = {
|
|
5
5
|
string: string;
|
|
6
6
|
date: string;
|
|
7
7
|
timestamp: string;
|
|
8
|
-
picklist:
|
|
8
|
+
picklist: string[];
|
|
9
9
|
schedule: {
|
|
10
10
|
value: string;
|
|
11
11
|
};
|
package/dist/types/Inputs.d.ts
CHANGED
|
@@ -26,10 +26,6 @@ export declare type JSONForm = {
|
|
|
26
26
|
uiSchema: Record<string, unknown>;
|
|
27
27
|
data: unknown;
|
|
28
28
|
};
|
|
29
|
-
export declare type PickList = {
|
|
30
|
-
options?: string[];
|
|
31
|
-
selectedValue?: string;
|
|
32
|
-
};
|
|
33
29
|
/** InputField type enumeration. */
|
|
34
30
|
export declare type InputFieldType = InputFieldDefinition["type"];
|
|
35
31
|
export declare const InputFieldDefaultMap: Record<InputFieldType, string | undefined>;
|