@cto.ai/ops
Version:
💻 CTO.ai - The CLI built for Teams 🚀
33 lines (32 loc) • 1.43 kB
TypeScript
export type IOpFile = 'ops.yml';
export type IWorkflow = 'workflow';
export type IPipeline = 'pipeline';
export type ICommand = 'command';
export type IGlueCode = 'glue_code';
export type IService = 'service';
export type IJob = 'job';
export declare const OP_FILE: IOpFile;
export declare const WORKFLOW: IWorkflow;
export declare const PIPELINE: IPipeline;
export declare const COMMAND: ICommand;
export declare const PUBLIC = "Public \uD83C\uDF0E";
export declare const PRIVATE = "Private \uD83D\uDD11";
export declare const LOCAL = "Local \uD83D\uDCBB";
export type WORKFLOW_TYPE = 'workflow';
export type COMMAND_TYPE = 'command';
export type GLUECODE_TYPE = 'glue_code';
export type JOB_TYPE = 'job';
export type SERVICE_TYPE = 'service';
export type PIPELINE_TYPE = 'pipeline';
export declare const WORKFLOW_TYPE = "workflow";
export declare const COMMAND_TYPE = "command";
export declare const GLUECODE_TYPE = "glue_code";
export declare const JOB_TYPE = "job";
export declare const SERVICE_TYPE = "service";
export declare const PIPELINE_TYPE = "pipeline";
export type OpTypes = IWorkflow | ICommand | IGlueCode | IJob | IService;
export declare const COMMAND_ENDPOINT = "ops";
export declare const WORKFLOW_ENDPOINT = "workflows";
export declare const SDK2 = "2";
export declare const SDK2_DAEMON_ENTRYPOINT = "/bin/sdk-daemon";
export declare const getEndpointFromOpType: (opType: OpTypes) => "ops" | "workflows";