UNPKG

@chix/flow

Version:
68 lines 2.74 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 context_1 = require("./context"); var control_1 = require("./control"); var nodebox_1 = require("./nodebox"); var ports_1 = require("./ports"); var process_1 = require("./process"); var start_1 = require("./start"); 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, context: this.context, dependencies: this.dependencies, expose: this.expose, filled: this.filled, id: this.id, identifier: this.identifier, inPorts: this.inPorts, inputTimeout: this.inputTimeout, metadata: this.metadata, name: this.name, nodeTimeout: this.nodeTimeout, ns: this.ns, outPorts: this.outPorts, parentId: this.hasParent() ? this.getParent().id : null, pid: this.pid, ports: this.ports, provider: this.provider, runCount: this.runCount, state: this.state, status: this.status, title: this.title, }; }; Export$.prototype.filteredInput = function () { }; return Export$; }(Base)); } exports.$Export = $Export; (function ($Export) { function create(Base) { return util_1.mixin(context_1.$Context.create, control_1.$Control.create, common_1.$Identity.create, common_1.$Meta.create, nodebox_1.$Nodebox.create, common_1.$Parent.create, ports_1.$Ports.create, process_1.$Process.create, common_1.$Status.create, start_1.$Start.create)(Base); } $Export.create = create; })($Export = exports.$Export || (exports.$Export = {})); //# sourceMappingURL=export.js.map