@prismatic-io/spectral
Advanced tools
Comparing version 7.8.0-preview5 to 7.8.0
/// <reference types="node" /> | ||
import { Instance, Customer, DataSourceType, DataSourceResultType, User, TriggerEventFunctionReturn } from "../types"; | ||
import { Instance, Customer, DataSourceType, DataSourceResultType, User, TriggerEventFunctionReturn, Integration, Flow } from "../types"; | ||
interface DisplayDefinition { | ||
@@ -10,2 +10,4 @@ label: string; | ||
export { User } from "../types"; | ||
export { Integration } from "../types"; | ||
export { Flow } from "../types"; | ||
export interface Component { | ||
@@ -63,2 +65,4 @@ key: string; | ||
user: User; | ||
integration: Integration; | ||
flow: Flow; | ||
} | ||
@@ -85,2 +89,4 @@ declare type TriggerOptionChoice = "invalid" | "valid" | "required"; | ||
user: User; | ||
integration: Integration; | ||
flow: Flow; | ||
} | ||
@@ -87,0 +93,0 @@ interface HttpResponse { |
@@ -71,2 +71,11 @@ "use strict"; | ||
}, | ||
integration: { | ||
id: "integrationId", | ||
name: "Integration 1", | ||
versionSequenceId: "1234", | ||
}, | ||
flow: { | ||
id: "flowId", | ||
name: "Flow 1", | ||
}, | ||
}; | ||
@@ -128,2 +137,11 @@ /** | ||
}, | ||
integration: { | ||
id: "integrationId", | ||
name: "Integration 1", | ||
versionSequenceId: "1234", | ||
}, | ||
flow: { | ||
id: "flowId", | ||
name: "Flow 1", | ||
}, | ||
}; | ||
@@ -130,0 +148,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
import { Inputs, ActionPerformReturn, ActionInputParameters, ActionLogger, Instance, Customer, User } from "."; | ||
import { Inputs, ActionPerformReturn, ActionInputParameters, ActionLogger, Instance, Customer, User, Integration, Flow } from "."; | ||
/** Definition of the function to perform when an Action is invoked. */ | ||
@@ -32,2 +32,6 @@ export declare type ActionPerformFunction<TInputs extends Inputs, TAllowsBranching extends boolean | undefined, TReturn extends ActionPerformReturn<TAllowsBranching, unknown>> = (context: ActionContext, params: ActionInputParameters<TInputs>) => Promise<TReturn>; | ||
user: User; | ||
/** Contains attributes of the Integration that is being executed. */ | ||
integration: Integration; | ||
/** Contains attributes of the Flow that is being executed. */ | ||
flow: Flow; | ||
} |
@@ -28,2 +28,4 @@ /** | ||
export * from "./User"; | ||
export * from "./Integration"; | ||
export * from "./Flow"; | ||
export * as serverTypes from "../serverTypes"; |
@@ -57,2 +57,4 @@ "use strict"; | ||
__exportStar(require("./User"), exports); | ||
__exportStar(require("./Integration"), exports); | ||
__exportStar(require("./Flow"), exports); | ||
exports.serverTypes = __importStar(require("../serverTypes")); |
@@ -1,2 +0,2 @@ | ||
import { Instance, Customer, User } from "."; | ||
import { Instance, Customer, User, Integration, Flow } from "."; | ||
/** Represents a Trigger Payload, which is data passed into a Trigger to invoke an Integration execution. */ | ||
@@ -37,2 +37,6 @@ export interface TriggerPayload { | ||
user: User; | ||
/** Contains attributes of the Integration that is being executed. */ | ||
integration: Integration; | ||
/** Contains attributes of the Flow that is being executed. */ | ||
flow: Flow; | ||
} |
{ | ||
"name": "@prismatic-io/spectral", | ||
"version": "7.8.0-preview5", | ||
"version": "7.8.0", | ||
"description": "Utility library for building Prismatic components", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
178196
83
3971
0