UNPKG

@chix/flow

Version:
51 lines 1.9 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 common_1 = require("../common"); var util_1 = require("../util"); var control_1 = require("./control"); var ports_1 = require("./ports"); var process_1 = require("./process"); function $Export(Base) { return (function (_super) { __extends(Export$, _super); function Export$() { return _super !== null && _super.apply(this, arguments) || this; } Export$.prototype.export = function () { return { active: this.active, id: this.id, identifier: this.identifier, inPorts: this.inPorts, name: this.name, ns: this.ns, outPorts: this.outPorts, pid: this.pid, ports: this.ports, provider: this.provider, }; }; return Export$; }(Base)); } exports.$Export = $Export; (function ($Export) { function create(Base) { return util_1.mixin($Export, control_1.$Control.create, common_1.$Identity.create, process_1.$Process.create, ports_1.$Ports.create)(Base); } $Export.create = create; })($Export = exports.$Export || (exports.$Export = {})); //# sourceMappingURL=export.js.map