UNPKG

@criticalmanufacturing/node-package-bundler

Version:
68 lines 3.25 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LibraryTaskDefaults = exports.LibraryTaskScriptEncoding = exports.LibraryTaskScriptType = exports.LibraryConverterDefaults = exports.TaskOutputTypeType = exports.TaskInputTypeType = exports.TaskLifeCycle = exports.Scope = void 0; var Scope; (function (Scope) { Scope["ConnectIoT"] = "ConnectIoT"; Scope["FactoryAutomation"] = "FactoryAutomation"; Scope["EnterpriseIntegration"] = "EnterpriseIntegration"; })(Scope || (exports.Scope = Scope = {})); var TaskLifeCycle; (function (TaskLifeCycle) { TaskLifeCycle["Productive"] = "Productive"; TaskLifeCycle["Experimental"] = "Experimental"; TaskLifeCycle["Deprecated"] = "Deprecated"; })(TaskLifeCycle || (exports.TaskLifeCycle = TaskLifeCycle = {})); var TaskInputTypeType; (function (TaskInputTypeType) { /** Same as using the value as string, but allowing the display name to be changed */ TaskInputTypeType["Static"] = "Static"; /** The Task activation input. Only one allowed */ TaskInputTypeType["Activate"] = "Activate"; /** Activation of the input auto ports functionality for this task */ TaskInputTypeType["AutoPort"] = "AutoPort"; /** The inputs can be added/removed */ TaskInputTypeType["Dynamic"] = "Dynamic"; })(TaskInputTypeType || (exports.TaskInputTypeType = TaskInputTypeType = {})); var TaskOutputTypeType; (function (TaskOutputTypeType) { /** Same as using the value as string, but allowing the display name to be changed */ TaskOutputTypeType["Static"] = "Static"; /** The Task success output port emitted when it executed successfully. Only one allowed */ TaskOutputTypeType["Success"] = "Success"; /** The task error output port which emits the error that occurred during execution */ TaskOutputTypeType["Error"] = "Error"; /** Activation of the input auto ports functionality for this task */ TaskOutputTypeType["AutoPort"] = "AutoPort"; /** The inputs can be added/removed */ TaskOutputTypeType["Dynamic"] = "Dynamic"; })(TaskOutputTypeType || (exports.TaskOutputTypeType = TaskOutputTypeType = {})); exports.LibraryConverterDefaults = { name: "", inputDataType: "Any", outputDataType: "Any", }; var LibraryTaskScriptType; (function (LibraryTaskScriptType) { /** Script block */ LibraryTaskScriptType["Script"] = "Script"; /** Points to a generic script instead of the script itself */ LibraryTaskScriptType["Reference"] = "Reference"; // JsonAta = 'JsonAta', })(LibraryTaskScriptType || (exports.LibraryTaskScriptType = LibraryTaskScriptType = {})); var LibraryTaskScriptEncoding; (function (LibraryTaskScriptEncoding) { LibraryTaskScriptEncoding["Plain"] = "Plain"; LibraryTaskScriptEncoding["Base64"] = "Base64"; })(LibraryTaskScriptEncoding || (exports.LibraryTaskScriptEncoding = LibraryTaskScriptEncoding = {})); exports.LibraryTaskDefaults = { name: "", displayName: "", isProtocol: false, isController: false, lifecycle: TaskLifeCycle.Productive, lifecycleMessage: "", dependsOnProtocol: [], dependsOnScope: [Scope.ConnectIoT, Scope.FactoryAutomation, Scope.EnterpriseIntegration], }; //# sourceMappingURL=library.js.map