Files
toolkit/packages/core/src/interfaces.ts
T

27 lines
577 B
TypeScript
Raw Normal View History

2019-05-16 16:40:21 -04:00
/**
* The code to exit an action
*/
export enum ExitCode {
/**
* A code indicating that the action was successful
*/
Success = 0,
/**
* A code indicating that the action was a failure
*/
Failure = 1,
/**
* A code indicating that the action is complete, but neither succeeded nor failed
*/
Neutral = 78
2019-05-16 23:36:45 -04:00
}
/**
2019-05-17 10:23:01 -04:00
* Interface for getInput options
2019-05-16 23:36:45 -04:00
*/
2019-05-17 10:23:01 -04:00
export interface InputOptions {
/** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */
required?: boolean;
2019-05-16 16:40:21 -04:00
}