mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-27 20:00:51 +00:00
17 lines
561 B
TypeScript
17 lines
561 B
TypeScript
import { createProgrammaticCommandLogRewriter as createSharedProgrammaticCommandLogRewriter } from "@/domain/programmaticCommandLog.shared.cjs";
|
|
|
|
export interface ProgrammaticCommandLogRewrite {
|
|
sentCommand: string;
|
|
displayCommand: string;
|
|
}
|
|
|
|
export interface ProgrammaticCommandLogRewriter {
|
|
queueRewrite(rewrite: ProgrammaticCommandLogRewrite): void;
|
|
append(input: string): string;
|
|
finish(): string;
|
|
}
|
|
|
|
export function createProgrammaticCommandLogRewriter(): ProgrammaticCommandLogRewriter {
|
|
return createSharedProgrammaticCommandLogRewriter();
|
|
}
|