UNPKG

1.51 kBTypeScriptView Raw
1export declare type IOpFile = 'ops.yml';
2export declare type IWorkflow = 'workflow';
3export declare type ICommand = 'command';
4export declare type IGlueCode = 'glue_code';
5export declare const OP_FILE: IOpFile;
6export declare const WORKFLOW: IWorkflow;
7export declare const COMMAND: ICommand;
8export declare const PUBLIC = "Public \uD83C\uDF0E";
9export declare const PRIVATE = "Private \uD83D\uDD11";
10export declare const LOCAL = "Local \uD83D\uDCBB";
11export declare type WORKFLOW_TYPE = 'workflow';
12export declare type COMMAND_TYPE = 'command';
13export declare type GLUECODE_TYPE = 'glue_code';
14export declare const WORKFLOW_TYPE = "workflow";
15export declare const COMMAND_TYPE = "command";
16export declare const GLUECODE_TYPE = "glue_code";
17export declare type OpTypes = IWorkflow | ICommand | IGlueCode;
18export declare const COMMAND_ENDPOINT = "ops";
19export declare const WORKFLOW_ENDPOINT = "workflows";
20export declare const getEndpointFromOpType: (opType: "command" | "workflow" | "glue_code") => "workflows" | "ops";
21export declare const YAML_TYPE_STRING = "QUOTE_SINGLE";
22export declare const YAML_TYPE_SEQUENCE = "SEQ";
23export declare const HELP_COMMENTS: {
24 version: string;
25 ops: {
26 name: string;
27 description: string;
28 run: string;
29 env: string;
30 src: string;
31 public: string;
32 mountCwd: string;
33 mountHome: string;
34 bind: string;
35 port: string;
36 help: string;
37 };
38 workflows: {
39 name: string;
40 };
41};