@janitza/gridvis-client
Version:
A library to access all GridVis data
9 lines • 353 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var DevicesEndpoint_1 = require("./DevicesEndpoint");
exports.DevicesEndpoint = DevicesEndpoint_1.DevicesEndpoint;
function getDeviceId(device) {
return typeof device === "number" ? device : device.id;
}
exports.getDeviceId = getDeviceId;
//# sourceMappingURL=index.js.map