UNPKG

@isaac-platform/isaac-integration-sdk

Version:

A Typescript SDK for integrating with ISAAC

21 lines 876 B
import { IsaacVariable } from "./variable.js"; import { IsaacVariablePrototype } from "./types.js"; export declare class variableController { private knownVariables; constructor(); /** * 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: () => 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