@isaac-platform/isaac-integration-sdk
Version:
A Typescript SDK for integrating with ISAAC
23 lines • 996 B
TypeScript
import isaacConnection from "../controller/isaac.js";
import { IsaacVariable } from "./variable.js";
import { IsaacVariablePrototype } from "./types.js";
export declare class variableController {
isaacConn: isaacConnection;
private knownVariables;
constructor(isaacConn: isaacConnection);
/**
* GetVariables
* Returns an IsaacVariable object array of module related variables.
* ? Should I replace the includeAll parameter with a string to filter the list by provided module ID?
**/
GetVariables(includeAll?: boolean): Promise<IsaacVariable[]>;
/**
* Creates a new variable on the remote ISAAC system.
* @param newVariable is the definition of the variable to be added
* @returns new IsaacVariable object
*/
addVariable(newVariable: IsaacVariablePrototype): Promise<IsaacVariable>;
registerVariable(newVariable: IsaacVariablePrototype): Promise<IsaacVariable>;
private syncWithISAAC;
}
//# sourceMappingURL=index.d.ts.map