mirror of
https://github.com/parnic/node-intellicenter.git
synced 2025-06-16 18:20:14 -05:00
I was trying to make a websocket test, but the "ws" library doesn't appear to be easily mocked and I prefer to use it over the built-in WebSocket. So we'll see what I can do in the future.
18 lines
379 B
TypeScript
18 lines
379 B
TypeScript
import { ICParam } from "./param.js";
|
|
|
|
export class ICResponseObj {
|
|
public objnam = "";
|
|
public params?: ICParam;
|
|
}
|
|
|
|
export class ICResponse {
|
|
public command = "";
|
|
public messageID = "";
|
|
public response = "";
|
|
public objectList?: ICResponseObj[];
|
|
public queryName?: string;
|
|
public answer?: ICResponseObj[];
|
|
public timeSince?: string;
|
|
public timeNow?: string;
|
|
}
|