@deep-foundation/deeplinks
Version:
[](https://www.npmjs.com/package/@deep-foundation/deeplinks) [](https://gitpod.io/#https://github.com/deep-fo
35 lines (34 loc) • 933 B
TypeScript
/// <reference types="node" />
export interface ICallOptions {
operation: 'run' | 'sleep' | 'reset';
envs: {
[key: string]: string;
};
}
interface ICheckDeeplinksStatusReturn {
result?: 1 | 0 | undefined;
error?: any;
}
export declare const _checkDeeplinksStatus: () => Promise<ICheckDeeplinksStatusReturn>;
export declare const _checkDeepcaseStatus: () => Promise<ICheckDeeplinksStatusReturn>;
export declare function call(options: ICallOptions): Promise<{
result?: {
stdout: string;
stderr: string;
};
error?: any;
user: any;
homeDir: any;
platform: NodeJS.Platform;
_hasura: string;
_deeplinks: string;
isDeeplinksDocker: ICheckDeeplinksStatusReturn;
isDeepcaseDocker: ICheckDeeplinksStatusReturn;
envs: {
DOCKERHOST: string;
};
engineStr: string;
fullStr: string;
operation: "reset" | "run" | "sleep";
}>;
export {};