Files
Moltbot/src/daemon/service-types.ts
2026-02-19 10:04:19 +00:00

39 lines
903 B
TypeScript

export type GatewayServiceEnv = Record<string, string | undefined>;
export type GatewayServiceInstallArgs = {
env: GatewayServiceEnv;
stdout: NodeJS.WritableStream;
programArguments: string[];
workingDirectory?: string;
environment?: GatewayServiceEnv;
description?: string;
};
export type GatewayServiceManageArgs = {
env: GatewayServiceEnv;
stdout: NodeJS.WritableStream;
};
export type GatewayServiceControlArgs = {
stdout: NodeJS.WritableStream;
env?: GatewayServiceEnv;
};
export type GatewayServiceEnvArgs = {
env?: GatewayServiceEnv;
};
export type GatewayServiceCommandConfig = {
programArguments: string[];
workingDirectory?: string;
environment?: Record<string, string>;
sourcePath?: string;
};
export type GatewayServiceRenderArgs = {
description?: string;
programArguments: string[];
workingDirectory?: string;
environment?: GatewayServiceEnv;
};