common-types
Advanced tools
Comparing version 1.7.7 to 1.7.8
@@ -63,2 +63,4 @@ import { IDictionary, datetime } from "./basics"; | ||
export interface IStateMachine { | ||
/** the name of the function; can include variables like ${opt:stage} */ | ||
name?: string; | ||
/** Schedule or HTTP events which trigger the step function */ | ||
@@ -79,2 +81,3 @@ events?: IServerlessEvent[]; | ||
} | ||
/** A generic type that allows for any of the various types of state to be applied */ | ||
export declare type IStepFunctionStep<T = IDictionary> = IStepFunctionTask<T> | IStepFunctionChoice<T> | IStepFunctionWait<T> | IStepFunctionParallel<T> | IStepFunctionPass<T> | IStepFunctionFail | IStepFunctionSucceed; | ||
@@ -81,0 +84,0 @@ export declare type IStepFunctionType = "Task" | "Wait" | "Parallel" | "Choice" | "Succeed" | "Fail" | "Pass"; |
{ | ||
"name": "common-types", | ||
"version": "1.7.7", | ||
"version": "1.7.8", | ||
"description": "Common types not included in Typescript", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/lifegadget/common-types", |
31684
567