@prismatic-io/spectral
Advanced tools
Comparing version 8.1.1 to 8.1.2
@@ -5,3 +5,3 @@ import { Inputs, ConfigVarResultCollection, ActionPerformReturn, ActionInputParameters, ActionLogger, InstanceAttributes, CustomerAttributes, UserAttributes, IntegrationAttributes, FlowAttributes } from "."; | ||
/** Context provided to perform method containing helpers and contextual data */ | ||
export declare type ActionContext<TConfigVars extends ConfigVarResultCollection> = { | ||
export declare type ActionContext<TConfigVars extends ConfigVarResultCollection = ConfigVarResultCollection> = { | ||
/** Logger for permanent logging; console calls are also captured */ | ||
@@ -8,0 +8,0 @@ logger: ActionLogger; |
import { Inputs, DataSourceResult, DataSourceType, ActionInputParameters, ConfigVarResultCollection, ActionContext } from "."; | ||
/** Context provided to perform method containing helpers and contextual data */ | ||
export declare type DataSourceContext<TConfigVars extends ConfigVarResultCollection> = Pick<ActionContext<TConfigVars>, "logger" | "customer" | "instance" | "user" | "configVars">; | ||
export declare type DataSourceContext<TConfigVars extends ConfigVarResultCollection = ConfigVarResultCollection> = Pick<ActionContext<TConfigVars>, "logger" | "customer" | "instance" | "user" | "configVars">; | ||
/** Definition of the function to perform when a Data Source is invoked. */ | ||
export declare type DataSourcePerformFunction<TInputs extends Inputs, TConfigVars extends ConfigVarResultCollection, TDataSourceType extends DataSourceType> = (context: DataSourceContext<TConfigVars>, params: ActionInputParameters<TInputs>) => Promise<DataSourceResult<TDataSourceType>>; |
{ | ||
"name": "@prismatic-io/spectral", | ||
"version": "8.1.1", | ||
"version": "8.1.2", | ||
"description": "Utility library for building Prismatic components", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
216623