@prismatic-io/spectral 10.4.4 → 10.5.0

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.
@@ -364,7 +364,6 @@ const convertConfigVar = (key, configVar, referenceKey, componentRegistry) => {
364
364
  key,
365
365
  stableKey,
366
366
  dataType: "connection",
367
- orgOnly: false,
368
367
  useScopedConfigVar: stableKey,
369
368
  };
370
369
  }
@@ -247,4 +247,5 @@ export interface Input {
247
247
  model?: InputFieldChoice[];
248
248
  language?: string;
249
249
  onPremiseControlled?: boolean;
250
+ dataSource?: string;
250
251
  }
@@ -57,7 +57,6 @@ export interface DefaultRequiredConfigVariable {
57
57
  export interface OrganizationActivatedConnectionRequiredConfigVariable {
58
58
  key: string;
59
59
  dataType: "connection";
60
- orgOnly: false;
61
60
  inputs?: never;
62
61
  useScopedConfigVar: string;
63
62
  }
@@ -87,6 +87,8 @@ interface BaseInputField {
87
87
  example?: string;
88
88
  /** Indicate if this InputField is required. */
89
89
  required?: boolean;
90
+ /** Key of the data source that can be used to set the value of this input. */
91
+ dataSource?: string;
90
92
  }
91
93
  type CollectionOptions<T> = SingleValue<T> | ValueListCollection<T> | KeyValueListCollection<T>;
92
94
  interface SingleValue<T> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/spectral",
3
- "version": "10.4.4",
3
+ "version": "10.5.0",
4
4
  "description": "Utility library for building Prismatic connectors and code-native integrations",
5
5
  "keywords": ["prismatic"],
6
6
  "main": "dist/index.js",