@timo972/ufw
Version:
ufw <-> nodejs app communication
13 lines (12 loc) • 369 B
TypeScript
import { UFWOperation } from "./enum/ufw-operation.enum";
export declare class UFWRequest {
private _operation;
data: string;
returnJson: boolean;
get operation(): UFWOperation;
set operation(op: UFWOperation);
pass(data: {
[key: string]: any;
}): void;
}
export declare function execute<T>(req: UFWRequest): Promise<T>;