@sme.up/kokos-sdk-node 3.0.0-SNAPSHOT.20250915081041.768 → 3.0.0-commonjs.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/App.html +2 -2
- package/docs/classes/BatchContext.html +2 -2
- package/docs/classes/EntityOav.html +2 -2
- package/docs/classes/EntitySlice.html +2 -2
- package/docs/classes/ErrorWithStatus.html +6 -9
- package/docs/classes/ExecuteFunPayload.html +2 -2
- package/docs/classes/ExecutionContext.html +2 -2
- package/docs/classes/Fun.html +2 -2
- package/docs/classes/FunObject.html +2 -2
- package/docs/classes/KokosEntityDAOService.html +8 -8
- package/docs/classes/Registry.html +2 -2
- package/docs/classes/SmeupDataStructureWriter.html +5 -5
- package/docs/classes/SourceLibrary.html +2 -2
- package/docs/classes/User.html +2 -2
- package/docs/enums/ApiVersion.html +2 -2
- package/docs/enums/DynamismEvents.html +2 -2
- package/docs/enums/Format.html +2 -2
- package/docs/enums/FunStatus.html +2 -2
- package/docs/enums/Level.html +2 -2
- package/docs/enums/LoadType.html +2 -2
- package/docs/enums/SectionTypes.html +2 -2
- package/docs/enums/Shapes.html +2 -2
- package/docs/enums/SmeupDataStructureType.html +5 -5
- package/docs/enums/SmeupLayoutSectionType.html +2 -2
- package/docs/enums/ToolbarState.html +2 -2
- package/docs/enums/YesNo.html +2 -2
- package/docs/functions/clearLoggerContext.html +1 -1
- package/docs/functions/closeEventUtils.html +1 -1
- package/docs/functions/configureLogger.html +1 -1
- package/docs/functions/createLoggerContext.html +1 -1
- package/docs/functions/executeFun.html +1 -1
- package/docs/functions/funObjectToString.html +1 -1
- package/docs/functions/funToString.html +1 -1
- package/docs/functions/getSmeupDataStructureType.html +1 -1
- package/docs/functions/parseArrayString.html +4 -4
- package/docs/functions/parseFieldValues.html +1 -1
- package/docs/functions/parseKeyValueBetweenBrackets.html +1 -1
- package/docs/functions/parseUpdatePayload.html +1 -1
- package/docs/functions/parseUpdatePayloadMultipleRows.html +1 -1
- package/docs/functions/startServer.html +1 -1
- package/docs/functions/startServerWithCustomConfig.html +1 -1
- package/docs/functions/stringToFun.html +1 -1
- package/docs/functions/submitBusinessEvent.html +1 -1
- package/docs/functions/toDateCell.html +1 -1
- package/docs/functions/toIconButtonCell.html +1 -1
- package/docs/functions/toNumberCell.html +1 -1
- package/docs/functions/toSingleChipCell.html +1 -1
- package/docs/functions/toStringCell.html +1 -1
- package/docs/functions/toTextButtonCell.html +1 -1
- package/docs/functions/toTimeCell.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/ComponentOptions.html +2 -2
- package/docs/interfaces/DebugInfo.html +2 -2
- package/docs/interfaces/DocumentDatabaseDataSource.html +2 -2
- package/docs/interfaces/IKokosEntityDAOService.html +2 -2
- package/docs/interfaces/IKokosInputPanelService.html +2 -2
- package/docs/interfaces/KokosEntityDAOServiceMethods.html +7 -7
- package/docs/interfaces/KokosInputPanelServiceMethods.html +6 -6
- package/docs/interfaces/KokosService.html +2 -2
- package/docs/interfaces/KokosServiceMethods.html +1 -1
- package/docs/interfaces/KokosServiceModule.html +2 -2
- package/docs/interfaces/LoggerContext.html +2 -2
- package/docs/interfaces/MicroExecutorConfiguration.html +2 -2
- package/docs/interfaces/RawDynamism.html +7 -7
- package/docs/interfaces/SmeupAction.html +2 -2
- package/docs/interfaces/SmeupBusinessEvent.html +2 -2
- package/docs/interfaces/SmeupDataCell.html +2 -2
- package/docs/interfaces/SmeupDataColumn.html +2 -2
- package/docs/interfaces/SmeupDataNode.html +2 -2
- package/docs/interfaces/SmeupDataRow.html +2 -2
- package/docs/interfaces/SmeupDataStructure.html +2 -2
- package/docs/interfaces/SmeupDataTable.html +2 -2
- package/docs/interfaces/SmeupDataTree.html +2 -2
- package/docs/interfaces/SmeupFeedback.html +2 -2
- package/docs/interfaces/SmeupLayout.html +2 -2
- package/docs/interfaces/SmeupLayoutField.html +2 -2
- package/docs/interfaces/SmeupLayoutSection.html +2 -2
- package/docs/interfaces/SmeupMessage.html +2 -2
- package/docs/interfaces/SmeupSch.html +3 -3
- package/docs/interfaces/SmeupSchComponent.html +2 -2
- package/docs/interfaces/SmeupSchSection.html +2 -2
- package/docs/interfaces/SmeupSetup.html +2 -2
- package/docs/interfaces/SmeupStyle.html +2 -2
- package/docs/interfaces/SmeupStyleOptions.html +2 -2
- package/docs/interfaces/SmeupVariable.html +2 -2
- package/docs/interfaces/UpdateResult.html +2 -2
- package/docs/modules.html +1 -1
- package/docs/types/SmeupDataCellInputSettingsKeys.html +1 -1
- package/docs/types/SmeupDataCellInputSettingsValue.html +1 -1
- package/docs/types/SmeupDataCellShapes.html +1 -1
- package/docs/types/SmeupMessageGravity.html +1 -1
- package/docs/types/SmeupSetupBase.html +1 -1
- package/docs/types/SmeupVariableType.html +1 -1
- package/docs/variables/DEFAULT_TTL.html +1 -1
- package/docs/variables/LOGGER.html +1 -1
- package/docs/variables/SMEUP_ACTION_TYPE.html +1 -1
- package/docs/variables/SMEUP_DATA_CELL_INPUT_SETTINGS_KEYS.html +1 -1
- package/docs/variables/SMEUP_MESSAGE_GRAVITY.html +1 -1
- package/docs/variables/SMEUP_MESSAGE_MODE.html +1 -1
- package/docs/variables/SMEUP_VARIABLE_TYPE.html +1 -1
- package/docs/variables/SmeupDataCellShapes.html +1 -1
- package/lib/caller/executeFun.d.ts +3 -2
- package/lib/caller/executeFun.d.ts.map +1 -0
- package/lib/caller/executeFun.js +9 -6
- package/lib/caller/executeFun.js.map +1 -1
- package/lib/caller/microExecutorServiceCaller.d.ts +2 -1
- package/lib/caller/microExecutorServiceCaller.d.ts.map +1 -0
- package/lib/caller/microExecutorServiceCaller.js +13 -7
- package/lib/caller/microExecutorServiceCaller.js.map +1 -1
- package/lib/caller/serviceCaller.d.ts +3 -28
- package/lib/caller/serviceCaller.d.ts.map +1 -0
- package/lib/caller/serviceCaller.js +43 -78
- package/lib/caller/serviceCaller.js.map +1 -1
- package/lib/configuration/configuration.d.ts +2 -1
- package/lib/configuration/configuration.d.ts.map +1 -0
- package/lib/configuration/configuration.js +28 -20
- package/lib/configuration/configuration.js.map +1 -1
- package/lib/entrypoint/restapi/executeFunPayloadValidator.d.ts +1 -0
- package/lib/entrypoint/restapi/executeFunPayloadValidator.d.ts.map +1 -0
- package/lib/entrypoint/restapi/executeFunPayloadValidator.js +5 -3
- package/lib/entrypoint/restapi/executeFunPayloadValidator.js.map +1 -1
- package/lib/entrypoint/restapi/index.d.ts +1 -0
- package/lib/entrypoint/restapi/index.d.ts.map +1 -0
- package/lib/entrypoint/restapi/index.js +4 -2
- package/lib/entrypoint/restapi/index.js.map +1 -1
- package/lib/entrypoint/restapi/restapi.d.ts +2 -1
- package/lib/entrypoint/restapi/restapi.d.ts.map +1 -0
- package/lib/entrypoint/restapi/restapi.js +50 -47
- package/lib/entrypoint/restapi/restapi.js.map +1 -1
- package/lib/events/eventUtils.d.ts +1 -0
- package/lib/events/eventUtils.d.ts.map +1 -0
- package/lib/events/eventUtils.js +16 -11
- package/lib/events/eventUtils.js.map +1 -1
- package/lib/events/rabbitmq.d.ts +1 -0
- package/lib/events/rabbitmq.d.ts.map +1 -0
- package/lib/events/rabbitmq.js +26 -16
- package/lib/events/rabbitmq.js.map +1 -1
- package/lib/index.d.ts +17 -16
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +32 -16
- package/lib/index.js.map +1 -1
- package/lib/logger/logger.d.ts +1 -0
- package/lib/logger/logger.d.ts.map +1 -0
- package/lib/logger/logger.js +21 -12
- package/lib/logger/logger.js.map +1 -1
- package/lib/services/JS_00_01.d.ts +2 -1
- package/lib/services/JS_00_01.d.ts.map +1 -0
- package/lib/services/JS_00_01.js +17 -15
- package/lib/services/JS_00_01.js.map +1 -1
- package/lib/services/JS_00_02.d.ts +1 -0
- package/lib/services/JS_00_02.d.ts.map +1 -0
- package/lib/services/JS_00_02.js +3 -1
- package/lib/services/JS_00_02.js.map +1 -1
- package/lib/types/component.d.ts +1 -0
- package/lib/types/component.d.ts.map +1 -0
- package/lib/types/component.js +7 -4
- package/lib/types/component.js.map +1 -1
- package/lib/types/data-structures/smeupDataStructure.d.ts +5 -4
- package/lib/types/data-structures/smeupDataStructure.d.ts.map +1 -0
- package/lib/types/data-structures/smeupDataStructure.js +16 -12
- package/lib/types/data-structures/smeupDataStructure.js.map +1 -1
- package/lib/types/data-structures/smeupDataTable.d.ts +3 -9
- package/lib/types/data-structures/smeupDataTable.d.ts.map +1 -0
- package/lib/types/data-structures/smeupDataTable.js +4 -1
- package/lib/types/data-structures/smeupDataTable.js.map +1 -1
- package/lib/types/data-structures/smeupDataTree.d.ts +3 -2
- package/lib/types/data-structures/smeupDataTree.d.ts.map +1 -0
- package/lib/types/data-structures/smeupDataTree.js +2 -1
- package/lib/types/data-structures/smeupSch.d.ts +7 -6
- package/lib/types/data-structures/smeupSch.d.ts.map +1 -0
- package/lib/types/data-structures/smeupSch.js +5 -2
- package/lib/types/data-structures/smeupSch.js.map +1 -1
- package/lib/types/dynamism.d.ts +2 -1
- package/lib/types/dynamism.d.ts.map +1 -0
- package/lib/types/dynamism.js +7 -4
- package/lib/types/dynamism.js.map +1 -1
- package/lib/types/exceptions/application.d.ts +1 -0
- package/lib/types/exceptions/application.d.ts.map +1 -0
- package/lib/types/exceptions/application.js +5 -3
- package/lib/types/exceptions/application.js.map +1 -1
- package/lib/types/exceptions/validation.d.ts +2 -1
- package/lib/types/exceptions/validation.d.ts.map +1 -0
- package/lib/types/exceptions/validation.js +6 -2
- package/lib/types/exceptions/validation.js.map +1 -1
- package/lib/types/general.d.ts +3 -2
- package/lib/types/general.d.ts.map +1 -0
- package/lib/types/general.js +33 -61
- package/lib/types/general.js.map +1 -1
- package/lib/types/helpers.d.ts +1 -0
- package/lib/types/helpers.d.ts.map +1 -0
- package/lib/types/helpers.js +7 -4
- package/lib/types/helpers.js.map +1 -1
- package/lib/utils/batchUtils.d.ts +3 -2
- package/lib/utils/batchUtils.d.ts.map +1 -0
- package/lib/utils/batchUtils.js +23 -17
- package/lib/utils/batchUtils.js.map +1 -1
- package/lib/utils/cells.d.ts +2 -1
- package/lib/utils/cells.d.ts.map +1 -0
- package/lib/utils/cells.js +16 -7
- package/lib/utils/cells.js.map +1 -1
- package/lib/utils/dataStructureStream.d.ts +2 -1
- package/lib/utils/dataStructureStream.d.ts.map +1 -0
- package/lib/utils/dataStructureStream.js +7 -3
- package/lib/utils/dataStructureStream.js.map +1 -1
- package/lib/utils/fun.d.ts +2 -1
- package/lib/utils/fun.d.ts.map +1 -0
- package/lib/utils/fun.js +10 -5
- package/lib/utils/fun.js.map +1 -1
- package/lib/utils/path.d.ts +1 -0
- package/lib/utils/path.d.ts.map +1 -0
- package/lib/utils/path.js +12 -6
- package/lib/utils/path.js.map +1 -1
- package/lib/utils/regex.d.ts +6 -3
- package/lib/utils/regex.d.ts.map +1 -0
- package/lib/utils/regex.js +22 -18
- package/lib/utils/regex.js.map +1 -1
- package/lib/utils/smeupDataStructureWriter.d.ts +6 -5
- package/lib/utils/smeupDataStructureWriter.d.ts.map +1 -0
- package/lib/utils/smeupDataStructureWriter.js +43 -37
- package/lib/utils/smeupDataStructureWriter.js.map +1 -1
- package/package.json +8 -12
- package/tsconfig.json +17 -27
- package/docs/interfaces/SmeupDataCellOption.html +0 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SMEUP_MESSAGE_MODE | @sme.up/kokos-sdk-node</title><meta name="description" content="Documentation for @sme.up/kokos-sdk-node"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sme.up/kokos-sdk-node</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">SMEUP_MESSAGE_MODE</a></li></ul><h1>Variable SMEUP_MESSAGE_MODE<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">SMEUP_MESSAGE_MODE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">PM</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"PM"</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">PN</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"PN"</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">TN</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"TN"</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>SmeupMessage Mode</p>
|
|
2
|
-
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="pm"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PM</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"PM"</span></h5></li><li class="tsd-parameter"><h5 id="pn"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PN</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"PN"</span></h5></li><li class="tsd-parameter"><h5 id="tn"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TN</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"TN"</span></h5></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/
|
|
2
|
+
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="pm"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PM</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"PM"</span></h5></li><li class="tsd-parameter"><h5 id="pn"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PN</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"PN"</span></h5></li><li class="tsd-parameter"><h5 id="tn"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TN</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"TN"</span></h5></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/2fe6d90598027e968305c4fdf7cdbc0a7b5e35b7/src/types/data-structures/smeupDataStructure.ts#L102">projects/kokos-sdk-node/src/types/data-structures/smeupDataStructure.ts:102</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SMEUP_VARIABLE_TYPE | @sme.up/kokos-sdk-node</title><meta name="description" content="Documentation for @sme.up/kokos-sdk-node"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sme.up/kokos-sdk-node</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">SMEUP_VARIABLE_TYPE</a></li></ul><h1>Variable SMEUP_VARIABLE_TYPE<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">SMEUP_VARIABLE_TYPE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">LOO</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"loo"</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">SCH</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"sch"</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">SEC</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"sec"</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">SSC</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"ssc"</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>SmeupVariableType</p>
|
|
2
|
-
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="loo"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">LOO</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"loo"</span></h5></li><li class="tsd-parameter"><h5 id="sch"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SCH</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"sch"</span></h5></li><li class="tsd-parameter"><h5 id="sec"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SEC</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"sec"</span></h5></li><li class="tsd-parameter"><h5 id="ssc"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SSC</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"ssc"</span></h5></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/
|
|
2
|
+
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="loo"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">LOO</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"loo"</span></h5></li><li class="tsd-parameter"><h5 id="sch"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SCH</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"sch"</span></h5></li><li class="tsd-parameter"><h5 id="sec"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SEC</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"sec"</span></h5></li><li class="tsd-parameter"><h5 id="ssc"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SSC</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"ssc"</span></h5></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/2fe6d90598027e968305c4fdf7cdbc0a7b5e35b7/src/types/data-structures/smeupDataStructure.ts#L122">projects/kokos-sdk-node/src/types/data-structures/smeupDataStructure.ts:122</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SmeupDataCellShapes | @sme.up/kokos-sdk-node</title><meta name="description" content="Documentation for @sme.up/kokos-sdk-node"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sme.up/kokos-sdk-node</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">SmeupDataCellShapes</a></li></ul><h1>Variable SmeupDataCellShapes<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">SmeupDataCellShapes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">AUTOCOMPLETE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"ACP"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">BOOLEAN_BUTTON</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"BNB"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">BUTTON_LIST</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"BTN"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">CHART</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"GRA"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">CHECKBOX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"CHK"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">CHIP</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"CHI"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">COLOR_PICKER</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"CLP"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">COMBOBOX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"CMB"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">COMMAND_EXECUTE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"RUN"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">DATE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"CAL"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">DECODE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"DEC"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">EDITOR</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"EDT"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">FILE_READER</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"FRE"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">FILE_UPLOAD</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"FUP"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">GAUGE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"GAU"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">ICON</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"ICO"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">IMAGE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"IMG"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">INPUT_CHECKBOX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"INC"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">INPUT_FIELD</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"INF"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">INPUT_NUMBER</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"INR"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">KNOB</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"KNB"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">LABEL</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"LBL"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">MEMO</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"MEM"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">MULTI_AUTOCOMPLETE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"AML"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">MULTI_COMBOBOX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"CML"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">OBJECT</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"OBJ"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">ONE_BUTTON</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"BTO"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">PASSWORD</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"PWD"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">PROGRESS_BAR</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"PGB"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">RADIO</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"RAD"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">RANGE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"RNG"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">RATING</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"RTG"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">SPINNER</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"SPN"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">SWITCH</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"SWT"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">TABLE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"TBL"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">TEXT_FIELD</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"ITX"</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">TIME</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"TIM"</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Represent the possible shapes of a field</p>
|
|
2
|
-
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="autocomplete"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">AUTOCOMPLETE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"ACP"</span></h5></li><li class="tsd-parameter"><h5 id="boolean_button"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">BOOLEAN_BUTTON</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"BNB"</span></h5></li><li class="tsd-parameter"><h5 id="button_list"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">BUTTON_LIST</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"BTN"</span></h5></li><li class="tsd-parameter"><h5 id="chart"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">CHART</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"GRA"</span></h5></li><li class="tsd-parameter"><h5 id="checkbox"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">CHECKBOX</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"CHK"</span></h5></li><li class="tsd-parameter"><h5 id="chip"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">CHIP</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"CHI"</span></h5></li><li class="tsd-parameter"><h5 id="color_picker"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">COLOR_PICKER</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"CLP"</span></h5></li><li class="tsd-parameter"><h5 id="combobox"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">COMBOBOX</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"CMB"</span></h5></li><li class="tsd-parameter"><h5 id="command_execute"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">COMMAND_EXECUTE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"RUN"</span></h5></li><li class="tsd-parameter"><h5 id="date"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">DATE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"CAL"</span></h5></li><li class="tsd-parameter"><h5 id="decode"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">DECODE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"DEC"</span></h5></li><li class="tsd-parameter"><h5 id="editor"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">EDITOR</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"EDT"</span></h5></li><li class="tsd-parameter"><h5 id="file_reader"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">FILE_READER</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"FRE"</span></h5></li><li class="tsd-parameter"><h5 id="file_upload"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">FILE_UPLOAD</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"FUP"</span></h5></li><li class="tsd-parameter"><h5 id="gauge"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">GAUGE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"GAU"</span></h5></li><li class="tsd-parameter"><h5 id="icon"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">ICON</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"ICO"</span></h5></li><li class="tsd-parameter"><h5 id="image"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">IMAGE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"IMG"</span></h5></li><li class="tsd-parameter"><h5 id="input_checkbox"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">INPUT_CHECKBOX</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"INC"</span></h5></li><li class="tsd-parameter"><h5 id="input_field"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">INPUT_FIELD</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"INF"</span></h5></li><li class="tsd-parameter"><h5 id="input_number"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">INPUT_NUMBER</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"INR"</span></h5></li><li class="tsd-parameter"><h5 id="knob"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">KNOB</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"KNB"</span></h5></li><li class="tsd-parameter"><h5 id="label"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">LABEL</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"LBL"</span></h5></li><li class="tsd-parameter"><h5 id="memo"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">MEMO</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"MEM"</span></h5></li><li class="tsd-parameter"><h5 id="multi_autocomplete"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">MULTI_AUTOCOMPLETE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"AML"</span></h5></li><li class="tsd-parameter"><h5 id="multi_combobox"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">MULTI_COMBOBOX</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"CML"</span></h5></li><li class="tsd-parameter"><h5 id="object"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">OBJECT</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"OBJ"</span></h5></li><li class="tsd-parameter"><h5 id="one_button"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">ONE_BUTTON</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"BTO"</span></h5></li><li class="tsd-parameter"><h5 id="password"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PASSWORD</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"PWD"</span></h5></li><li class="tsd-parameter"><h5 id="progress_bar"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PROGRESS_BAR</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"PGB"</span></h5></li><li class="tsd-parameter"><h5 id="radio"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">RADIO</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"RAD"</span></h5></li><li class="tsd-parameter"><h5 id="range"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">RANGE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"RNG"</span></h5></li><li class="tsd-parameter"><h5 id="rating"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">RATING</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"RTG"</span></h5></li><li class="tsd-parameter"><h5 id="spinner"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SPINNER</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"SPN"</span></h5></li><li class="tsd-parameter"><h5 id="switch"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SWITCH</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"SWT"</span></h5></li><li class="tsd-parameter"><h5 id="table"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TABLE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"TBL"</span></h5></li><li class="tsd-parameter"><h5 id="text_field"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TEXT_FIELD</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"ITX"</span></h5></li><li class="tsd-parameter"><h5 id="time"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TIME</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"TIM"</span></h5></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/1a55ec451911aef158c961fcc31b7e5cdf46464d/src/types/data-structures/smeupDataTable.ts#L86">work/kokos-sdk-node/kokos-sdk-node/src/types/data-structures/smeupDataTable.ts:86</a></li><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/1a55ec451911aef158c961fcc31b7e5cdf46464d/src/types/data-structures/smeupDataTable.ts#L129">work/kokos-sdk-node/kokos-sdk-node/src/types/data-structures/smeupDataTable.ts:129</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
2
|
+
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="autocomplete"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">AUTOCOMPLETE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"ACP"</span></h5></li><li class="tsd-parameter"><h5 id="boolean_button"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">BOOLEAN_BUTTON</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"BNB"</span></h5></li><li class="tsd-parameter"><h5 id="button_list"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">BUTTON_LIST</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"BTN"</span></h5></li><li class="tsd-parameter"><h5 id="chart"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">CHART</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"GRA"</span></h5></li><li class="tsd-parameter"><h5 id="checkbox"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">CHECKBOX</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"CHK"</span></h5></li><li class="tsd-parameter"><h5 id="chip"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">CHIP</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"CHI"</span></h5></li><li class="tsd-parameter"><h5 id="color_picker"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">COLOR_PICKER</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"CLP"</span></h5></li><li class="tsd-parameter"><h5 id="combobox"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">COMBOBOX</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"CMB"</span></h5></li><li class="tsd-parameter"><h5 id="command_execute"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">COMMAND_EXECUTE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"RUN"</span></h5></li><li class="tsd-parameter"><h5 id="date"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">DATE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"CAL"</span></h5></li><li class="tsd-parameter"><h5 id="decode"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">DECODE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"DEC"</span></h5></li><li class="tsd-parameter"><h5 id="editor"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">EDITOR</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"EDT"</span></h5></li><li class="tsd-parameter"><h5 id="file_reader"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">FILE_READER</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"FRE"</span></h5></li><li class="tsd-parameter"><h5 id="file_upload"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">FILE_UPLOAD</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"FUP"</span></h5></li><li class="tsd-parameter"><h5 id="gauge"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">GAUGE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"GAU"</span></h5></li><li class="tsd-parameter"><h5 id="icon"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">ICON</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"ICO"</span></h5></li><li class="tsd-parameter"><h5 id="image"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">IMAGE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"IMG"</span></h5></li><li class="tsd-parameter"><h5 id="input_checkbox"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">INPUT_CHECKBOX</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"INC"</span></h5></li><li class="tsd-parameter"><h5 id="input_field"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">INPUT_FIELD</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"INF"</span></h5></li><li class="tsd-parameter"><h5 id="input_number"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">INPUT_NUMBER</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"INR"</span></h5></li><li class="tsd-parameter"><h5 id="knob"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">KNOB</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"KNB"</span></h5></li><li class="tsd-parameter"><h5 id="label"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">LABEL</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"LBL"</span></h5></li><li class="tsd-parameter"><h5 id="memo"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">MEMO</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"MEM"</span></h5></li><li class="tsd-parameter"><h5 id="multi_autocomplete"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">MULTI_AUTOCOMPLETE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"AML"</span></h5></li><li class="tsd-parameter"><h5 id="multi_combobox"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">MULTI_COMBOBOX</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"CML"</span></h5></li><li class="tsd-parameter"><h5 id="object"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">OBJECT</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"OBJ"</span></h5></li><li class="tsd-parameter"><h5 id="one_button"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">ONE_BUTTON</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"BTO"</span></h5></li><li class="tsd-parameter"><h5 id="password"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PASSWORD</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"PWD"</span></h5></li><li class="tsd-parameter"><h5 id="progress_bar"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PROGRESS_BAR</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"PGB"</span></h5></li><li class="tsd-parameter"><h5 id="radio"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">RADIO</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"RAD"</span></h5></li><li class="tsd-parameter"><h5 id="range"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">RANGE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"RNG"</span></h5></li><li class="tsd-parameter"><h5 id="rating"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">RATING</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"RTG"</span></h5></li><li class="tsd-parameter"><h5 id="spinner"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SPINNER</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"SPN"</span></h5></li><li class="tsd-parameter"><h5 id="switch"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SWITCH</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"SWT"</span></h5></li><li class="tsd-parameter"><h5 id="table"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TABLE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"TBL"</span></h5></li><li class="tsd-parameter"><h5 id="text_field"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TEXT_FIELD</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"ITX"</span></h5></li><li class="tsd-parameter"><h5 id="time"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TIME</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"TIM"</span></h5></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/2fe6d90598027e968305c4fdf7cdbc0a7b5e35b7/src/types/data-structures/smeupDataTable.ts#L78">projects/kokos-sdk-node/src/types/data-structures/smeupDataTable.ts:78</a></li><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/2fe6d90598027e968305c4fdf7cdbc0a7b5e35b7/src/types/data-structures/smeupDataTable.ts#L121">projects/kokos-sdk-node/src/types/data-structures/smeupDataTable.ts:121</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExecutionContext, Fun } from "../types/general
|
|
2
|
-
import { ApiVersion, SmeupDataStructure } from "../types/data-structures/smeupDataStructure
|
|
1
|
+
import { ExecutionContext, Fun } from "../types/general";
|
|
2
|
+
import { ApiVersion, SmeupDataStructure } from "../types/data-structures/smeupDataStructure";
|
|
3
3
|
/**
|
|
4
4
|
* Execute FUN. If FUN can't be handled internally, it is delegated to another micro-executor.
|
|
5
5
|
* @param fun
|
|
@@ -8,3 +8,4 @@ import { ApiVersion, SmeupDataStructure } from "../types/data-structures/smeupDa
|
|
|
8
8
|
* @returns
|
|
9
9
|
*/
|
|
10
10
|
export declare function executeFun<T extends SmeupDataStructure>(fun: Fun, context: ExecutionContext, version?: ApiVersion): Promise<T>;
|
|
11
|
+
//# sourceMappingURL=executeFun.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executeFun.d.ts","sourceRoot":"","sources":["../../src/caller/executeFun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAGzD,OAAO,EACL,UAAU,EACV,kBAAkB,EACnB,MAAM,6CAA6C,CAAC;AAErD;;;;;;GAMG;AACH,wBAAsB,UAAU,CAAC,CAAC,SAAS,kBAAkB,EAC3D,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,gBAAgB,EACzB,OAAO,GAAE,UAA0B,GAClC,OAAO,CAAC,CAAC,CAAC,CAYZ"}
|
package/lib/caller/executeFun.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.executeFun = executeFun;
|
|
4
|
+
const serviceCaller_1 = require("./serviceCaller");
|
|
5
|
+
const dataStructureStream_1 = require("../utils/dataStructureStream");
|
|
6
|
+
const smeupDataStructure_1 = require("../types/data-structures/smeupDataStructure");
|
|
4
7
|
/**
|
|
5
8
|
* Execute FUN. If FUN can't be handled internally, it is delegated to another micro-executor.
|
|
6
9
|
* @param fun
|
|
@@ -8,10 +11,10 @@ import { ApiVersion, } from "../types/data-structures/smeupDataStructure.js";
|
|
|
8
11
|
* @param version
|
|
9
12
|
* @returns
|
|
10
13
|
*/
|
|
11
|
-
|
|
14
|
+
async function executeFun(fun, context, version = smeupDataStructure_1.ApiVersion.V2) {
|
|
12
15
|
return new Promise(async (resolve, reject) => {
|
|
13
|
-
const out = new DataStructureStream();
|
|
14
|
-
serviceCaller(fun, context, out, version)
|
|
16
|
+
const out = new dataStructureStream_1.DataStructureStream();
|
|
17
|
+
(0, serviceCaller_1.serviceCaller)(fun, context, out, version)
|
|
15
18
|
.then(() => {
|
|
16
19
|
const ds = out.getDataStructure();
|
|
17
20
|
resolve(ds);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeFun.js","sourceRoot":"","sources":["../../src/caller/executeFun.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"executeFun.js","sourceRoot":"","sources":["../../src/caller/executeFun.ts"],"names":[],"mappings":";;AAeA,gCAgBC;AA9BD,mDAAgD;AAChD,sEAAmE;AACnE,oFAGqD;AAErD;;;;;;GAMG;AACI,KAAK,UAAU,UAAU,CAC9B,GAAQ,EACR,OAAyB,EACzB,UAAsB,+BAAU,CAAC,EAAE;IAEnC,OAAO,IAAI,OAAO,CAAI,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;QAC9C,MAAM,GAAG,GAAG,IAAI,yCAAmB,EAAK,CAAC;QACzC,IAAA,6BAAa,EAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,CAAC;aACtC,IAAI,CAAC,GAAG,EAAE;YACT,MAAM,EAAE,GAAG,GAAG,CAAC,gBAAgB,EAAE,CAAC;YAClC,OAAO,CAAC,EAAE,CAAC,CAAC;QACd,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;YACb,MAAM,CAAC,GAAG,CAAC,CAAC;QACd,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import stream from "stream";
|
|
2
|
-
import { ExecutionContext, Fun } from "../types/general
|
|
2
|
+
import { ExecutionContext, Fun } from "../types/general";
|
|
3
3
|
/**
|
|
4
4
|
* Dispatches the execution of a function to the micro-executor service.
|
|
5
5
|
* @param handler The handler name.
|
|
@@ -9,3 +9,4 @@ import { ExecutionContext, Fun } from "../types/general.js";
|
|
|
9
9
|
* @throws Exception
|
|
10
10
|
*/
|
|
11
11
|
export declare function dispatch(handler: string, fun: Fun, context: ExecutionContext, out: stream.Writable, async?: boolean): Promise<void>;
|
|
12
|
+
//# sourceMappingURL=microExecutorServiceCaller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"microExecutorServiceCaller.d.ts","sourceRoot":"","sources":["../../src/caller/microExecutorServiceCaller.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAqB,gBAAgB,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAW5E;;;;;;;GAOG;AACH,wBAAsB,QAAQ,CAC5B,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,gBAAgB,EACzB,GAAG,EAAE,MAAM,CAAC,QAAQ,EACpB,KAAK,GAAE,OAAe,GACrB,OAAO,CAAC,IAAI,CAAC,CAsCf"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.dispatch = dispatch;
|
|
7
|
+
const smeupDataStructure_1 = require("../types/data-structures/smeupDataStructure");
|
|
8
|
+
const axios_1 = __importDefault(require("axios"));
|
|
9
|
+
const fun_1 = require("../utils/fun");
|
|
4
10
|
const EXECUTE_FUN_V2 = "/api/v2/executeFun";
|
|
5
11
|
const EXECUTE_BATCH_FUN_V2 = "/api/v2/executeBatchFun";
|
|
6
12
|
/**
|
|
@@ -11,7 +17,7 @@ const EXECUTE_BATCH_FUN_V2 = "/api/v2/executeBatchFun";
|
|
|
11
17
|
* @param out The OutputStream object.
|
|
12
18
|
* @throws Exception
|
|
13
19
|
*/
|
|
14
|
-
|
|
20
|
+
async function dispatch(handler, fun, context, out, async = false) {
|
|
15
21
|
const handlerUrl = context?.app?.registry?.handlers?.[handler];
|
|
16
22
|
if (handlerUrl) {
|
|
17
23
|
const url = handlerUrl + (async ? EXECUTE_BATCH_FUN_V2 : EXECUTE_FUN_V2);
|
|
@@ -19,7 +25,7 @@ export async function dispatch(handler, fun, context, out, async = false) {
|
|
|
19
25
|
fun: fun,
|
|
20
26
|
context: context,
|
|
21
27
|
};
|
|
22
|
-
const response = await
|
|
28
|
+
const response = await axios_1.default.post(url, dto, {
|
|
23
29
|
headers: {
|
|
24
30
|
"Content-Type": "application/json",
|
|
25
31
|
Accept: "application/smeup-json",
|
|
@@ -32,8 +38,8 @@ export async function dispatch(handler, fun, context, out, async = false) {
|
|
|
32
38
|
// handle applicative errors
|
|
33
39
|
if (response.data.messages?.length) {
|
|
34
40
|
for (const message of response.data.messages) {
|
|
35
|
-
if (message.gravity === SMEUP_MESSAGE_GRAVITY.ERROR) {
|
|
36
|
-
throw new Error(`Error calling FUN ${funToString(fun)}: ${message.message}`);
|
|
41
|
+
if (message.gravity === smeupDataStructure_1.SMEUP_MESSAGE_GRAVITY.ERROR) {
|
|
42
|
+
throw new Error(`Error calling FUN ${(0, fun_1.funToString)(fun)}: ${message.message}`);
|
|
37
43
|
}
|
|
38
44
|
}
|
|
39
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"microExecutorServiceCaller.js","sourceRoot":"","sources":["../../src/caller/microExecutorServiceCaller.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"microExecutorServiceCaller.js","sourceRoot":"","sources":["../../src/caller/microExecutorServiceCaller.ts"],"names":[],"mappings":";;;;;AAoBA,4BA4CC;AA9DD,oFAGqD;AACrD,kDAA6C;AAC7C,sCAA2C;AAE3C,MAAM,cAAc,GAAG,oBAAoB,CAAC;AAC5C,MAAM,oBAAoB,GAAG,yBAAyB,CAAC;AAEvD;;;;;;;GAOG;AACI,KAAK,UAAU,QAAQ,CAC5B,OAAe,EACf,GAAQ,EACR,OAAyB,EACzB,GAAoB,EACpB,QAAiB,KAAK;IAEtB,MAAM,UAAU,GAAG,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC;IAC/D,IAAI,UAAU,EAAE,CAAC;QACf,MAAM,GAAG,GAAG,UAAU,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC;QACzE,MAAM,GAAG,GAAsB;YAC7B,GAAG,EAAE,GAAG;YACR,OAAO,EAAE,OAAO;SACjB,CAAC;QACF,MAAM,QAAQ,GAAsC,MAAM,eAAK,CAAC,IAAI,CAClE,GAAG,EACH,GAAG,EACH;YACE,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;gBAClC,MAAM,EAAE,wBAAwB;aACjC;SACF,CACF,CAAC;QACF,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC;QAC7B,IAAI,IAAI,GAAG,GAAG,IAAI,IAAI,GAAG,GAAG,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CACb,oBAAoB,GAAG,4BAA4B,IAAI,eAAe,QAAQ,CAAC,IAAI,EAAE,CACtF,CAAC;QACJ,CAAC;QACD,4BAA4B;QAC5B,IAAI,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,CAAC;YACnC,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAC7C,IAAI,OAAO,CAAC,OAAO,KAAK,0CAAqB,CAAC,KAAK,EAAE,CAAC;oBACpD,MAAM,IAAI,KAAK,CACb,qBAAqB,IAAA,iBAAW,EAAC,GAAG,CAAC,KAAK,OAAO,CAAC,OAAO,EAAE,CAC5D,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QACD,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAChE,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,KAAK,CAAC,WAAW,OAAO,cAAc,CAAC,CAAC;IACpD,CAAC;AACH,CAAC"}
|
|
@@ -1,33 +1,8 @@
|
|
|
1
|
-
import { ExecutionContext, Fun } from "../types/general
|
|
1
|
+
import { ExecutionContext, Fun } from "../types/general";
|
|
2
2
|
import stream from "stream";
|
|
3
|
-
import { ApiVersion } from "../types/data-structures/smeupDataStructure
|
|
4
|
-
/**
|
|
5
|
-
* PROJECT FILE SYSTEM
|
|
6
|
-
*
|
|
7
|
-
* implementation project
|
|
8
|
-
* node_modules
|
|
9
|
-
* @sme.up
|
|
10
|
-
* kokos-template-node
|
|
11
|
-
* lib
|
|
12
|
-
* caller
|
|
13
|
-
* serviceCaller.js
|
|
14
|
-
*
|
|
15
|
-
* src
|
|
16
|
-
* services
|
|
17
|
-
* [SOURCES_SERVICES (.ts)]
|
|
18
|
-
*
|
|
19
|
-
* dist
|
|
20
|
-
* services
|
|
21
|
-
* [COMPILED_SERVICES (.js)]
|
|
22
|
-
*/
|
|
3
|
+
import { ApiVersion } from "../types/data-structures/smeupDataStructure";
|
|
23
4
|
/**
|
|
24
5
|
* Service Caller
|
|
25
|
-
* Thows ExecutionException if
|
|
26
|
-
* - service not found
|
|
27
|
-
* - method not found
|
|
28
|
-
* @param fun
|
|
29
|
-
* @param context
|
|
30
|
-
* @returns
|
|
31
|
-
* @throws ExecutionException
|
|
32
6
|
*/
|
|
33
7
|
export declare function serviceCaller(fun: Fun, context: ExecutionContext, out: stream.Writable, version?: ApiVersion, async?: boolean): Promise<void>;
|
|
8
|
+
//# sourceMappingURL=serviceCaller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceCaller.d.ts","sourceRoot":"","sources":["../../src/caller/serviceCaller.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,GAAG,EAAsB,MAAM,kBAAkB,CAAC;AAG7E,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,UAAU,EAGX,MAAM,6CAA6C,CAAC;AAarD;;GAEG;AACH,wBAAsB,aAAa,CACjC,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,gBAAgB,EACzB,GAAG,EAAE,MAAM,CAAC,QAAQ,EACpB,OAAO,GAAE,UAA0B,EACnC,KAAK,GAAE,OAAe,iBA4GvB"}
|
|
@@ -1,54 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
* node_modules
|
|
18
|
-
* @sme.up
|
|
19
|
-
* kokos-template-node
|
|
20
|
-
* lib
|
|
21
|
-
* caller
|
|
22
|
-
* serviceCaller.js
|
|
23
|
-
*
|
|
24
|
-
* src
|
|
25
|
-
* services
|
|
26
|
-
* [SOURCES_SERVICES (.ts)]
|
|
27
|
-
*
|
|
28
|
-
* dist
|
|
29
|
-
* services
|
|
30
|
-
* [COMPILED_SERVICES (.js)]
|
|
31
|
-
*/
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.serviceCaller = serviceCaller;
|
|
7
|
+
const path_1 = __importDefault(require("path"));
|
|
8
|
+
const path_2 = require("../utils/path");
|
|
9
|
+
const smeupDataStructureWriter_1 = require("../utils/smeupDataStructureWriter");
|
|
10
|
+
const smeupDataStructure_1 = require("../types/data-structures/smeupDataStructure");
|
|
11
|
+
const logger_1 = require("../logger/logger");
|
|
12
|
+
const fun_1 = require("../utils/fun");
|
|
13
|
+
const microExecutorServiceCaller_1 = require("./microExecutorServiceCaller");
|
|
14
|
+
const configuration_1 = require("../configuration/configuration");
|
|
15
|
+
const batchUtils_1 = require("../utils/batchUtils");
|
|
16
|
+
const helpers_1 = require("../types/helpers");
|
|
32
17
|
/**
|
|
33
18
|
* Service Caller
|
|
34
|
-
* Thows ExecutionException if
|
|
35
|
-
* - service not found
|
|
36
|
-
* - method not found
|
|
37
|
-
* @param fun
|
|
38
|
-
* @param context
|
|
39
|
-
* @returns
|
|
40
|
-
* @throws ExecutionException
|
|
41
19
|
*/
|
|
42
|
-
|
|
20
|
+
async function serviceCaller(fun, context, out, version = smeupDataStructure_1.ApiVersion.V2, async = false) {
|
|
43
21
|
// setup logger context
|
|
44
22
|
const loggerContext = {
|
|
45
|
-
fun: funToString(fun),
|
|
46
|
-
sessionId: context?.user?.sessionId
|
|
47
|
-
user: context?.user?.username
|
|
48
|
-
app: context?.user?.app
|
|
23
|
+
fun: (0, fun_1.funToString)(fun),
|
|
24
|
+
sessionId: context?.user?.sessionId ?? "",
|
|
25
|
+
user: context?.user?.username ?? "",
|
|
26
|
+
app: context?.user?.app ?? "",
|
|
49
27
|
};
|
|
50
|
-
createLoggerContext(loggerContext);
|
|
51
|
-
LOGGER.info(`Execute FUN ${loggerContext.fun}`);
|
|
28
|
+
(0, logger_1.createLoggerContext)(loggerContext);
|
|
29
|
+
logger_1.LOGGER.info(`Execute FUN ${loggerContext.fun}`);
|
|
52
30
|
// check alias
|
|
53
31
|
if (context?.app?.registry?.aliases?.[fun.service]) {
|
|
54
32
|
fun.service = context.app.registry.aliases[fun.service];
|
|
@@ -57,75 +35,62 @@ export async function serviceCaller(fun, context, out, version = ApiVersion.V2,
|
|
|
57
35
|
let handler = context?.app?.registry?.services?.[fun.service];
|
|
58
36
|
const defaultHandler = context?.app?.registry?.defaultHandler;
|
|
59
37
|
if (!handler) {
|
|
60
|
-
handler = defaultHandler ?? globalConfiguration.microExecutorId;
|
|
38
|
+
handler = defaultHandler ?? configuration_1.globalConfiguration.microExecutorId;
|
|
61
39
|
}
|
|
62
|
-
if (handler && handler !== globalConfiguration.microExecutorId) {
|
|
40
|
+
if (handler && handler !== configuration_1.globalConfiguration.microExecutorId) {
|
|
63
41
|
// dispatch to external service
|
|
64
|
-
await dispatch(handler, fun, context, out, async);
|
|
42
|
+
await (0, microExecutorServiceCaller_1.dispatch)(handler, fun, context, out, async);
|
|
65
43
|
}
|
|
66
44
|
else {
|
|
67
45
|
// handle internally
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
if (!process.env.NODE_ENV || process.env.NODE_ENV == "production") {
|
|
71
|
-
servicePath = path.join(getProjectRoot(), "lib", "services", `${fun.service}.js`);
|
|
72
|
-
}
|
|
73
|
-
else if (process.env.NODE_ENV === "development" ||
|
|
74
|
-
process.env.NODE_ENV === "test") {
|
|
75
|
-
servicePath = path.join(getProjectRoot(), "src", "services", fun.service);
|
|
76
|
-
}
|
|
77
|
-
if (os.platform() === "win32") {
|
|
78
|
-
servicePath = url.pathToFileURL(servicePath).toString();
|
|
79
|
-
}
|
|
80
|
-
// load service module
|
|
46
|
+
let servicePath = path_1.default.join((0, path_2.getProjectRoot)(), "lib", "services", `${fun.service}`);
|
|
47
|
+
// load service module using CommonJS require
|
|
81
48
|
let serviceModule;
|
|
82
|
-
const writer = new SmeupDataStructureWriter(out, version);
|
|
49
|
+
const writer = new smeupDataStructureWriter_1.SmeupDataStructureWriter(out, version);
|
|
83
50
|
writer.writeDataStructureInitialization(fun);
|
|
84
51
|
try {
|
|
85
|
-
|
|
86
|
-
serviceModule = await import(servicePath);
|
|
52
|
+
serviceModule = require(servicePath); // CommonJS dynamic require
|
|
87
53
|
// check method
|
|
88
54
|
if (serviceModule.default.methods[fun.function]) {
|
|
89
|
-
// call method
|
|
90
55
|
try {
|
|
91
56
|
if (async) {
|
|
92
|
-
trackFun(globalConfiguration.microExecutorId, context, fun, FunStatus.RUNNING);
|
|
57
|
+
(0, batchUtils_1.trackFun)(configuration_1.globalConfiguration.microExecutorId, context, fun, helpers_1.FunStatus.RUNNING);
|
|
93
58
|
}
|
|
94
59
|
await serviceModule.default.methods[fun.function](fun, context, writer);
|
|
95
60
|
if (async) {
|
|
96
|
-
trackFun(globalConfiguration.microExecutorId, context, fun, FunStatus.COMPLETED);
|
|
61
|
+
(0, batchUtils_1.trackFun)(configuration_1.globalConfiguration.microExecutorId, context, fun, helpers_1.FunStatus.COMPLETED);
|
|
97
62
|
}
|
|
98
63
|
}
|
|
99
64
|
catch (error) {
|
|
100
|
-
LOGGER.error(error);
|
|
65
|
+
logger_1.LOGGER.error(error);
|
|
101
66
|
if (async) {
|
|
102
|
-
trackFun(globalConfiguration.microExecutorId, context, fun, FunStatus.FAILED, error);
|
|
67
|
+
(0, batchUtils_1.trackFun)(configuration_1.globalConfiguration.microExecutorId, context, fun, helpers_1.FunStatus.FAILED, error);
|
|
103
68
|
}
|
|
104
69
|
writer.writeMessage({
|
|
105
|
-
gravity: SMEUP_MESSAGE_GRAVITY.ERROR,
|
|
106
|
-
mode: SMEUP_MESSAGE_MODE.PN,
|
|
70
|
+
gravity: smeupDataStructure_1.SMEUP_MESSAGE_GRAVITY.ERROR,
|
|
71
|
+
mode: smeupDataStructure_1.SMEUP_MESSAGE_MODE.PN,
|
|
107
72
|
message: error.message,
|
|
108
73
|
});
|
|
109
74
|
}
|
|
110
75
|
}
|
|
111
76
|
else {
|
|
112
77
|
writer.writeMessage({
|
|
113
|
-
gravity: SMEUP_MESSAGE_GRAVITY.ERROR,
|
|
114
|
-
mode: SMEUP_MESSAGE_MODE.PN,
|
|
115
|
-
message: `Method "${fun.function
|
|
78
|
+
gravity: smeupDataStructure_1.SMEUP_MESSAGE_GRAVITY.ERROR,
|
|
79
|
+
mode: smeupDataStructure_1.SMEUP_MESSAGE_MODE.PN,
|
|
80
|
+
message: `Method "${fun.function ?? ""}" not found for service "${fun.service}"`,
|
|
116
81
|
});
|
|
117
82
|
}
|
|
118
83
|
}
|
|
119
84
|
catch (error) {
|
|
120
|
-
LOGGER.error(error);
|
|
85
|
+
logger_1.LOGGER.error(error);
|
|
121
86
|
writer.writeMessage({
|
|
122
|
-
gravity: SMEUP_MESSAGE_GRAVITY.ERROR,
|
|
123
|
-
mode: SMEUP_MESSAGE_MODE.PN,
|
|
87
|
+
gravity: smeupDataStructure_1.SMEUP_MESSAGE_GRAVITY.ERROR,
|
|
88
|
+
mode: smeupDataStructure_1.SMEUP_MESSAGE_MODE.PN,
|
|
124
89
|
message: `Service "${fun.service}" not found: ${error.message}`,
|
|
125
90
|
});
|
|
126
91
|
}
|
|
127
92
|
writer.writeDataStructureFinalization(fun);
|
|
128
93
|
}
|
|
129
|
-
clearLoggerContext();
|
|
94
|
+
(0, logger_1.clearLoggerContext)();
|
|
130
95
|
}
|
|
131
96
|
//# sourceMappingURL=serviceCaller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceCaller.js","sourceRoot":"","sources":["../../src/caller/serviceCaller.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"serviceCaller.js","sourceRoot":"","sources":["../../src/caller/serviceCaller.ts"],"names":[],"mappings":";;;;;AA0BA,sCAiHC;AA3ID,gDAAwB;AAGxB,wCAA+C;AAC/C,gFAA6E;AAE7E,oFAIqD;AACrD,6CAK0B;AAC1B,sCAA2C;AAC3C,6EAAwD;AACxD,kEAAqE;AACrE,oDAA+C;AAC/C,8CAA6C;AAE7C;;GAEG;AACI,KAAK,UAAU,aAAa,CACjC,GAAQ,EACR,OAAyB,EACzB,GAAoB,EACpB,UAAsB,+BAAU,CAAC,EAAE,EACnC,QAAiB,KAAK;IAEtB,uBAAuB;IACvB,MAAM,aAAa,GAAkB;QACnC,GAAG,EAAE,IAAA,iBAAW,EAAC,GAAG,CAAC;QACrB,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,IAAI,EAAE;QACzC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,IAAI,EAAE;QACnC,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE;KAC9B,CAAC;IACF,IAAA,4BAAmB,EAAC,aAAa,CAAC,CAAC;IACnC,eAAM,CAAC,IAAI,CAAC,eAAe,aAAa,CAAC,GAAG,EAAE,CAAC,CAAC;IAEhD,cAAc;IACd,IAAI,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACnD,GAAG,CAAC,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED,wBAAwB;IACxB,IAAI,OAAO,GAAG,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC9D,MAAM,cAAc,GAAG,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,cAAc,CAAC;IAE9D,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,GAAG,cAAc,IAAI,mCAAmB,CAAC,eAAe,CAAC;IAClE,CAAC;IAED,IAAI,OAAO,IAAI,OAAO,KAAK,mCAAmB,CAAC,eAAe,EAAE,CAAC;QAC/D,+BAA+B;QAC/B,MAAM,IAAA,qCAAQ,EAAC,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACpD,CAAC;SAAM,CAAC;QACN,oBAAoB;QACpB,IAAI,WAAW,GAAW,cAAI,CAAC,IAAI,CACjC,IAAA,qBAAc,GAAE,EAChB,KAAK,EACL,UAAU,EACV,GAAG,GAAG,CAAC,OAAO,EAAE,CACjB,CAAC;QAEF,6CAA6C;QAC7C,IAAI,aAAiC,CAAC;QACtC,MAAM,MAAM,GAAG,IAAI,mDAAwB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAC1D,MAAM,CAAC,gCAAgC,CAAC,GAAG,CAAC,CAAC;QAE7C,IAAI,CAAC;YACH,aAAa,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,2BAA2B;YAEjE,eAAe;YACf,IAAI,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAChD,IAAI,CAAC;oBACH,IAAI,KAAK,EAAE,CAAC;wBACV,IAAA,qBAAQ,EACN,mCAAmB,CAAC,eAAe,EACnC,OAAO,EACP,GAAG,EACH,mBAAS,CAAC,OAAO,CAClB,CAAC;oBACJ,CAAC;oBACD,MAAM,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAC/C,GAAG,EACH,OAAO,EACP,MAAM,CACP,CAAC;oBACF,IAAI,KAAK,EAAE,CAAC;wBACV,IAAA,qBAAQ,EACN,mCAAmB,CAAC,eAAe,EACnC,OAAO,EACP,GAAG,EACH,mBAAS,CAAC,SAAS,CACpB,CAAC;oBACJ,CAAC;gBACH,CAAC;gBAAC,OAAO,KAAU,EAAE,CAAC;oBACpB,eAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;oBACpB,IAAI,KAAK,EAAE,CAAC;wBACV,IAAA,qBAAQ,EACN,mCAAmB,CAAC,eAAe,EACnC,OAAO,EACP,GAAG,EACH,mBAAS,CAAC,MAAM,EAChB,KAAK,CACN,CAAC;oBACJ,CAAC;oBACD,MAAM,CAAC,YAAY,CAAC;wBAClB,OAAO,EAAE,0CAAqB,CAAC,KAAK;wBACpC,IAAI,EAAE,uCAAkB,CAAC,EAAE;wBAC3B,OAAO,EAAE,KAAK,CAAC,OAAO;qBACvB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,MAAM,CAAC,YAAY,CAAC;oBAClB,OAAO,EAAE,0CAAqB,CAAC,KAAK;oBACpC,IAAI,EAAE,uCAAkB,CAAC,EAAE;oBAC3B,OAAO,EAAE,WAAW,GAAG,CAAC,QAAQ,IAAI,EAAE,4BACpC,GAAG,CAAC,OACN,GAAG;iBACJ,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACpB,eAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACpB,MAAM,CAAC,YAAY,CAAC;gBAClB,OAAO,EAAE,0CAAqB,CAAC,KAAK;gBACpC,IAAI,EAAE,uCAAkB,CAAC,EAAE;gBAC3B,OAAO,EAAE,YAAY,GAAG,CAAC,OAAO,gBAAgB,KAAK,CAAC,OAAO,EAAE;aAChE,CAAC,CAAC;QACL,CAAC;QAED,MAAM,CAAC,8BAA8B,CAAC,GAAG,CAAC,CAAC;IAC7C,CAAC;IAED,IAAA,2BAAkB,GAAE,CAAC;AACvB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DocumentDatabaseDataSource, MicroExecutorConfiguration } from "../types/general
|
|
1
|
+
import { DocumentDatabaseDataSource, MicroExecutorConfiguration } from "../types/general";
|
|
2
2
|
export declare const globalConfiguration: {
|
|
3
3
|
microExecutorId: string;
|
|
4
4
|
documentDBDataSource: DocumentDatabaseDataSource;
|
|
@@ -11,3 +11,4 @@ export declare const globalConfiguration: {
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function init<T extends MicroExecutorConfiguration>(microExecutorId: string, defatultConfigurationClass: T): T;
|
|
13
13
|
export declare function getStandardDocumentDBDataSource(): DocumentDatabaseDataSource;
|
|
14
|
+
//# sourceMappingURL=configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../src/configuration/configuration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAQ1F,eAAO,MAAM,mBAAmB,EAAE;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,0BAA0B,CAAC;CAIlD,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,0BAA0B,EACvD,eAAe,EAAE,MAAM,EACvB,0BAA0B,EAAE,CAAC,GAC5B,CAAC,CAsBH;AAED,wBAAgB,+BAA+B,IAAI,0BAA0B,CAS5E"}
|