@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
@@ -47,7 +47,7 @@ export declare const dataSource: <TInputs extends Inputs, TDataSourceType extend
47
47
  string: string;
48
48
  date: string;
49
49
  timestamp: string;
50
- picklist: import("./types").PickList;
50
+ picklist: string[];
51
51
  schedule: {
52
52
  value: string;
53
53
  };
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: import("./types").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: import("./types").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, PickList } from "./Inputs";
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: PickList;
8
+ picklist: string[];
9
9
  schedule: {
10
10
  value: string;
11
11
  };
@@ -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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/spectral",
3
- "version": "7.0.10-pre",
3
+ "version": "7.0.11-pre",
4
4
  "description": "Utility library for building Prismatic components",
5
5
  "keywords": [
6
6
  "prismatic"