UNPKG

@chix/flow

Version:
34 lines 1.22 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var flow_1 = require("./flow"); var defaultDefinition = { id: 'flow:main', links: [], name: 'main', nodes: [], ns: 'flow', type: 'flow', }; var Actor = (function (_super) { __extends(Actor, _super); function Actor(flowDefinition) { if (flowDefinition === void 0) { flowDefinition = defaultDefinition; } return _super.call(this, 'flow:main', flowDefinition, undefined, undefined, undefined, undefined, true) || this; } return Actor; }(flow_1.Flow)); exports.Actor = Actor; //# sourceMappingURL=actor.js.map