@prismatic-io/spectral 7.5.1 → 7.6.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.
- package/dist/index.d.ts +9 -1
- package/dist/testing.d.ts +2 -2
- package/dist/types/DataSourceResult.d.ts +2 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -55,7 +55,15 @@ export declare const dataSource: <TInputs extends Inputs, TDataSourceType extend
|
|
|
55
55
|
credential: unknown;
|
|
56
56
|
boolean: boolean;
|
|
57
57
|
number: number;
|
|
58
|
-
connection: import("./types").
|
|
58
|
+
connection: import("./types").Connection;
|
|
59
|
+
/**
|
|
60
|
+
* This function creates a component object that can be
|
|
61
|
+
* imported into the Prismatic API. For information on using
|
|
62
|
+
* this function to write custom components, see
|
|
63
|
+
* https://prismatic.io/docs/custom-components/writing-custom-components/#exporting-a-component.
|
|
64
|
+
* @param definition A ComponentDefinition type object, including display information, unique key, and a set of actions the component implements.
|
|
65
|
+
* @returns This function returns a component object that has the shape the Prismatic API expects.
|
|
66
|
+
*/
|
|
59
67
|
objectSelection: import("./types").ObjectSelection;
|
|
60
68
|
objectFieldMap: import("./types").ObjectFieldMap;
|
|
61
69
|
jsonForm: import("./types").JSONForm;
|
package/dist/testing.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export declare const invokeDataSource: <TInputs extends Inputs, TDataSourceType
|
|
|
51
51
|
credential: unknown;
|
|
52
52
|
boolean: boolean;
|
|
53
53
|
number: number;
|
|
54
|
-
connection:
|
|
54
|
+
connection: import("./types").Connection;
|
|
55
55
|
objectSelection: import("./types").ObjectSelection;
|
|
56
56
|
objectFieldMap: import("./types").ObjectFieldMap;
|
|
57
57
|
jsonForm: import("./types").JSONForm;
|
|
@@ -84,7 +84,7 @@ declare const _default: {
|
|
|
84
84
|
credential: unknown;
|
|
85
85
|
boolean: boolean;
|
|
86
86
|
number: number;
|
|
87
|
-
connection:
|
|
87
|
+
connection: import("./types").Connection;
|
|
88
88
|
objectSelection: import("./types").ObjectSelection;
|
|
89
89
|
objectFieldMap: import("./types").ObjectFieldMap;
|
|
90
90
|
jsonForm: import("./types").JSONForm;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ObjectSelection, ObjectFieldMap, JSONForm, Element } from "./Inputs";
|
|
1
|
+
import { ObjectSelection, ObjectFieldMap, JSONForm, Element, Connection } from "./Inputs";
|
|
3
2
|
/** The type of field that is appropriate for rendering the data that is the result of the data source perform function. */
|
|
4
3
|
declare type DataSourceTypeMap = {
|
|
5
4
|
string: string;
|
|
@@ -13,7 +12,7 @@ declare type DataSourceTypeMap = {
|
|
|
13
12
|
credential: unknown;
|
|
14
13
|
boolean: boolean;
|
|
15
14
|
number: number;
|
|
16
|
-
connection:
|
|
15
|
+
connection: Connection;
|
|
17
16
|
objectSelection: ObjectSelection;
|
|
18
17
|
objectFieldMap: ObjectFieldMap;
|
|
19
18
|
jsonForm: JSONForm;
|