@devgrid/netron
Version:
Event bus, streams and remote object invocation.
20 lines • 609 B
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Definition = void 0;
const cuid_1 = __importDefault(require("@bugsnag/cuid"));
class Definition {
constructor(id, peerId, meta) {
this.id = id;
this.peerId = peerId;
this.meta = meta;
this.parentId = '';
}
static nextId() {
return (0, cuid_1.default)();
}
}
exports.Definition = Definition;
//# sourceMappingURL=definition.js.map
;