@prismatic-io/spectral
Advanced tools
Comparing version 7.6.2 to 7.6.3
@@ -127,2 +127,3 @@ /// <reference types="node" /> | ||
instance: Instance; | ||
user: User; | ||
} | ||
@@ -129,0 +130,0 @@ export declare type DataSourceResult = { |
@@ -158,2 +158,8 @@ "use strict"; | ||
}, | ||
user: { | ||
id: "userId", | ||
email: "example@email.com", | ||
externalId: "1234", | ||
name: "Example", | ||
}, | ||
}; | ||
@@ -160,0 +166,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { Inputs, DataSourceResult, DataSourceType, ActionInputParameters, ActionLogger, Customer, Instance } from "."; | ||
import { Inputs, DataSourceResult, DataSourceType, ActionInputParameters, ActionLogger, Customer, Instance, User } from "."; | ||
/** Context provided to perform method containing helpers and contextual data */ | ||
@@ -7,4 +7,5 @@ export interface DataSourceContext { | ||
instance: Instance; | ||
user: User; | ||
} | ||
/** Definition of the function to perform when a Data Source is invoked. */ | ||
export declare type DataSourcePerformFunction<TInputs extends Inputs, TDataSourceType extends DataSourceType> = (context: DataSourceContext, params: ActionInputParameters<TInputs>) => Promise<DataSourceResult<TDataSourceType>>; |
{ | ||
"name": "@prismatic-io/spectral", | ||
"version": "7.6.2", | ||
"version": "7.6.3", | ||
"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
172939
3881