UNPKG

@calljmp/cli

Version:
26 lines 717 B
export interface WorkerVariable { name: string; value: string; } export interface WorkerSettings { variables: WorkerVariable[]; secrets: WorkerSecret[]; } export declare function jsonToWorkerSettings(json: Record<string, any>): WorkerSettings; export declare function workerSettingsToJson(settings: WorkerSettings): { variables: { name: string; value: string; }[]; secrets: { name: string; }[]; }; export interface WorkerSecret { name: string; } export declare function jsonToWorkerSecret(json: Record<string, any>): WorkerSecret; export declare function workerSecretToJson(secret: WorkerSecret): { name: string; }; //# sourceMappingURL=workers.d.ts.map