mirror of
https://github.com/parnic/node-intellicenter.git
synced 2025-06-17 02:21:53 -05:00
No idea if this will be the best way to represent this stuff long-term, but it's working at the moment. I have some reservations about attempting to list all the possible ResponseParam keys, but I'm already this far in and it would be nice if it worked out...
19 lines
372 B
JavaScript
19 lines
372 B
JavaScript
import { v4 as uuidv4 } from "uuid";
|
|
export class ICRequestObj {
|
|
objnam = "";
|
|
keys = [];
|
|
}
|
|
export class ICRequest {
|
|
condition;
|
|
objectList;
|
|
queryName;
|
|
arguments;
|
|
command = "";
|
|
messageID = "";
|
|
}
|
|
export function GetRequest() {
|
|
const req = new ICRequest();
|
|
req.messageID = uuidv4();
|
|
return req;
|
|
}
|
|
//# sourceMappingURL=request.js.map
|