@adaas/a-utils 0.2.8 → 0.2.9
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/.conf/tsconfig.base.json +91 -0
- package/.conf/tsconfig.browser.json +26 -0
- package/.conf/tsconfig.node.json +30 -0
- package/dist/browser/A-Logger.component-Be-LMV3I.d.mts +467 -0
- package/dist/browser/A-StateMachineTransition.context-BINjcsgq.d.mts +221 -0
- package/dist/browser/a-channel.d.mts +456 -0
- package/dist/browser/a-channel.mjs +367 -0
- package/dist/browser/a-channel.mjs.map +1 -0
- package/dist/browser/a-command.d.mts +555 -0
- package/dist/browser/a-command.mjs +567 -0
- package/dist/browser/a-command.mjs.map +1 -0
- package/dist/browser/a-config.d.mts +60 -0
- package/dist/browser/a-config.mjs +6 -0
- package/dist/browser/a-config.mjs.map +1 -0
- package/dist/browser/a-execution.d.mts +17 -0
- package/dist/browser/a-execution.mjs +4 -0
- package/dist/browser/a-execution.mjs.map +1 -0
- package/dist/browser/a-logger.d.mts +107 -0
- package/dist/browser/a-logger.mjs +7 -0
- package/dist/browser/a-logger.mjs.map +1 -0
- package/dist/browser/a-manifest.d.mts +111 -0
- package/dist/browser/a-manifest.mjs +176 -0
- package/dist/browser/a-manifest.mjs.map +1 -0
- package/dist/browser/a-memory.d.mts +163 -0
- package/dist/browser/a-memory.mjs +375 -0
- package/dist/browser/a-memory.mjs.map +1 -0
- package/dist/browser/a-operation.d.mts +52 -0
- package/dist/browser/a-operation.mjs +5 -0
- package/dist/browser/a-operation.mjs.map +1 -0
- package/dist/browser/a-polyfill.d.mts +275 -0
- package/dist/browser/a-polyfill.mjs +4 -0
- package/dist/browser/a-polyfill.mjs.map +1 -0
- package/dist/browser/a-route.d.mts +25 -0
- package/dist/browser/a-route.mjs +98 -0
- package/dist/browser/a-route.mjs.map +1 -0
- package/dist/browser/a-schedule.d.mts +111 -0
- package/dist/browser/a-schedule.mjs +97 -0
- package/dist/browser/a-schedule.mjs.map +1 -0
- package/dist/browser/a-service.d.mts +40 -0
- package/dist/browser/a-service.mjs +197 -0
- package/dist/browser/a-service.mjs.map +1 -0
- package/dist/browser/a-signal.d.mts +402 -0
- package/dist/browser/a-signal.mjs +588 -0
- package/dist/browser/a-signal.mjs.map +1 -0
- package/dist/browser/a-state-machine.d.mts +11 -0
- package/dist/browser/a-state-machine.mjs +6 -0
- package/dist/browser/a-state-machine.mjs.map +1 -0
- package/dist/browser/chunk-72ANHWNG.mjs +48 -0
- package/dist/browser/chunk-72ANHWNG.mjs.map +1 -0
- package/dist/browser/chunk-ECSGFDRQ.mjs +264 -0
- package/dist/browser/chunk-ECSGFDRQ.mjs.map +1 -0
- package/dist/browser/chunk-EQQGB2QZ.mjs +15 -0
- package/dist/browser/chunk-EQQGB2QZ.mjs.map +1 -0
- package/dist/browser/chunk-HWSDIXPG.mjs +776 -0
- package/dist/browser/chunk-HWSDIXPG.mjs.map +1 -0
- package/dist/browser/chunk-J6CLHXFQ.mjs +679 -0
- package/dist/browser/chunk-J6CLHXFQ.mjs.map +1 -0
- package/dist/browser/chunk-JTQYATZ5.mjs +679 -0
- package/dist/browser/chunk-JTQYATZ5.mjs.map +1 -0
- package/dist/browser/chunk-NLPSQYIQ.mjs +149 -0
- package/dist/browser/chunk-NLPSQYIQ.mjs.map +1 -0
- package/dist/browser/chunk-RLXT47QH.mjs +264 -0
- package/dist/browser/chunk-RLXT47QH.mjs.map +1 -0
- package/dist/browser/chunk-TK5UEYMZ.mjs +776 -0
- package/dist/browser/chunk-TK5UEYMZ.mjs.map +1 -0
- package/dist/browser/chunk-TQ5UON22.mjs +56 -0
- package/dist/browser/chunk-TQ5UON22.mjs.map +1 -0
- package/dist/node/A-Command.entity-24rvXQLC.d.mts +409 -0
- package/dist/node/A-Command.entity-ISgSk8wB.d.ts +409 -0
- package/dist/node/A-Manifest.context-D2uynD9t.d.mts +66 -0
- package/dist/node/A-Manifest.context-rZnvR17w.d.ts +66 -0
- package/dist/node/A-Signal.types-P5VKMKMs.d.mts +114 -0
- package/dist/node/A-Signal.types-P5VKMKMs.d.ts +114 -0
- package/dist/node/chunk-EQQGB2QZ.mjs +15 -0
- package/dist/node/chunk-EQQGB2QZ.mjs.map +1 -0
- package/dist/node/constants/errors.constants.d.mts +2 -0
- package/dist/node/constants/errors.constants.d.ts +2 -0
- package/dist/node/constants/errors.constants.js +4 -0
- package/dist/node/constants/errors.constants.js.map +1 -0
- package/dist/node/constants/errors.constants.mjs +3 -0
- package/dist/node/constants/errors.constants.mjs.map +1 -0
- package/dist/node/lib/A-Channel/A-Channel.component.d.mts +365 -0
- package/dist/node/lib/A-Channel/A-Channel.component.d.ts +365 -0
- package/dist/node/lib/A-Channel/A-Channel.component.js +303 -0
- package/dist/node/lib/A-Channel/A-Channel.component.js.map +1 -0
- package/dist/node/lib/A-Channel/A-Channel.component.mjs +294 -0
- package/dist/node/lib/A-Channel/A-Channel.component.mjs.map +1 -0
- package/dist/node/lib/A-Channel/A-Channel.constants.d.mts +68 -0
- package/dist/node/lib/A-Channel/A-Channel.constants.d.ts +68 -0
- package/dist/node/lib/A-Channel/A-Channel.constants.js +28 -0
- package/dist/node/lib/A-Channel/A-Channel.constants.js.map +1 -0
- package/dist/node/lib/A-Channel/A-Channel.constants.mjs +27 -0
- package/dist/node/lib/A-Channel/A-Channel.constants.mjs.map +1 -0
- package/dist/node/lib/A-Channel/A-Channel.error.d.mts +23 -0
- package/dist/node/lib/A-Channel/A-Channel.error.d.ts +23 -0
- package/dist/node/lib/A-Channel/A-Channel.error.js +36 -0
- package/dist/node/lib/A-Channel/A-Channel.error.js.map +1 -0
- package/dist/node/lib/A-Channel/A-Channel.error.mjs +35 -0
- package/dist/node/lib/A-Channel/A-Channel.error.mjs.map +1 -0
- package/dist/node/lib/A-Channel/A-Channel.types.d.mts +2 -0
- package/dist/node/lib/A-Channel/A-Channel.types.d.ts +2 -0
- package/dist/node/lib/A-Channel/A-Channel.types.js +4 -0
- package/dist/node/lib/A-Channel/A-Channel.types.js.map +1 -0
- package/dist/node/lib/A-Channel/A-Channel.types.mjs +3 -0
- package/dist/node/lib/A-Channel/A-Channel.types.mjs.map +1 -0
- package/dist/node/lib/A-Channel/A-ChannelRequest.context.d.mts +17 -0
- package/dist/node/lib/A-Channel/A-ChannelRequest.context.d.ts +17 -0
- package/dist/node/lib/A-Channel/A-ChannelRequest.context.js +41 -0
- package/dist/node/lib/A-Channel/A-ChannelRequest.context.js.map +1 -0
- package/dist/node/lib/A-Channel/A-ChannelRequest.context.mjs +34 -0
- package/dist/node/lib/A-Channel/A-ChannelRequest.context.mjs.map +1 -0
- package/dist/node/lib/A-Channel/index.d.mts +8 -0
- package/dist/node/lib/A-Channel/index.d.ts +8 -0
- package/dist/node/lib/A-Channel/index.js +36 -0
- package/dist/node/lib/A-Channel/index.js.map +1 -0
- package/dist/node/lib/A-Channel/index.mjs +8 -0
- package/dist/node/lib/A-Channel/index.mjs.map +1 -0
- package/dist/node/lib/A-Command/A-Command.constants.d.mts +139 -0
- package/dist/node/lib/A-Command/A-Command.constants.d.ts +139 -0
- package/dist/node/lib/A-Command/A-Command.constants.js +45 -0
- package/dist/node/lib/A-Command/A-Command.constants.js.map +1 -0
- package/dist/node/lib/A-Command/A-Command.constants.mjs +42 -0
- package/dist/node/lib/A-Command/A-Command.constants.mjs.map +1 -0
- package/dist/node/lib/A-Command/A-Command.entity.d.mts +16 -0
- package/dist/node/lib/A-Command/A-Command.entity.d.ts +16 -0
- package/dist/node/lib/A-Command/A-Command.entity.js +530 -0
- package/dist/node/lib/A-Command/A-Command.entity.js.map +1 -0
- package/dist/node/lib/A-Command/A-Command.entity.mjs +520 -0
- package/dist/node/lib/A-Command/A-Command.entity.mjs.map +1 -0
- package/dist/node/lib/A-Command/A-Command.error.d.mts +13 -0
- package/dist/node/lib/A-Command/A-Command.error.d.ts +13 -0
- package/dist/node/lib/A-Command/A-Command.error.js +17 -0
- package/dist/node/lib/A-Command/A-Command.error.js.map +1 -0
- package/dist/node/lib/A-Command/A-Command.error.mjs +16 -0
- package/dist/node/lib/A-Command/A-Command.error.mjs.map +1 -0
- package/dist/node/lib/A-Command/A-Command.types.d.mts +16 -0
- package/dist/node/lib/A-Command/A-Command.types.d.ts +16 -0
- package/dist/node/lib/A-Command/A-Command.types.js +4 -0
- package/dist/node/lib/A-Command/A-Command.types.js.map +1 -0
- package/dist/node/lib/A-Command/A-Command.types.mjs +3 -0
- package/dist/node/lib/A-Command/A-Command.types.mjs.map +1 -0
- package/dist/node/lib/A-Command/index.d.mts +17 -0
- package/dist/node/lib/A-Command/index.d.ts +17 -0
- package/dist/node/lib/A-Command/index.js +31 -0
- package/dist/node/lib/A-Command/index.js.map +1 -0
- package/dist/node/lib/A-Command/index.mjs +7 -0
- package/dist/node/lib/A-Command/index.mjs.map +1 -0
- package/dist/node/lib/A-Config/A-Config.constants.d.mts +5 -0
- package/dist/node/lib/A-Config/A-Config.constants.d.ts +5 -0
- package/dist/node/lib/A-Config/A-Config.constants.js +9 -0
- package/dist/node/lib/A-Config/A-Config.constants.js.map +1 -0
- package/dist/node/lib/A-Config/A-Config.constants.mjs +8 -0
- package/dist/node/lib/A-Config/A-Config.constants.mjs.map +1 -0
- package/dist/node/lib/A-Config/A-Config.container.d.mts +33 -0
- package/dist/node/lib/A-Config/A-Config.container.d.ts +33 -0
- package/dist/node/lib/A-Config/A-Config.container.js +78 -0
- package/dist/node/lib/A-Config/A-Config.container.js.map +1 -0
- package/dist/node/lib/A-Config/A-Config.container.mjs +68 -0
- package/dist/node/lib/A-Config/A-Config.container.mjs.map +1 -0
- package/dist/node/lib/A-Config/A-Config.context.d.mts +42 -0
- package/dist/node/lib/A-Config/A-Config.context.d.ts +42 -0
- package/dist/node/lib/A-Config/A-Config.context.js +65 -0
- package/dist/node/lib/A-Config/A-Config.context.js.map +1 -0
- package/dist/node/lib/A-Config/A-Config.context.mjs +58 -0
- package/dist/node/lib/A-Config/A-Config.context.mjs.map +1 -0
- package/dist/node/lib/A-Config/A-Config.error.d.mts +7 -0
- package/dist/node/lib/A-Config/A-Config.error.d.ts +7 -0
- package/dist/node/lib/A-Config/A-Config.error.js +11 -0
- package/dist/node/lib/A-Config/A-Config.error.js.map +1 -0
- package/dist/node/lib/A-Config/A-Config.error.mjs +10 -0
- package/dist/node/lib/A-Config/A-Config.error.mjs.map +1 -0
- package/dist/node/lib/A-Config/A-Config.types.d.mts +22 -0
- package/dist/node/lib/A-Config/A-Config.types.d.ts +22 -0
- package/dist/node/lib/A-Config/A-Config.types.js +9 -0
- package/dist/node/lib/A-Config/A-Config.types.js.map +1 -0
- package/dist/node/lib/A-Config/A-Config.types.mjs +9 -0
- package/dist/node/lib/A-Config/A-Config.types.mjs.map +1 -0
- package/dist/node/lib/A-Config/components/ConfigReader.component.d.mts +50 -0
- package/dist/node/lib/A-Config/components/ConfigReader.component.d.ts +50 -0
- package/dist/node/lib/A-Config/components/ConfigReader.component.js +81 -0
- package/dist/node/lib/A-Config/components/ConfigReader.component.js.map +1 -0
- package/dist/node/lib/A-Config/components/ConfigReader.component.mjs +71 -0
- package/dist/node/lib/A-Config/components/ConfigReader.component.mjs.map +1 -0
- package/dist/node/lib/A-Config/components/ENVConfigReader.component.d.mts +40 -0
- package/dist/node/lib/A-Config/components/ENVConfigReader.component.d.ts +40 -0
- package/dist/node/lib/A-Config/components/ENVConfigReader.component.js +69 -0
- package/dist/node/lib/A-Config/components/ENVConfigReader.component.js.map +1 -0
- package/dist/node/lib/A-Config/components/ENVConfigReader.component.mjs +59 -0
- package/dist/node/lib/A-Config/components/ENVConfigReader.component.mjs.map +1 -0
- package/dist/node/lib/A-Config/components/FileConfigReader.component.d.mts +40 -0
- package/dist/node/lib/A-Config/components/FileConfigReader.component.d.ts +40 -0
- package/dist/node/lib/A-Config/components/FileConfigReader.component.js +50 -0
- package/dist/node/lib/A-Config/components/FileConfigReader.component.js.map +1 -0
- package/dist/node/lib/A-Config/components/FileConfigReader.component.mjs +43 -0
- package/dist/node/lib/A-Config/components/FileConfigReader.component.mjs.map +1 -0
- package/dist/node/lib/A-Config/index.d.mts +31 -0
- package/dist/node/lib/A-Config/index.d.ts +31 -0
- package/dist/node/lib/A-Config/index.js +51 -0
- package/dist/node/lib/A-Config/index.js.map +1 -0
- package/dist/node/lib/A-Config/index.mjs +11 -0
- package/dist/node/lib/A-Config/index.mjs.map +1 -0
- package/dist/node/lib/A-Execution/A-Execution.context.d.mts +17 -0
- package/dist/node/lib/A-Execution/A-Execution.context.d.ts +17 -0
- package/dist/node/lib/A-Execution/A-Execution.context.js +63 -0
- package/dist/node/lib/A-Execution/A-Execution.context.js.map +1 -0
- package/dist/node/lib/A-Execution/A-Execution.context.mjs +56 -0
- package/dist/node/lib/A-Execution/A-Execution.context.mjs.map +1 -0
- package/dist/node/lib/A-Execution/A-Execution.types.d.mts +2 -0
- package/dist/node/lib/A-Execution/A-Execution.types.d.ts +2 -0
- package/dist/node/lib/A-Execution/A-Execution.types.js +4 -0
- package/dist/node/lib/A-Execution/A-Execution.types.js.map +1 -0
- package/dist/node/lib/A-Execution/A-Execution.types.mjs +3 -0
- package/dist/node/lib/A-Execution/A-Execution.types.mjs.map +1 -0
- package/dist/node/lib/A-Execution/index.d.mts +2 -0
- package/dist/node/lib/A-Execution/index.d.ts +2 -0
- package/dist/node/lib/A-Execution/index.js +12 -0
- package/dist/node/lib/A-Execution/index.js.map +1 -0
- package/dist/node/lib/A-Execution/index.mjs +4 -0
- package/dist/node/lib/A-Execution/index.mjs.map +1 -0
- package/dist/node/lib/A-Logger/A-Logger.component.d.mts +377 -0
- package/dist/node/lib/A-Logger/A-Logger.component.d.ts +377 -0
- package/dist/node/lib/A-Logger/A-Logger.component.js +623 -0
- package/dist/node/lib/A-Logger/A-Logger.component.js.map +1 -0
- package/dist/node/lib/A-Logger/A-Logger.component.mjs +615 -0
- package/dist/node/lib/A-Logger/A-Logger.component.mjs.map +1 -0
- package/dist/node/lib/A-Logger/A-Logger.constants.d.mts +103 -0
- package/dist/node/lib/A-Logger/A-Logger.constants.d.ts +103 -0
- package/dist/node/lib/A-Logger/A-Logger.constants.js +141 -0
- package/dist/node/lib/A-Logger/A-Logger.constants.js.map +1 -0
- package/dist/node/lib/A-Logger/A-Logger.constants.mjs +133 -0
- package/dist/node/lib/A-Logger/A-Logger.constants.mjs.map +1 -0
- package/dist/node/lib/A-Logger/A-Logger.env.d.mts +30 -0
- package/dist/node/lib/A-Logger/A-Logger.env.d.ts +30 -0
- package/dist/node/lib/A-Logger/A-Logger.env.js +39 -0
- package/dist/node/lib/A-Logger/A-Logger.env.js.map +1 -0
- package/dist/node/lib/A-Logger/A-Logger.env.mjs +38 -0
- package/dist/node/lib/A-Logger/A-Logger.env.mjs.map +1 -0
- package/dist/node/lib/A-Logger/A-Logger.types.d.mts +8 -0
- package/dist/node/lib/A-Logger/A-Logger.types.d.ts +8 -0
- package/dist/node/lib/A-Logger/A-Logger.types.js +4 -0
- package/dist/node/lib/A-Logger/A-Logger.types.js.map +1 -0
- package/dist/node/lib/A-Logger/A-Logger.types.mjs +3 -0
- package/dist/node/lib/A-Logger/A-Logger.types.mjs.map +1 -0
- package/dist/node/lib/A-Logger/index.d.mts +9 -0
- package/dist/node/lib/A-Logger/index.d.ts +9 -0
- package/dist/node/lib/A-Logger/index.js +35 -0
- package/dist/node/lib/A-Logger/index.js.map +1 -0
- package/dist/node/lib/A-Logger/index.mjs +6 -0
- package/dist/node/lib/A-Logger/index.mjs.map +1 -0
- package/dist/node/lib/A-Manifest/A-Manifest.context.d.mts +3 -0
- package/dist/node/lib/A-Manifest/A-Manifest.context.d.ts +3 -0
- package/dist/node/lib/A-Manifest/A-Manifest.context.js +164 -0
- package/dist/node/lib/A-Manifest/A-Manifest.context.js.map +1 -0
- package/dist/node/lib/A-Manifest/A-Manifest.context.mjs +157 -0
- package/dist/node/lib/A-Manifest/A-Manifest.context.mjs.map +1 -0
- package/dist/node/lib/A-Manifest/A-Manifest.error.d.mts +7 -0
- package/dist/node/lib/A-Manifest/A-Manifest.error.d.ts +7 -0
- package/dist/node/lib/A-Manifest/A-Manifest.error.js +11 -0
- package/dist/node/lib/A-Manifest/A-Manifest.error.js.map +1 -0
- package/dist/node/lib/A-Manifest/A-Manifest.error.mjs +10 -0
- package/dist/node/lib/A-Manifest/A-Manifest.error.mjs.map +1 -0
- package/dist/node/lib/A-Manifest/A-Manifest.types.d.mts +45 -0
- package/dist/node/lib/A-Manifest/A-Manifest.types.d.ts +45 -0
- package/dist/node/lib/A-Manifest/A-Manifest.types.js +4 -0
- package/dist/node/lib/A-Manifest/A-Manifest.types.js.map +1 -0
- package/dist/node/lib/A-Manifest/A-Manifest.types.mjs +3 -0
- package/dist/node/lib/A-Manifest/A-Manifest.types.mjs.map +1 -0
- package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.d.mts +3 -0
- package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.d.ts +3 -0
- package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.js +22 -0
- package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.js.map +1 -0
- package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.mjs +22 -0
- package/dist/node/lib/A-Manifest/classes/A-ManifestChecker.class.mjs.map +1 -0
- package/dist/node/lib/A-Manifest/index.d.mts +4 -0
- package/dist/node/lib/A-Manifest/index.d.ts +4 -0
- package/dist/node/lib/A-Manifest/index.js +29 -0
- package/dist/node/lib/A-Manifest/index.js.map +1 -0
- package/dist/node/lib/A-Manifest/index.mjs +7 -0
- package/dist/node/lib/A-Manifest/index.mjs.map +1 -0
- package/dist/node/lib/A-Memory/A-Memory.component.d.mts +86 -0
- package/dist/node/lib/A-Memory/A-Memory.component.d.ts +86 -0
- package/dist/node/lib/A-Memory/A-Memory.component.js +335 -0
- package/dist/node/lib/A-Memory/A-Memory.component.js.map +1 -0
- package/dist/node/lib/A-Memory/A-Memory.component.mjs +325 -0
- package/dist/node/lib/A-Memory/A-Memory.component.mjs.map +1 -0
- package/dist/node/lib/A-Memory/A-Memory.constants.d.mts +44 -0
- package/dist/node/lib/A-Memory/A-Memory.constants.d.ts +44 -0
- package/dist/node/lib/A-Memory/A-Memory.constants.js +19 -0
- package/dist/node/lib/A-Memory/A-Memory.constants.js.map +1 -0
- package/dist/node/lib/A-Memory/A-Memory.constants.mjs +19 -0
- package/dist/node/lib/A-Memory/A-Memory.constants.mjs.map +1 -0
- package/dist/node/lib/A-Memory/A-Memory.context.d.mts +12 -0
- package/dist/node/lib/A-Memory/A-Memory.context.d.ts +12 -0
- package/dist/node/lib/A-Memory/A-Memory.context.js +43 -0
- package/dist/node/lib/A-Memory/A-Memory.context.js.map +1 -0
- package/dist/node/lib/A-Memory/A-Memory.context.mjs +36 -0
- package/dist/node/lib/A-Memory/A-Memory.context.mjs.map +1 -0
- package/dist/node/lib/A-Memory/A-Memory.error.d.mts +14 -0
- package/dist/node/lib/A-Memory/A-Memory.error.d.ts +14 -0
- package/dist/node/lib/A-Memory/A-Memory.error.js +18 -0
- package/dist/node/lib/A-Memory/A-Memory.error.js.map +1 -0
- package/dist/node/lib/A-Memory/A-Memory.error.mjs +17 -0
- package/dist/node/lib/A-Memory/A-Memory.error.mjs.map +1 -0
- package/dist/node/lib/A-Memory/A-Memory.types.d.mts +24 -0
- package/dist/node/lib/A-Memory/A-Memory.types.d.ts +24 -0
- package/dist/node/lib/A-Memory/A-Memory.types.js +4 -0
- package/dist/node/lib/A-Memory/A-Memory.types.js.map +1 -0
- package/dist/node/lib/A-Memory/A-Memory.types.mjs +3 -0
- package/dist/node/lib/A-Memory/A-Memory.types.mjs.map +1 -0
- package/dist/node/lib/A-Memory/index.d.mts +9 -0
- package/dist/node/lib/A-Memory/index.d.ts +9 -0
- package/dist/node/lib/A-Memory/index.js +36 -0
- package/dist/node/lib/A-Memory/index.js.map +1 -0
- package/dist/node/lib/A-Memory/index.mjs +8 -0
- package/dist/node/lib/A-Memory/index.mjs.map +1 -0
- package/dist/node/lib/A-Operation/A-Operation.context.d.mts +16 -0
- package/dist/node/lib/A-Operation/A-Operation.context.d.ts +16 -0
- package/dist/node/lib/A-Operation/A-Operation.context.js +55 -0
- package/dist/node/lib/A-Operation/A-Operation.context.js.map +1 -0
- package/dist/node/lib/A-Operation/A-Operation.context.mjs +48 -0
- package/dist/node/lib/A-Operation/A-Operation.context.mjs.map +1 -0
- package/dist/node/lib/A-Operation/A-Operation.types.d.mts +40 -0
- package/dist/node/lib/A-Operation/A-Operation.types.d.ts +40 -0
- package/dist/node/lib/A-Operation/A-Operation.types.js +4 -0
- package/dist/node/lib/A-Operation/A-Operation.types.js.map +1 -0
- package/dist/node/lib/A-Operation/A-Operation.types.mjs +3 -0
- package/dist/node/lib/A-Operation/A-Operation.types.mjs.map +1 -0
- package/dist/node/lib/A-Operation/index.d.mts +4 -0
- package/dist/node/lib/A-Operation/index.d.ts +4 -0
- package/dist/node/lib/A-Operation/index.js +19 -0
- package/dist/node/lib/A-Operation/index.js.map +1 -0
- package/dist/node/lib/A-Operation/index.mjs +5 -0
- package/dist/node/lib/A-Operation/index.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.d.mts +108 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.d.ts +108 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.js +163 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.js.map +1 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.mjs +153 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-browser.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.d.mts +108 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.d.ts +108 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.js +160 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.js.map +1 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.mjs +150 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.component.env-node.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.types.d.mts +59 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.types.d.ts +59 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.types.js +4 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.types.js.map +1 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.types.mjs +3 -0
- package/dist/node/lib/A-Polyfill/A-Polyfill.types.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.d.mts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.d.ts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.js +30 -0
- package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.js.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.mjs +30 -0
- package/dist/node/lib/A-Polyfill/base/A-Buffer-Polyfill.base.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.d.mts +23 -0
- package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.d.ts +23 -0
- package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.js +31 -0
- package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.js.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.mjs +31 -0
- package/dist/node/lib/A-Polyfill/base/A-Crypto-Polyfill.base.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.d.mts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.d.ts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.js +30 -0
- package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.js.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.mjs +30 -0
- package/dist/node/lib/A-Polyfill/base/A-FS-Polyfill.base.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.d.mts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.d.ts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.js +30 -0
- package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.js.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.mjs +30 -0
- package/dist/node/lib/A-Polyfill/base/A-Http-Polyfill.base.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.d.mts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.d.ts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.js +30 -0
- package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.js.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.mjs +30 -0
- package/dist/node/lib/A-Polyfill/base/A-Https-Polyfill.base.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.d.mts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.d.ts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.js +30 -0
- package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.js.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.mjs +30 -0
- package/dist/node/lib/A-Polyfill/base/A-Path-Polyfill.base.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.d.mts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.d.ts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.js +30 -0
- package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.js.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.mjs +30 -0
- package/dist/node/lib/A-Polyfill/base/A-Process-Polyfill.base.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.d.mts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.d.ts +22 -0
- package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.js +30 -0
- package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.js.map +1 -0
- package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.mjs +30 -0
- package/dist/node/lib/A-Polyfill/base/A-Url-Polyfill.base.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/base/index.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/base/index.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/base/index.js +47 -0
- package/dist/node/lib/A-Polyfill/base/index.js.map +1 -0
- package/dist/node/lib/A-Polyfill/base/index.mjs +11 -0
- package/dist/node/lib/A-Polyfill/base/index.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.js +46 -0
- package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.mjs +45 -0
- package/dist/node/lib/A-Polyfill/browser/A-Buffer-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.js +36 -0
- package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.mjs +35 -0
- package/dist/node/lib/A-Polyfill/browser/A-Crypto-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.js +29 -0
- package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.mjs +28 -0
- package/dist/node/lib/A-Polyfill/browser/A-FS-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.d.mts +18 -0
- package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.d.ts +18 -0
- package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.js +58 -0
- package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.mjs +57 -0
- package/dist/node/lib/A-Polyfill/browser/A-Http-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.d.mts +18 -0
- package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.d.ts +18 -0
- package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.js +58 -0
- package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.mjs +57 -0
- package/dist/node/lib/A-Polyfill/browser/A-Https-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.js +64 -0
- package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.mjs +63 -0
- package/dist/node/lib/A-Polyfill/browser/A-Path-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.js +33 -0
- package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.mjs +32 -0
- package/dist/node/lib/A-Polyfill/browser/A-Process-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.js +50 -0
- package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.mjs +49 -0
- package/dist/node/lib/A-Polyfill/browser/A-Url-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/index.d.mts +23 -0
- package/dist/node/lib/A-Polyfill/browser/index.d.ts +23 -0
- package/dist/node/lib/A-Polyfill/browser/index.js +56 -0
- package/dist/node/lib/A-Polyfill/browser/index.js.map +1 -0
- package/dist/node/lib/A-Polyfill/browser/index.mjs +9 -0
- package/dist/node/lib/A-Polyfill/browser/index.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/index.browser.d.mts +26 -0
- package/dist/node/lib/A-Polyfill/index.browser.d.ts +26 -0
- package/dist/node/lib/A-Polyfill/index.browser.js +33 -0
- package/dist/node/lib/A-Polyfill/index.browser.js.map +1 -0
- package/dist/node/lib/A-Polyfill/index.browser.mjs +7 -0
- package/dist/node/lib/A-Polyfill/index.browser.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/index.node.d.mts +26 -0
- package/dist/node/lib/A-Polyfill/index.node.d.ts +26 -0
- package/dist/node/lib/A-Polyfill/index.node.js +33 -0
- package/dist/node/lib/A-Polyfill/index.node.js.map +1 -0
- package/dist/node/lib/A-Polyfill/index.node.mjs +7 -0
- package/dist/node/lib/A-Polyfill/index.node.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.js +27 -0
- package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.mjs +22 -0
- package/dist/node/lib/A-Polyfill/node/A-Buffer-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.js +39 -0
- package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.mjs +34 -0
- package/dist/node/lib/A-Polyfill/node/A-Crypto-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.js +21 -0
- package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.mjs +16 -0
- package/dist/node/lib/A-Polyfill/node/A-FS-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.js +25 -0
- package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.mjs +20 -0
- package/dist/node/lib/A-Polyfill/node/A-Http-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.js +25 -0
- package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.mjs +20 -0
- package/dist/node/lib/A-Polyfill/node/A-Https-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.js +34 -0
- package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.mjs +29 -0
- package/dist/node/lib/A-Polyfill/node/A-Path-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.js +25 -0
- package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.mjs +24 -0
- package/dist/node/lib/A-Polyfill/node/A-Process-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.d.mts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.d.ts +17 -0
- package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.js +27 -0
- package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.js.map +1 -0
- package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.mjs +22 -0
- package/dist/node/lib/A-Polyfill/node/A-Url-Polyfill.mjs.map +1 -0
- package/dist/node/lib/A-Polyfill/node/index.d.mts +23 -0
- package/dist/node/lib/A-Polyfill/node/index.d.ts +23 -0
- package/dist/node/lib/A-Polyfill/node/index.js +56 -0
- package/dist/node/lib/A-Polyfill/node/index.js.map +1 -0
- package/dist/node/lib/A-Polyfill/node/index.mjs +9 -0
- package/dist/node/lib/A-Polyfill/node/index.mjs.map +1 -0
- package/dist/node/lib/A-Route/A-Route.entity.d.mts +25 -0
- package/dist/node/lib/A-Route/A-Route.entity.d.ts +25 -0
- package/dist/node/lib/A-Route/A-Route.entity.js +105 -0
- package/dist/node/lib/A-Route/A-Route.entity.js.map +1 -0
- package/dist/node/lib/A-Route/A-Route.entity.mjs +98 -0
- package/dist/node/lib/A-Route/A-Route.entity.mjs.map +1 -0
- package/dist/node/lib/A-Route/A-Route.types.d.mts +2 -0
- package/dist/node/lib/A-Route/A-Route.types.d.ts +2 -0
- package/dist/node/lib/A-Route/A-Route.types.js +4 -0
- package/dist/node/lib/A-Route/A-Route.types.js.map +1 -0
- package/dist/node/lib/A-Route/A-Route.types.mjs +3 -0
- package/dist/node/lib/A-Route/A-Route.types.mjs.map +1 -0
- package/dist/node/lib/A-Route/index.d.mts +2 -0
- package/dist/node/lib/A-Route/index.d.ts +2 -0
- package/dist/node/lib/A-Route/index.js +12 -0
- package/dist/node/lib/A-Route/index.js.map +1 -0
- package/dist/node/lib/A-Route/index.mjs +4 -0
- package/dist/node/lib/A-Route/index.mjs.map +1 -0
- package/dist/node/lib/A-Schedule/A-Deferred.class.d.mts +14 -0
- package/dist/node/lib/A-Schedule/A-Deferred.class.d.ts +14 -0
- package/dist/node/lib/A-Schedule/A-Deferred.class.js +24 -0
- package/dist/node/lib/A-Schedule/A-Deferred.class.js.map +1 -0
- package/dist/node/lib/A-Schedule/A-Deferred.class.mjs +24 -0
- package/dist/node/lib/A-Schedule/A-Deferred.class.mjs.map +1 -0
- package/dist/node/lib/A-Schedule/A-Schedule.component.d.mts +60 -0
- package/dist/node/lib/A-Schedule/A-Schedule.component.d.ts +60 -0
- package/dist/node/lib/A-Schedule/A-Schedule.component.js +46 -0
- package/dist/node/lib/A-Schedule/A-Schedule.component.js.map +1 -0
- package/dist/node/lib/A-Schedule/A-Schedule.component.mjs +39 -0
- package/dist/node/lib/A-Schedule/A-Schedule.component.mjs.map +1 -0
- package/dist/node/lib/A-Schedule/A-Schedule.types.d.mts +12 -0
- package/dist/node/lib/A-Schedule/A-Schedule.types.d.ts +12 -0
- package/dist/node/lib/A-Schedule/A-Schedule.types.js +4 -0
- package/dist/node/lib/A-Schedule/A-Schedule.types.js.map +1 -0
- package/dist/node/lib/A-Schedule/A-Schedule.types.mjs +3 -0
- package/dist/node/lib/A-Schedule/A-Schedule.types.mjs.map +1 -0
- package/dist/node/lib/A-Schedule/A-ScheduleObject.class.d.mts +32 -0
- package/dist/node/lib/A-Schedule/A-ScheduleObject.class.d.ts +32 -0
- package/dist/node/lib/A-Schedule/A-ScheduleObject.class.js +49 -0
- package/dist/node/lib/A-Schedule/A-ScheduleObject.class.js.map +1 -0
- package/dist/node/lib/A-Schedule/A-ScheduleObject.class.mjs +48 -0
- package/dist/node/lib/A-Schedule/A-ScheduleObject.class.mjs.map +1 -0
- package/dist/node/lib/A-Schedule/index.d.mts +5 -0
- package/dist/node/lib/A-Schedule/index.d.ts +5 -0
- package/dist/node/lib/A-Schedule/index.js +29 -0
- package/dist/node/lib/A-Schedule/index.js.map +1 -0
- package/dist/node/lib/A-Schedule/index.mjs +7 -0
- package/dist/node/lib/A-Schedule/index.mjs.map +1 -0
- package/dist/node/lib/A-Service/A-Service.constants.d.mts +14 -0
- package/dist/node/lib/A-Service/A-Service.constants.d.ts +14 -0
- package/dist/node/lib/A-Service/A-Service.constants.js +19 -0
- package/dist/node/lib/A-Service/A-Service.constants.js.map +1 -0
- package/dist/node/lib/A-Service/A-Service.constants.mjs +19 -0
- package/dist/node/lib/A-Service/A-Service.constants.mjs.map +1 -0
- package/dist/node/lib/A-Service/A-Service.container.d.mts +50 -0
- package/dist/node/lib/A-Service/A-Service.container.d.ts +50 -0
- package/dist/node/lib/A-Service/A-Service.container.js +188 -0
- package/dist/node/lib/A-Service/A-Service.container.js.map +1 -0
- package/dist/node/lib/A-Service/A-Service.container.mjs +178 -0
- package/dist/node/lib/A-Service/A-Service.container.mjs.map +1 -0
- package/dist/node/lib/A-Service/A-Service.error.d.mts +9 -0
- package/dist/node/lib/A-Service/A-Service.error.d.ts +9 -0
- package/dist/node/lib/A-Service/A-Service.error.js +13 -0
- package/dist/node/lib/A-Service/A-Service.error.js.map +1 -0
- package/dist/node/lib/A-Service/A-Service.error.mjs +12 -0
- package/dist/node/lib/A-Service/A-Service.error.mjs.map +1 -0
- package/dist/node/lib/A-Service/A-Service.types.d.mts +27 -0
- package/dist/node/lib/A-Service/A-Service.types.d.ts +27 -0
- package/dist/node/lib/A-Service/A-Service.types.js +16 -0
- package/dist/node/lib/A-Service/A-Service.types.js.map +1 -0
- package/dist/node/lib/A-Service/A-Service.types.mjs +16 -0
- package/dist/node/lib/A-Service/A-Service.types.mjs.map +1 -0
- package/dist/node/lib/A-Service/index.d.mts +28 -0
- package/dist/node/lib/A-Service/index.d.ts +28 -0
- package/dist/node/lib/A-Service/index.js +19 -0
- package/dist/node/lib/A-Service/index.js.map +1 -0
- package/dist/node/lib/A-Service/index.mjs +5 -0
- package/dist/node/lib/A-Service/index.mjs.map +1 -0
- package/dist/node/lib/A-Signal/A-Signal.constants.d.mts +2 -0
- package/dist/node/lib/A-Signal/A-Signal.constants.d.ts +2 -0
- package/dist/node/lib/A-Signal/A-Signal.constants.js +4 -0
- package/dist/node/lib/A-Signal/A-Signal.constants.js.map +1 -0
- package/dist/node/lib/A-Signal/A-Signal.constants.mjs +3 -0
- package/dist/node/lib/A-Signal/A-Signal.constants.mjs.map +1 -0
- package/dist/node/lib/A-Signal/A-Signal.error.d.mts +2 -0
- package/dist/node/lib/A-Signal/A-Signal.error.d.ts +2 -0
- package/dist/node/lib/A-Signal/A-Signal.error.js +4 -0
- package/dist/node/lib/A-Signal/A-Signal.error.js.map +1 -0
- package/dist/node/lib/A-Signal/A-Signal.error.mjs +3 -0
- package/dist/node/lib/A-Signal/A-Signal.error.mjs.map +1 -0
- package/dist/node/lib/A-Signal/A-Signal.types.d.mts +2 -0
- package/dist/node/lib/A-Signal/A-Signal.types.d.ts +2 -0
- package/dist/node/lib/A-Signal/A-Signal.types.js +4 -0
- package/dist/node/lib/A-Signal/A-Signal.types.js.map +1 -0
- package/dist/node/lib/A-Signal/A-Signal.types.mjs +3 -0
- package/dist/node/lib/A-Signal/A-Signal.types.mjs.map +1 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.component.d.mts +44 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.component.d.ts +44 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.component.js +132 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.component.js.map +1 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.component.mjs +122 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.component.mjs.map +1 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.constants.d.mts +7 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.constants.d.ts +7 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.constants.js +12 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.constants.js.map +1 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.constants.mjs +12 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.constants.mjs.map +1 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.error.d.mts +7 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.error.d.ts +7 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.error.js +11 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.error.js.map +1 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.error.mjs +10 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.error.mjs.map +1 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.types.d.mts +2 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.types.d.ts +2 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.types.js +4 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.types.js.map +1 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.types.mjs +3 -0
- package/dist/node/lib/A-Signal/components/A-SignalBus.types.mjs.map +1 -0
- package/dist/node/lib/A-Signal/context/A-SignalConfig.context.d.mts +36 -0
- package/dist/node/lib/A-Signal/context/A-SignalConfig.context.d.ts +36 -0
- package/dist/node/lib/A-Signal/context/A-SignalConfig.context.js +68 -0
- package/dist/node/lib/A-Signal/context/A-SignalConfig.context.js.map +1 -0
- package/dist/node/lib/A-Signal/context/A-SignalConfig.context.mjs +61 -0
- package/dist/node/lib/A-Signal/context/A-SignalConfig.context.mjs.map +1 -0
- package/dist/node/lib/A-Signal/context/A-SignalState.context.d.mts +111 -0
- package/dist/node/lib/A-Signal/context/A-SignalState.context.d.ts +111 -0
- package/dist/node/lib/A-Signal/context/A-SignalState.context.js +114 -0
- package/dist/node/lib/A-Signal/context/A-SignalState.context.js.map +1 -0
- package/dist/node/lib/A-Signal/context/A-SignalState.context.mjs +107 -0
- package/dist/node/lib/A-Signal/context/A-SignalState.context.mjs.map +1 -0
- package/dist/node/lib/A-Signal/entities/A-Signal.entity.d.mts +2 -0
- package/dist/node/lib/A-Signal/entities/A-Signal.entity.d.ts +2 -0
- package/dist/node/lib/A-Signal/entities/A-Signal.entity.js +120 -0
- package/dist/node/lib/A-Signal/entities/A-Signal.entity.js.map +1 -0
- package/dist/node/lib/A-Signal/entities/A-Signal.entity.mjs +113 -0
- package/dist/node/lib/A-Signal/entities/A-Signal.entity.mjs.map +1 -0
- package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.d.mts +113 -0
- package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.d.ts +113 -0
- package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.js +217 -0
- package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.js.map +1 -0
- package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.mjs +210 -0
- package/dist/node/lib/A-Signal/entities/A-SignalVector.entity.mjs.map +1 -0
- package/dist/node/lib/A-Signal/index.d.mts +15 -0
- package/dist/node/lib/A-Signal/index.d.ts +15 -0
- package/dist/node/lib/A-Signal/index.js +51 -0
- package/dist/node/lib/A-Signal/index.js.map +1 -0
- package/dist/node/lib/A-Signal/index.mjs +11 -0
- package/dist/node/lib/A-Signal/index.mjs.map +1 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.component.d.mts +180 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.component.d.ts +180 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.component.js +119 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.component.js.map +1 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.component.mjs +110 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.component.mjs.map +1 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.constants.d.mts +20 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.constants.d.ts +20 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.constants.js +13 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.constants.js.map +1 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.constants.mjs +13 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.constants.mjs.map +1 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.error.d.mts +8 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.error.d.ts +8 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.error.js +12 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.error.js.map +1 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.error.mjs +11 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.error.mjs.map +1 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.types.d.mts +14 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.types.d.ts +14 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.types.js +4 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.types.js.map +1 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.types.mjs +3 -0
- package/dist/node/lib/A-StateMachine/A-StateMachine.types.mjs.map +1 -0
- package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.d.mts +19 -0
- package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.d.ts +19 -0
- package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.js +43 -0
- package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.js.map +1 -0
- package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.mjs +36 -0
- package/dist/node/lib/A-StateMachine/A-StateMachineTransition.context.mjs.map +1 -0
- package/dist/node/lib/A-StateMachine/index.d.mts +9 -0
- package/dist/node/lib/A-StateMachine/index.d.ts +9 -0
- package/dist/node/lib/A-StateMachine/index.js +36 -0
- package/dist/node/lib/A-StateMachine/index.js.map +1 -0
- package/dist/node/lib/A-StateMachine/index.mjs +8 -0
- package/dist/node/lib/A-StateMachine/index.mjs.map +1 -0
- package/examples/A-Logger-examples.ts +1 -2
- package/jest.config.ts +20 -7
- package/package.json +232 -15
- package/src/lib/A-Channel/A-Channel.component.ts +1 -1
- package/src/lib/A-Channel/A-Channel.error.ts +1 -1
- package/src/lib/A-Channel/A-Channel.types.ts +0 -3
- package/src/lib/A-Channel/A-ChannelRequest.context.ts +1 -1
- package/src/lib/A-Channel/index.ts +6 -0
- package/src/lib/A-Command/A-Command.entity.ts +3 -5
- package/src/lib/A-Command/index.ts +5 -0
- package/src/lib/A-Config/A-Config.container.ts +3 -4
- package/src/lib/A-Config/A-Config.context.ts +1 -1
- package/src/lib/A-Config/components/ConfigReader.component.ts +10 -21
- package/src/lib/A-Config/components/ENVConfigReader.component.ts +13 -12
- package/src/lib/A-Config/index.ts +9 -0
- package/src/lib/A-Execution/index.ts +3 -0
- package/src/lib/A-Logger/A-Logger.component.ts +3 -1
- package/src/lib/A-Logger/index.ts +5 -0
- package/src/lib/A-Manifest/index.ts +5 -0
- package/src/lib/A-Memory/A-Memory.component.ts +1 -1
- package/src/lib/A-Memory/A-Memory.types.ts +1 -1
- package/src/lib/A-Memory/index.ts +6 -0
- package/src/lib/A-Operation/A-Operation.context.ts +1 -1
- package/src/lib/A-Operation/index.ts +3 -0
- package/src/lib/A-Polyfill/{A-Polyfill.component.ts → A-Polyfill.component.env-browser.ts} +26 -27
- package/src/lib/A-Polyfill/A-Polyfill.component.env-node.ts +184 -0
- package/src/lib/A-Polyfill/base/A-Buffer-Polyfill.base.ts +34 -0
- package/src/lib/A-Polyfill/base/A-Crypto-Polyfill.base.ts +36 -0
- package/src/lib/A-Polyfill/base/A-FS-Polyfill.base.ts +34 -0
- package/src/lib/A-Polyfill/base/A-Http-Polyfill.base.ts +34 -0
- package/src/lib/A-Polyfill/base/A-Https-Polyfill.base.ts +34 -0
- package/src/lib/A-Polyfill/base/A-Path-Polyfill.base.ts +34 -0
- package/src/lib/A-Polyfill/base/A-Process-Polyfill.base.ts +34 -0
- package/src/lib/A-Polyfill/base/A-Url-Polyfill.base.ts +34 -0
- package/src/lib/A-Polyfill/base/index.ts +9 -0
- package/src/lib/A-Polyfill/browser/A-Buffer-Polyfill.ts +42 -0
- package/src/lib/A-Polyfill/browser/A-Crypto-Polyfill.ts +32 -0
- package/src/lib/A-Polyfill/browser/A-FS-Polyfill.ts +25 -0
- package/src/lib/A-Polyfill/{classes/A-Http-Polyfill.class.ts → browser/A-Http-Polyfill.ts} +6 -46
- package/src/lib/A-Polyfill/{classes/A-Https-Polyfill.class.ts → browser/A-Https-Polyfill.ts} +6 -46
- package/src/lib/A-Polyfill/{classes/A-Path-Polyfill.class.ts → browser/A-Path-Polyfill.ts} +6 -42
- package/src/lib/A-Polyfill/browser/A-Process-Polyfill.ts +29 -0
- package/src/lib/A-Polyfill/browser/A-Url-Polyfill.ts +46 -0
- package/src/lib/A-Polyfill/browser/index.ts +8 -0
- package/src/lib/A-Polyfill/index.browser.ts +5 -0
- package/src/lib/A-Polyfill/index.node.ts +5 -0
- package/src/lib/A-Polyfill/node/A-Buffer-Polyfill.ts +19 -0
- package/src/lib/A-Polyfill/node/A-Crypto-Polyfill.ts +31 -0
- package/src/lib/A-Polyfill/node/A-FS-Polyfill.ts +14 -0
- package/src/lib/A-Polyfill/node/A-Http-Polyfill.ts +17 -0
- package/src/lib/A-Polyfill/node/A-Https-Polyfill.ts +18 -0
- package/src/lib/A-Polyfill/node/A-Path-Polyfill.ts +27 -0
- package/src/lib/A-Polyfill/node/A-Process-Polyfill.ts +21 -0
- package/src/lib/A-Polyfill/node/A-Url-Polyfill.ts +19 -0
- package/src/lib/A-Polyfill/node/index.ts +8 -0
- package/src/lib/A-Route/index.ts +3 -0
- package/src/lib/A-Schedule/index.ts +5 -0
- package/src/lib/A-Service/A-Service.container.ts +2 -4
- package/src/lib/A-Service/index.ts +4 -0
- package/src/lib/A-Signal/components/A-SignalBus.component.ts +2 -2
- package/src/lib/A-Signal/index.ts +11 -0
- package/src/lib/A-StateMachine/A-StateMachine.types.ts +1 -1
- package/src/lib/A-StateMachine/A-StateMachineTransition.context.ts +1 -1
- package/src/lib/A-StateMachine/index.ts +6 -0
- package/tests/A-Channel.test.ts +3 -5
- package/tests/A-Command.test.ts +4 -9
- package/tests/A-Config.test.ts +8 -7
- package/tests/A-Logger.test.ts +1 -3
- package/tests/A-Manifest.test.ts +1 -1
- package/tests/A-Memory.test.ts +1 -3
- package/tests/A-Polyfill.test.ts +2 -2
- package/tests/A-Route.test.ts +1 -3
- package/tests/A-Schedule.test.ts +1 -1
- package/tests/A-Signal.test.ts +1 -5
- package/tests/A-StateMachine.test.ts +2 -5
- package/tests/main.test.ts +30 -0
- package/tsconfig.json +39 -57
- package/tsup.config.ts +94 -28
- package/dist/index.cjs +0 -35
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.mts +0 -2976
- package/dist/index.d.ts +0 -2976
- package/dist/index.mjs +0 -35
- package/dist/index.mjs.map +0 -1
- package/src/index.ts +0 -124
- package/src/lib/A-Polyfill/classes/A-Buffer-Polyfill.class.ts +0 -85
- package/src/lib/A-Polyfill/classes/A-Crypto-Polyfill.class.ts +0 -87
- package/src/lib/A-Polyfill/classes/A-FS-Polyfill.class.ts +0 -61
- package/src/lib/A-Polyfill/classes/A-Process-Polyfill.class.ts +0 -73
- package/src/lib/A-Polyfill/classes/A-Url-Polyfill.class.ts +0 -88
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { A_TYPES__ConceptENVVariables, A_Feature } from '@adaas/a-concept';
|
|
2
|
+
import { ConfigReader } from './ConfigReader.component.mjs';
|
|
3
|
+
import { A_Config } from '../A-Config.context.mjs';
|
|
4
|
+
import { A_Polyfill } from '../../A-Polyfill/A-Polyfill.component.env-node.mjs';
|
|
5
|
+
import '../A-Config.types.mjs';
|
|
6
|
+
import '../../A-Execution/A-Execution.context.mjs';
|
|
7
|
+
import '../A-Config.constants.mjs';
|
|
8
|
+
import '../../A-Polyfill/A-Polyfill.types.mjs';
|
|
9
|
+
import '../../A-Logger/A-Logger.component.mjs';
|
|
10
|
+
import '../../A-Logger/A-Logger.types.mjs';
|
|
11
|
+
import '../../A-Logger/A-Logger.env.mjs';
|
|
12
|
+
import '../../A-Polyfill/node/A-Crypto-Polyfill.mjs';
|
|
13
|
+
import '../../A-Polyfill/base/A-Crypto-Polyfill.base.mjs';
|
|
14
|
+
import '../../A-Polyfill/node/A-Http-Polyfill.mjs';
|
|
15
|
+
import '../../A-Polyfill/base/A-Http-Polyfill.base.mjs';
|
|
16
|
+
import '../../A-Polyfill/node/A-Https-Polyfill.mjs';
|
|
17
|
+
import '../../A-Polyfill/base/A-Https-Polyfill.base.mjs';
|
|
18
|
+
import '../../A-Polyfill/node/A-Path-Polyfill.mjs';
|
|
19
|
+
import '../../A-Polyfill/base/A-Path-Polyfill.base.mjs';
|
|
20
|
+
import '../../A-Polyfill/node/A-Url-Polyfill.mjs';
|
|
21
|
+
import '../../A-Polyfill/base/A-Url-Polyfill.base.mjs';
|
|
22
|
+
import '../../A-Polyfill/node/A-Buffer-Polyfill.mjs';
|
|
23
|
+
import '../../A-Polyfill/base/A-Buffer-Polyfill.base.mjs';
|
|
24
|
+
import '../../A-Polyfill/node/A-Process-Polyfill.mjs';
|
|
25
|
+
import '../../A-Polyfill/base/A-Process-Polyfill.base.mjs';
|
|
26
|
+
import '../../A-Polyfill/node/A-FS-Polyfill.mjs';
|
|
27
|
+
import '../../A-Polyfill/base/A-FS-Polyfill.base.mjs';
|
|
28
|
+
|
|
29
|
+
declare class ENVConfigReader extends ConfigReader {
|
|
30
|
+
readEnvFile(config: A_Config<A_TYPES__ConceptENVVariables>, polyfill: A_Polyfill, feature: A_Feature): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* Get the configuration property Name
|
|
33
|
+
* @param property
|
|
34
|
+
*/
|
|
35
|
+
getConfigurationProperty_ENV_Alias(property: string): string;
|
|
36
|
+
resolve<_ReturnType = any>(property: string): _ReturnType;
|
|
37
|
+
read<T extends string>(variables?: Array<T>): Promise<Record<T, any>>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { ENVConfigReader };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { A_TYPES__ConceptENVVariables, A_Feature } from '@adaas/a-concept';
|
|
2
|
+
import { ConfigReader } from './ConfigReader.component.js';
|
|
3
|
+
import { A_Config } from '../A-Config.context.js';
|
|
4
|
+
import { A_Polyfill } from '../../A-Polyfill/A-Polyfill.component.env-node.js';
|
|
5
|
+
import '../A-Config.types.js';
|
|
6
|
+
import '../../A-Execution/A-Execution.context.js';
|
|
7
|
+
import '../A-Config.constants.js';
|
|
8
|
+
import '../../A-Polyfill/A-Polyfill.types.js';
|
|
9
|
+
import '../../A-Logger/A-Logger.component.js';
|
|
10
|
+
import '../../A-Logger/A-Logger.types.js';
|
|
11
|
+
import '../../A-Logger/A-Logger.env.js';
|
|
12
|
+
import '../../A-Polyfill/node/A-Crypto-Polyfill.js';
|
|
13
|
+
import '../../A-Polyfill/base/A-Crypto-Polyfill.base.js';
|
|
14
|
+
import '../../A-Polyfill/node/A-Http-Polyfill.js';
|
|
15
|
+
import '../../A-Polyfill/base/A-Http-Polyfill.base.js';
|
|
16
|
+
import '../../A-Polyfill/node/A-Https-Polyfill.js';
|
|
17
|
+
import '../../A-Polyfill/base/A-Https-Polyfill.base.js';
|
|
18
|
+
import '../../A-Polyfill/node/A-Path-Polyfill.js';
|
|
19
|
+
import '../../A-Polyfill/base/A-Path-Polyfill.base.js';
|
|
20
|
+
import '../../A-Polyfill/node/A-Url-Polyfill.js';
|
|
21
|
+
import '../../A-Polyfill/base/A-Url-Polyfill.base.js';
|
|
22
|
+
import '../../A-Polyfill/node/A-Buffer-Polyfill.js';
|
|
23
|
+
import '../../A-Polyfill/base/A-Buffer-Polyfill.base.js';
|
|
24
|
+
import '../../A-Polyfill/node/A-Process-Polyfill.js';
|
|
25
|
+
import '../../A-Polyfill/base/A-Process-Polyfill.base.js';
|
|
26
|
+
import '../../A-Polyfill/node/A-FS-Polyfill.js';
|
|
27
|
+
import '../../A-Polyfill/base/A-FS-Polyfill.base.js';
|
|
28
|
+
|
|
29
|
+
declare class ENVConfigReader extends ConfigReader {
|
|
30
|
+
readEnvFile(config: A_Config<A_TYPES__ConceptENVVariables>, polyfill: A_Polyfill, feature: A_Feature): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* Get the configuration property Name
|
|
33
|
+
* @param property
|
|
34
|
+
*/
|
|
35
|
+
getConfigurationProperty_ENV_Alias(property: string): string;
|
|
36
|
+
resolve<_ReturnType = any>(property: string): _ReturnType;
|
|
37
|
+
read<T extends string>(variables?: Array<T>): Promise<Record<T, any>>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { ENVConfigReader };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var aConcept = require('@adaas/a-concept');
|
|
4
|
+
var ConfigReader_component = require('./ConfigReader.component');
|
|
5
|
+
var AConfig_context = require('../A-Config.context');
|
|
6
|
+
var aFrame = require('@adaas/a-frame');
|
|
7
|
+
var aPolyfill = require('@adaas/a-utils/a-polyfill');
|
|
8
|
+
|
|
9
|
+
var __defProp = Object.defineProperty;
|
|
10
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
11
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
12
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
13
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
14
|
+
if (decorator = decorators[i])
|
|
15
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
16
|
+
if (kind && result) __defProp(target, key, result);
|
|
17
|
+
return result;
|
|
18
|
+
};
|
|
19
|
+
var __decorateParam = (index, decorator) => (target, key) => decorator(target, key, index);
|
|
20
|
+
exports.ENVConfigReader = class ENVConfigReader extends ConfigReader_component.ConfigReader {
|
|
21
|
+
async readEnvFile(config, polyfill, feature) {
|
|
22
|
+
const fs = await polyfill.fs();
|
|
23
|
+
if (fs.existsSync(".env"))
|
|
24
|
+
fs.readFileSync(`${config.get("A_CONCEPT_ROOT_FOLDER")}/.env`, "utf-8").split("\n").forEach((line) => {
|
|
25
|
+
const [key, value] = line.split("=");
|
|
26
|
+
if (key && value) {
|
|
27
|
+
aConcept.A_CONCEPT_ENV.set(key.trim(), value.trim());
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get the configuration property Name
|
|
33
|
+
* @param property
|
|
34
|
+
*/
|
|
35
|
+
getConfigurationProperty_ENV_Alias(property) {
|
|
36
|
+
return aConcept.A_FormatterHelper.toUpperSnakeCase(property);
|
|
37
|
+
}
|
|
38
|
+
resolve(property) {
|
|
39
|
+
return aConcept.A_CONCEPT_ENV.get(this.getConfigurationProperty_ENV_Alias(property));
|
|
40
|
+
}
|
|
41
|
+
async read(variables = []) {
|
|
42
|
+
const allVariables = [
|
|
43
|
+
...variables,
|
|
44
|
+
...aConcept.A_CONCEPT_ENV.getAllKeys()
|
|
45
|
+
];
|
|
46
|
+
const config = {};
|
|
47
|
+
allVariables.forEach((variable) => {
|
|
48
|
+
config[variable] = this.resolve(variable);
|
|
49
|
+
});
|
|
50
|
+
return config;
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
__decorateClass([
|
|
54
|
+
aConcept.A_Concept.Load({
|
|
55
|
+
before: ["ENVConfigReader.initialize"]
|
|
56
|
+
}),
|
|
57
|
+
__decorateParam(0, aConcept.A_Inject(AConfig_context.A_Config)),
|
|
58
|
+
__decorateParam(1, aConcept.A_Inject(aPolyfill.A_Polyfill)),
|
|
59
|
+
__decorateParam(2, aConcept.A_Inject(aConcept.A_Feature))
|
|
60
|
+
], exports.ENVConfigReader.prototype, "readEnvFile", 1);
|
|
61
|
+
exports.ENVConfigReader = __decorateClass([
|
|
62
|
+
aFrame.A_Frame.Component({
|
|
63
|
+
namespace: "A-Utils",
|
|
64
|
+
name: "ENVConfigReader",
|
|
65
|
+
description: "Configuration reader that sources configuration data from environment variables. It supports loading variables from a .env file and maps them to the configuration context, making it suitable for applications running in diverse environments such as local development, staging, and production."
|
|
66
|
+
})
|
|
67
|
+
], exports.ENVConfigReader);
|
|
68
|
+
//# sourceMappingURL=ENVConfigReader.component.js.map
|
|
69
|
+
//# sourceMappingURL=ENVConfigReader.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/lib/A-Config/components/ENVConfigReader.component.ts"],"names":["ENVConfigReader","ConfigReader","A_CONCEPT_ENV","A_FormatterHelper","A_Concept","A_Config","A_Polyfill","A_Feature","A_Frame"],"mappings":";;;;;;;;;;;;;;;;;;;AAeaA,uBAAA,GAAN,8BAA8BC,mCAAA,CAAa;AAAA,EAM9C,MAAM,WAAA,CACkB,MAAA,EACE,QAAA,EACD,OAAA,EACvB;AACE,IAAA,MAAM,EAAA,GAAK,MAAM,QAAA,CAAS,EAAA,EAAG;AAE7B,IAAA,IAAI,EAAA,CAAG,WAAW,MAAM,CAAA;AACpB,MAAA,EAAA,CAAG,YAAA,CAAa,CAAA,EAAG,MAAA,CAAO,GAAA,CAAI,uBAAuB,CAAC,CAAA,KAAA,CAAA,EAAS,OAAO,CAAA,CAAE,KAAA,CAAM,IAAI,CAAA,CAAE,QAAQ,CAAA,IAAA,KAAQ;AAChG,QAAA,MAAM,CAAC,GAAA,EAAK,KAAK,CAAA,GAAI,IAAA,CAAK,MAAM,GAAG,CAAA;AACnC,QAAA,IAAI,OAAO,KAAA,EAAO;AACd,UAAAC,sBAAA,CAAc,IAAI,GAAA,CAAI,IAAA,EAAK,EAAG,KAAA,CAAM,MAAM,CAAA;AAAA,QAC9C;AAAA,MACJ,CAAC,CAAA;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,mCAAmC,QAAA,EAA0B;AACzD,IAAA,OAAOC,0BAAA,CAAkB,iBAAiB,QAAQ,CAAA;AAAA,EACtD;AAAA,EAGA,QAA2B,QAAA,EAA+B;AACtD,IAAA,OAAOD,sBAAA,CAAc,GAAA,CAAI,IAAA,CAAK,kCAAA,CAAmC,QAAQ,CAAC,CAAA;AAAA,EAC9E;AAAA,EAGA,MAAM,IAAA,CAAuB,SAAA,GAAsB,EAAC,EAA4B;AAC5E,IAAA,MAAM,YAAA,GAAe;AAAA,MACjB,GAAG,SAAA;AAAA,MACH,GAAGA,uBAAc,UAAA;AAAW,KAChC;AAEA,IAAA,MAAM,SAA8B,EAAC;AAErC,IAAA,YAAA,CAAa,OAAA,CAAQ,CAAC,QAAA,KAAa;AAC/B,MAAA,MAAA,CAAO,QAAQ,CAAA,GAAI,IAAA,CAAK,OAAA,CAAQ,QAAQ,CAAA;AAAA,IAC5C,CAAC,CAAA;AAED,IAAA,OAAO,MAAA;AAAA,EACX;AACJ;AA7CU,eAAA,CAAA;AAAA,EAHLE,mBAAU,IAAA,CAAK;AAAA,IACZ,MAAA,EAAQ,CAAC,4BAA4B;AAAA,GACxC,CAAA;AAAA,EAEI,qCAASC,wBAAQ,CAAA,CAAA;AAAA,EACjB,qCAASC,oBAAU,CAAA,CAAA;AAAA,EACnB,qCAASC,kBAAS,CAAA;AAAA,CAAA,EATdP,uBAAA,CAMH,SAAA,EAAA,aAAA,EAAA,CAAA,CAAA;AANGA,uBAAA,GAAN,eAAA,CAAA;AAAA,EALNQ,eAAQ,SAAA,CAAU;AAAA,IACf,SAAA,EAAW,SAAA;AAAA,IACX,IAAA,EAAM,iBAAA;AAAA,IACN,WAAA,EAAa;AAAA,GAChB;AAAA,CAAA,EACYR,uBAAA,CAAA","file":"ENVConfigReader.component.js","sourcesContent":["import {\n A_Concept, A_CONCEPT_ENV,\n A_Feature,\n A_FormatterHelper, A_Inject, A_TYPES__ConceptENVVariables\n} from \"@adaas/a-concept\";\nimport { ConfigReader } from \"./ConfigReader.component\";\nimport { A_Config } from \"../A-Config.context\";\nimport { A_Frame } from \"@adaas/a-frame\";\nimport { A_Polyfill } from \"@adaas/a-utils/a-polyfill\";\n\n@A_Frame.Component({\n namespace: 'A-Utils',\n name: 'ENVConfigReader',\n description: 'Configuration reader that sources configuration data from environment variables. It supports loading variables from a .env file and maps them to the configuration context, making it suitable for applications running in diverse environments such as local development, staging, and production.'\n})\nexport class ENVConfigReader extends ConfigReader {\n\n\n @A_Concept.Load({\n before: ['ENVConfigReader.initialize']\n })\n async readEnvFile(\n @A_Inject(A_Config) config: A_Config<A_TYPES__ConceptENVVariables>,\n @A_Inject(A_Polyfill) polyfill: A_Polyfill,\n @A_Inject(A_Feature) feature: A_Feature,\n ) {\n const fs = await polyfill.fs();\n\n if (fs.existsSync('.env'))\n fs.readFileSync(`${config.get('A_CONCEPT_ROOT_FOLDER')}/.env`, 'utf-8').split('\\n').forEach(line => {\n const [key, value] = line.split('=');\n if (key && value) {\n A_CONCEPT_ENV.set(key.trim(), value.trim());\n }\n });\n }\n\n\n /**\n * Get the configuration property Name \n * @param property \n */\n getConfigurationProperty_ENV_Alias(property: string): string {\n return A_FormatterHelper.toUpperSnakeCase(property);\n }\n\n\n resolve<_ReturnType = any>(property: string): _ReturnType {\n return A_CONCEPT_ENV.get(this.getConfigurationProperty_ENV_Alias(property)) as _ReturnType;\n }\n\n\n async read<T extends string>(variables: Array<T> = []): Promise<Record<T, any>> {\n const allVariables = [\n ...variables,\n ...A_CONCEPT_ENV.getAllKeys()\n ] as const;\n\n const config: Record<string, any> = {};\n\n allVariables.forEach((variable) => {\n config[variable] = this.resolve(variable);\n });\n\n return config as Record<T, any>;\n }\n} "]}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { __decorateClass, __decorateParam } from '../../../chunk-EQQGB2QZ.mjs';
|
|
2
|
+
import { A_Concept, A_Inject, A_Feature, A_CONCEPT_ENV, A_FormatterHelper } from '@adaas/a-concept';
|
|
3
|
+
import { ConfigReader } from './ConfigReader.component';
|
|
4
|
+
import { A_Config } from '../A-Config.context';
|
|
5
|
+
import { A_Frame } from '@adaas/a-frame';
|
|
6
|
+
import { A_Polyfill } from '@adaas/a-utils/a-polyfill';
|
|
7
|
+
|
|
8
|
+
let ENVConfigReader = class extends ConfigReader {
|
|
9
|
+
async readEnvFile(config, polyfill, feature) {
|
|
10
|
+
const fs = await polyfill.fs();
|
|
11
|
+
if (fs.existsSync(".env"))
|
|
12
|
+
fs.readFileSync(`${config.get("A_CONCEPT_ROOT_FOLDER")}/.env`, "utf-8").split("\n").forEach((line) => {
|
|
13
|
+
const [key, value] = line.split("=");
|
|
14
|
+
if (key && value) {
|
|
15
|
+
A_CONCEPT_ENV.set(key.trim(), value.trim());
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the configuration property Name
|
|
21
|
+
* @param property
|
|
22
|
+
*/
|
|
23
|
+
getConfigurationProperty_ENV_Alias(property) {
|
|
24
|
+
return A_FormatterHelper.toUpperSnakeCase(property);
|
|
25
|
+
}
|
|
26
|
+
resolve(property) {
|
|
27
|
+
return A_CONCEPT_ENV.get(this.getConfigurationProperty_ENV_Alias(property));
|
|
28
|
+
}
|
|
29
|
+
async read(variables = []) {
|
|
30
|
+
const allVariables = [
|
|
31
|
+
...variables,
|
|
32
|
+
...A_CONCEPT_ENV.getAllKeys()
|
|
33
|
+
];
|
|
34
|
+
const config = {};
|
|
35
|
+
allVariables.forEach((variable) => {
|
|
36
|
+
config[variable] = this.resolve(variable);
|
|
37
|
+
});
|
|
38
|
+
return config;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
__decorateClass([
|
|
42
|
+
A_Concept.Load({
|
|
43
|
+
before: ["ENVConfigReader.initialize"]
|
|
44
|
+
}),
|
|
45
|
+
__decorateParam(0, A_Inject(A_Config)),
|
|
46
|
+
__decorateParam(1, A_Inject(A_Polyfill)),
|
|
47
|
+
__decorateParam(2, A_Inject(A_Feature))
|
|
48
|
+
], ENVConfigReader.prototype, "readEnvFile", 1);
|
|
49
|
+
ENVConfigReader = __decorateClass([
|
|
50
|
+
A_Frame.Component({
|
|
51
|
+
namespace: "A-Utils",
|
|
52
|
+
name: "ENVConfigReader",
|
|
53
|
+
description: "Configuration reader that sources configuration data from environment variables. It supports loading variables from a .env file and maps them to the configuration context, making it suitable for applications running in diverse environments such as local development, staging, and production."
|
|
54
|
+
})
|
|
55
|
+
], ENVConfigReader);
|
|
56
|
+
|
|
57
|
+
export { ENVConfigReader };
|
|
58
|
+
//# sourceMappingURL=ENVConfigReader.component.mjs.map
|
|
59
|
+
//# sourceMappingURL=ENVConfigReader.component.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/lib/A-Config/components/ENVConfigReader.component.ts"],"names":[],"mappings":";;;;;;;AAeO,IAAM,eAAA,GAAN,cAA8B,YAAA,CAAa;AAAA,EAM9C,MAAM,WAAA,CACkB,MAAA,EACE,QAAA,EACD,OAAA,EACvB;AACE,IAAA,MAAM,EAAA,GAAK,MAAM,QAAA,CAAS,EAAA,EAAG;AAE7B,IAAA,IAAI,EAAA,CAAG,WAAW,MAAM,CAAA;AACpB,MAAA,EAAA,CAAG,YAAA,CAAa,CAAA,EAAG,MAAA,CAAO,GAAA,CAAI,uBAAuB,CAAC,CAAA,KAAA,CAAA,EAAS,OAAO,CAAA,CAAE,KAAA,CAAM,IAAI,CAAA,CAAE,QAAQ,CAAA,IAAA,KAAQ;AAChG,QAAA,MAAM,CAAC,GAAA,EAAK,KAAK,CAAA,GAAI,IAAA,CAAK,MAAM,GAAG,CAAA;AACnC,QAAA,IAAI,OAAO,KAAA,EAAO;AACd,UAAA,aAAA,CAAc,IAAI,GAAA,CAAI,IAAA,EAAK,EAAG,KAAA,CAAM,MAAM,CAAA;AAAA,QAC9C;AAAA,MACJ,CAAC,CAAA;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,mCAAmC,QAAA,EAA0B;AACzD,IAAA,OAAO,iBAAA,CAAkB,iBAAiB,QAAQ,CAAA;AAAA,EACtD;AAAA,EAGA,QAA2B,QAAA,EAA+B;AACtD,IAAA,OAAO,aAAA,CAAc,GAAA,CAAI,IAAA,CAAK,kCAAA,CAAmC,QAAQ,CAAC,CAAA;AAAA,EAC9E;AAAA,EAGA,MAAM,IAAA,CAAuB,SAAA,GAAsB,EAAC,EAA4B;AAC5E,IAAA,MAAM,YAAA,GAAe;AAAA,MACjB,GAAG,SAAA;AAAA,MACH,GAAG,cAAc,UAAA;AAAW,KAChC;AAEA,IAAA,MAAM,SAA8B,EAAC;AAErC,IAAA,YAAA,CAAa,OAAA,CAAQ,CAAC,QAAA,KAAa;AAC/B,MAAA,MAAA,CAAO,QAAQ,CAAA,GAAI,IAAA,CAAK,OAAA,CAAQ,QAAQ,CAAA;AAAA,IAC5C,CAAC,CAAA;AAED,IAAA,OAAO,MAAA;AAAA,EACX;AACJ;AA7CU,eAAA,CAAA;AAAA,EAHL,UAAU,IAAA,CAAK;AAAA,IACZ,MAAA,EAAQ,CAAC,4BAA4B;AAAA,GACxC,CAAA;AAAA,EAEI,4BAAS,QAAQ,CAAA,CAAA;AAAA,EACjB,4BAAS,UAAU,CAAA,CAAA;AAAA,EACnB,4BAAS,SAAS,CAAA;AAAA,CAAA,EATd,eAAA,CAMH,SAAA,EAAA,aAAA,EAAA,CAAA,CAAA;AANG,eAAA,GAAN,eAAA,CAAA;AAAA,EALN,QAAQ,SAAA,CAAU;AAAA,IACf,SAAA,EAAW,SAAA;AAAA,IACX,IAAA,EAAM,iBAAA;AAAA,IACN,WAAA,EAAa;AAAA,GAChB;AAAA,CAAA,EACY,eAAA,CAAA","file":"ENVConfigReader.component.mjs","sourcesContent":["import {\n A_Concept, A_CONCEPT_ENV,\n A_Feature,\n A_FormatterHelper, A_Inject, A_TYPES__ConceptENVVariables\n} from \"@adaas/a-concept\";\nimport { ConfigReader } from \"./ConfigReader.component\";\nimport { A_Config } from \"../A-Config.context\";\nimport { A_Frame } from \"@adaas/a-frame\";\nimport { A_Polyfill } from \"@adaas/a-utils/a-polyfill\";\n\n@A_Frame.Component({\n namespace: 'A-Utils',\n name: 'ENVConfigReader',\n description: 'Configuration reader that sources configuration data from environment variables. It supports loading variables from a .env file and maps them to the configuration context, making it suitable for applications running in diverse environments such as local development, staging, and production.'\n})\nexport class ENVConfigReader extends ConfigReader {\n\n\n @A_Concept.Load({\n before: ['ENVConfigReader.initialize']\n })\n async readEnvFile(\n @A_Inject(A_Config) config: A_Config<A_TYPES__ConceptENVVariables>,\n @A_Inject(A_Polyfill) polyfill: A_Polyfill,\n @A_Inject(A_Feature) feature: A_Feature,\n ) {\n const fs = await polyfill.fs();\n\n if (fs.existsSync('.env'))\n fs.readFileSync(`${config.get('A_CONCEPT_ROOT_FOLDER')}/.env`, 'utf-8').split('\\n').forEach(line => {\n const [key, value] = line.split('=');\n if (key && value) {\n A_CONCEPT_ENV.set(key.trim(), value.trim());\n }\n });\n }\n\n\n /**\n * Get the configuration property Name \n * @param property \n */\n getConfigurationProperty_ENV_Alias(property: string): string {\n return A_FormatterHelper.toUpperSnakeCase(property);\n }\n\n\n resolve<_ReturnType = any>(property: string): _ReturnType {\n return A_CONCEPT_ENV.get(this.getConfigurationProperty_ENV_Alias(property)) as _ReturnType;\n }\n\n\n async read<T extends string>(variables: Array<T> = []): Promise<Record<T, any>> {\n const allVariables = [\n ...variables,\n ...A_CONCEPT_ENV.getAllKeys()\n ] as const;\n\n const config: Record<string, any> = {};\n\n allVariables.forEach((variable) => {\n config[variable] = this.resolve(variable);\n });\n\n return config as Record<T, any>;\n }\n} "]}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ConfigReader } from './ConfigReader.component.mjs';
|
|
2
|
+
import '@adaas/a-concept';
|
|
3
|
+
import '../A-Config.context.mjs';
|
|
4
|
+
import '../A-Config.types.mjs';
|
|
5
|
+
import '../../A-Execution/A-Execution.context.mjs';
|
|
6
|
+
import '../A-Config.constants.mjs';
|
|
7
|
+
import '../../A-Polyfill/A-Polyfill.component.env-node.mjs';
|
|
8
|
+
import '../../A-Polyfill/A-Polyfill.types.mjs';
|
|
9
|
+
import '../../A-Logger/A-Logger.component.mjs';
|
|
10
|
+
import '../../A-Logger/A-Logger.types.mjs';
|
|
11
|
+
import '../../A-Logger/A-Logger.env.mjs';
|
|
12
|
+
import '../../A-Polyfill/node/A-Crypto-Polyfill.mjs';
|
|
13
|
+
import '../../A-Polyfill/base/A-Crypto-Polyfill.base.mjs';
|
|
14
|
+
import '../../A-Polyfill/node/A-Http-Polyfill.mjs';
|
|
15
|
+
import '../../A-Polyfill/base/A-Http-Polyfill.base.mjs';
|
|
16
|
+
import '../../A-Polyfill/node/A-Https-Polyfill.mjs';
|
|
17
|
+
import '../../A-Polyfill/base/A-Https-Polyfill.base.mjs';
|
|
18
|
+
import '../../A-Polyfill/node/A-Path-Polyfill.mjs';
|
|
19
|
+
import '../../A-Polyfill/base/A-Path-Polyfill.base.mjs';
|
|
20
|
+
import '../../A-Polyfill/node/A-Url-Polyfill.mjs';
|
|
21
|
+
import '../../A-Polyfill/base/A-Url-Polyfill.base.mjs';
|
|
22
|
+
import '../../A-Polyfill/node/A-Buffer-Polyfill.mjs';
|
|
23
|
+
import '../../A-Polyfill/base/A-Buffer-Polyfill.base.mjs';
|
|
24
|
+
import '../../A-Polyfill/node/A-Process-Polyfill.mjs';
|
|
25
|
+
import '../../A-Polyfill/base/A-Process-Polyfill.base.mjs';
|
|
26
|
+
import '../../A-Polyfill/node/A-FS-Polyfill.mjs';
|
|
27
|
+
import '../../A-Polyfill/base/A-FS-Polyfill.base.mjs';
|
|
28
|
+
|
|
29
|
+
declare class FileConfigReader extends ConfigReader {
|
|
30
|
+
private FileData;
|
|
31
|
+
/**
|
|
32
|
+
* Get the configuration property Name
|
|
33
|
+
* @param property
|
|
34
|
+
*/
|
|
35
|
+
getConfigurationProperty_File_Alias(property: string): string;
|
|
36
|
+
resolve<_ReturnType = any>(property: string): _ReturnType;
|
|
37
|
+
read<T extends string>(variables?: Array<T>): Promise<Record<T, any>>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { FileConfigReader };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ConfigReader } from './ConfigReader.component.js';
|
|
2
|
+
import '@adaas/a-concept';
|
|
3
|
+
import '../A-Config.context.js';
|
|
4
|
+
import '../A-Config.types.js';
|
|
5
|
+
import '../../A-Execution/A-Execution.context.js';
|
|
6
|
+
import '../A-Config.constants.js';
|
|
7
|
+
import '../../A-Polyfill/A-Polyfill.component.env-node.js';
|
|
8
|
+
import '../../A-Polyfill/A-Polyfill.types.js';
|
|
9
|
+
import '../../A-Logger/A-Logger.component.js';
|
|
10
|
+
import '../../A-Logger/A-Logger.types.js';
|
|
11
|
+
import '../../A-Logger/A-Logger.env.js';
|
|
12
|
+
import '../../A-Polyfill/node/A-Crypto-Polyfill.js';
|
|
13
|
+
import '../../A-Polyfill/base/A-Crypto-Polyfill.base.js';
|
|
14
|
+
import '../../A-Polyfill/node/A-Http-Polyfill.js';
|
|
15
|
+
import '../../A-Polyfill/base/A-Http-Polyfill.base.js';
|
|
16
|
+
import '../../A-Polyfill/node/A-Https-Polyfill.js';
|
|
17
|
+
import '../../A-Polyfill/base/A-Https-Polyfill.base.js';
|
|
18
|
+
import '../../A-Polyfill/node/A-Path-Polyfill.js';
|
|
19
|
+
import '../../A-Polyfill/base/A-Path-Polyfill.base.js';
|
|
20
|
+
import '../../A-Polyfill/node/A-Url-Polyfill.js';
|
|
21
|
+
import '../../A-Polyfill/base/A-Url-Polyfill.base.js';
|
|
22
|
+
import '../../A-Polyfill/node/A-Buffer-Polyfill.js';
|
|
23
|
+
import '../../A-Polyfill/base/A-Buffer-Polyfill.base.js';
|
|
24
|
+
import '../../A-Polyfill/node/A-Process-Polyfill.js';
|
|
25
|
+
import '../../A-Polyfill/base/A-Process-Polyfill.base.js';
|
|
26
|
+
import '../../A-Polyfill/node/A-FS-Polyfill.js';
|
|
27
|
+
import '../../A-Polyfill/base/A-FS-Polyfill.base.js';
|
|
28
|
+
|
|
29
|
+
declare class FileConfigReader extends ConfigReader {
|
|
30
|
+
private FileData;
|
|
31
|
+
/**
|
|
32
|
+
* Get the configuration property Name
|
|
33
|
+
* @param property
|
|
34
|
+
*/
|
|
35
|
+
getConfigurationProperty_File_Alias(property: string): string;
|
|
36
|
+
resolve<_ReturnType = any>(property: string): _ReturnType;
|
|
37
|
+
read<T extends string>(variables?: Array<T>): Promise<Record<T, any>>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { FileConfigReader };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var aConcept = require('@adaas/a-concept');
|
|
4
|
+
var ConfigReader_component = require('./ConfigReader.component');
|
|
5
|
+
var aFrame = require('@adaas/a-frame');
|
|
6
|
+
|
|
7
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
9
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
10
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11
|
+
if (decorator = decorators[i])
|
|
12
|
+
result = (decorator(result)) || result;
|
|
13
|
+
return result;
|
|
14
|
+
};
|
|
15
|
+
exports.FileConfigReader = class FileConfigReader extends ConfigReader_component.ConfigReader {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.FileData = /* @__PURE__ */ new Map();
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the configuration property Name
|
|
22
|
+
* @param property
|
|
23
|
+
*/
|
|
24
|
+
getConfigurationProperty_File_Alias(property) {
|
|
25
|
+
return aConcept.A_FormatterHelper.toCamelCase(property);
|
|
26
|
+
}
|
|
27
|
+
resolve(property) {
|
|
28
|
+
return this.FileData.get(this.getConfigurationProperty_File_Alias(property));
|
|
29
|
+
}
|
|
30
|
+
async read(variables) {
|
|
31
|
+
const fs = await this.polyfill.fs();
|
|
32
|
+
try {
|
|
33
|
+
const data = fs.readFileSync(`${aConcept.A_Context.concept}.conf.json`, "utf8");
|
|
34
|
+
const config = JSON.parse(data);
|
|
35
|
+
this.FileData = new Map(Object.entries(config));
|
|
36
|
+
return config;
|
|
37
|
+
} catch (error) {
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
exports.FileConfigReader = __decorateClass([
|
|
43
|
+
aFrame.A_Frame.Component({
|
|
44
|
+
namespace: "A-Utils",
|
|
45
|
+
name: "FileConfigReader",
|
|
46
|
+
description: "Configuration reader that loads configuration data from a JSON file located in the application root directory. It reads the file named after the current concept with a .conf.json extension and parses its contents into the configuration context."
|
|
47
|
+
})
|
|
48
|
+
], exports.FileConfigReader);
|
|
49
|
+
//# sourceMappingURL=FileConfigReader.component.js.map
|
|
50
|
+
//# sourceMappingURL=FileConfigReader.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/lib/A-Config/components/FileConfigReader.component.ts"],"names":["FileConfigReader","ConfigReader","A_FormatterHelper","A_Context","A_Frame"],"mappings":";;;;;;;;;;;;;;AAWaA,wBAAA,GAAN,+BAA+BC,mCAAA,CAAa;AAAA,EAA5C,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAEH,IAAA,IAAA,CAAQ,QAAA,uBAAiC,GAAA,EAAiB;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM1D,oCAAoC,QAAA,EAA0B;AAC1D,IAAA,OAAOC,0BAAA,CAAkB,YAAY,QAAQ,CAAA;AAAA,EACjD;AAAA,EAGA,QAA2B,QAAA,EAA+B;AACtD,IAAA,OAAO,KAAK,QAAA,CAAS,GAAA,CAAI,IAAA,CAAK,mCAAA,CAAoC,QAAQ,CAAC,CAAA;AAAA,EAC/E;AAAA,EAGA,MAAM,KACF,SAAA,EACuB;AAEvB,IAAA,MAAM,EAAA,GAAK,MAAM,IAAA,CAAK,QAAA,CAAS,EAAA,EAAG;AAElC,IAAA,IAAI;AACA,MAAA,MAAM,OAAO,EAAA,CAAG,YAAA,CAAa,GAAGC,kBAAA,CAAU,OAAO,cAAc,MAAM,CAAA;AAErE,MAAA,MAAM,MAAA,GAAyB,IAAA,CAAK,KAAA,CAAM,IAAI,CAAA;AAE9C,MAAA,IAAA,CAAK,WAAW,IAAI,GAAA,CAAI,MAAA,CAAO,OAAA,CAAQ,MAAM,CAAC,CAAA;AAE9C,MAAA,OAAO,MAAA;AAAA,IAEX,SAAS,KAAA,EAAO;AAEZ,MAAA,OAAO,EAAC;AAAA,IACZ;AAAA,EACJ;AACJ;AAtCaH,wBAAA,GAAN,eAAA,CAAA;AAAA,EALNI,eAAQ,SAAA,CAAU;AAAA,IACf,SAAA,EAAW,SAAA;AAAA,IACX,IAAA,EAAM,kBAAA;AAAA,IACN,WAAA,EAAa;AAAA,GAChB;AAAA,CAAA,EACYJ,wBAAA,CAAA","file":"FileConfigReader.component.js","sourcesContent":["import { A_Context, A_FormatterHelper } from \"@adaas/a-concept\";\nimport { ConfigReader } from \"./ConfigReader.component\";\nimport { A_Frame } from \"@adaas/a-frame\";\n\n\n\n@A_Frame.Component({\n namespace: 'A-Utils',\n name: 'FileConfigReader',\n description: 'Configuration reader that loads configuration data from a JSON file located in the application root directory. It reads the file named after the current concept with a .conf.json extension and parses its contents into the configuration context.'\n})\nexport class FileConfigReader extends ConfigReader {\n\n private FileData: Map<string, any> = new Map<string, any>();\n\n /**\n * Get the configuration property Name\n * @param property \n */\n getConfigurationProperty_File_Alias(property: string): string {\n return A_FormatterHelper.toCamelCase(property);\n }\n\n\n resolve<_ReturnType = any>(property: string): _ReturnType {\n return this.FileData.get(this.getConfigurationProperty_File_Alias(property)) as _ReturnType;\n }\n\n\n async read<T extends string>(\n variables?: Array<T>\n ): Promise<Record<T, any>> {\n\n const fs = await this.polyfill.fs();\n\n try {\n const data = fs.readFileSync(`${A_Context.concept}.conf.json`, 'utf8');\n\n const config: Record<T, any> = JSON.parse(data);\n\n this.FileData = new Map(Object.entries(config));\n\n return config;\n\n } catch (error) {\n // this.context.Logger.error(error);\n return {} as Record<T, any>;\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { __decorateClass } from '../../../chunk-EQQGB2QZ.mjs';
|
|
2
|
+
import { A_FormatterHelper, A_Context } from '@adaas/a-concept';
|
|
3
|
+
import { ConfigReader } from './ConfigReader.component';
|
|
4
|
+
import { A_Frame } from '@adaas/a-frame';
|
|
5
|
+
|
|
6
|
+
let FileConfigReader = class extends ConfigReader {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.FileData = /* @__PURE__ */ new Map();
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Get the configuration property Name
|
|
13
|
+
* @param property
|
|
14
|
+
*/
|
|
15
|
+
getConfigurationProperty_File_Alias(property) {
|
|
16
|
+
return A_FormatterHelper.toCamelCase(property);
|
|
17
|
+
}
|
|
18
|
+
resolve(property) {
|
|
19
|
+
return this.FileData.get(this.getConfigurationProperty_File_Alias(property));
|
|
20
|
+
}
|
|
21
|
+
async read(variables) {
|
|
22
|
+
const fs = await this.polyfill.fs();
|
|
23
|
+
try {
|
|
24
|
+
const data = fs.readFileSync(`${A_Context.concept}.conf.json`, "utf8");
|
|
25
|
+
const config = JSON.parse(data);
|
|
26
|
+
this.FileData = new Map(Object.entries(config));
|
|
27
|
+
return config;
|
|
28
|
+
} catch (error) {
|
|
29
|
+
return {};
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
FileConfigReader = __decorateClass([
|
|
34
|
+
A_Frame.Component({
|
|
35
|
+
namespace: "A-Utils",
|
|
36
|
+
name: "FileConfigReader",
|
|
37
|
+
description: "Configuration reader that loads configuration data from a JSON file located in the application root directory. It reads the file named after the current concept with a .conf.json extension and parses its contents into the configuration context."
|
|
38
|
+
})
|
|
39
|
+
], FileConfigReader);
|
|
40
|
+
|
|
41
|
+
export { FileConfigReader };
|
|
42
|
+
//# sourceMappingURL=FileConfigReader.component.mjs.map
|
|
43
|
+
//# sourceMappingURL=FileConfigReader.component.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/lib/A-Config/components/FileConfigReader.component.ts"],"names":[],"mappings":";;;;;AAWO,IAAM,gBAAA,GAAN,cAA+B,YAAA,CAAa;AAAA,EAA5C,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAEH,IAAA,IAAA,CAAQ,QAAA,uBAAiC,GAAA,EAAiB;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM1D,oCAAoC,QAAA,EAA0B;AAC1D,IAAA,OAAO,iBAAA,CAAkB,YAAY,QAAQ,CAAA;AAAA,EACjD;AAAA,EAGA,QAA2B,QAAA,EAA+B;AACtD,IAAA,OAAO,KAAK,QAAA,CAAS,GAAA,CAAI,IAAA,CAAK,mCAAA,CAAoC,QAAQ,CAAC,CAAA;AAAA,EAC/E;AAAA,EAGA,MAAM,KACF,SAAA,EACuB;AAEvB,IAAA,MAAM,EAAA,GAAK,MAAM,IAAA,CAAK,QAAA,CAAS,EAAA,EAAG;AAElC,IAAA,IAAI;AACA,MAAA,MAAM,OAAO,EAAA,CAAG,YAAA,CAAa,GAAG,SAAA,CAAU,OAAO,cAAc,MAAM,CAAA;AAErE,MAAA,MAAM,MAAA,GAAyB,IAAA,CAAK,KAAA,CAAM,IAAI,CAAA;AAE9C,MAAA,IAAA,CAAK,WAAW,IAAI,GAAA,CAAI,MAAA,CAAO,OAAA,CAAQ,MAAM,CAAC,CAAA;AAE9C,MAAA,OAAO,MAAA;AAAA,IAEX,SAAS,KAAA,EAAO;AAEZ,MAAA,OAAO,EAAC;AAAA,IACZ;AAAA,EACJ;AACJ;AAtCa,gBAAA,GAAN,eAAA,CAAA;AAAA,EALN,QAAQ,SAAA,CAAU;AAAA,IACf,SAAA,EAAW,SAAA;AAAA,IACX,IAAA,EAAM,kBAAA;AAAA,IACN,WAAA,EAAa;AAAA,GAChB;AAAA,CAAA,EACY,gBAAA,CAAA","file":"FileConfigReader.component.mjs","sourcesContent":["import { A_Context, A_FormatterHelper } from \"@adaas/a-concept\";\nimport { ConfigReader } from \"./ConfigReader.component\";\nimport { A_Frame } from \"@adaas/a-frame\";\n\n\n\n@A_Frame.Component({\n namespace: 'A-Utils',\n name: 'FileConfigReader',\n description: 'Configuration reader that loads configuration data from a JSON file located in the application root directory. It reads the file named after the current concept with a .conf.json extension and parses its contents into the configuration context.'\n})\nexport class FileConfigReader extends ConfigReader {\n\n private FileData: Map<string, any> = new Map<string, any>();\n\n /**\n * Get the configuration property Name\n * @param property \n */\n getConfigurationProperty_File_Alias(property: string): string {\n return A_FormatterHelper.toCamelCase(property);\n }\n\n\n resolve<_ReturnType = any>(property: string): _ReturnType {\n return this.FileData.get(this.getConfigurationProperty_File_Alias(property)) as _ReturnType;\n }\n\n\n async read<T extends string>(\n variables?: Array<T>\n ): Promise<Record<T, any>> {\n\n const fs = await this.polyfill.fs();\n\n try {\n const data = fs.readFileSync(`${A_Context.concept}.conf.json`, 'utf8');\n\n const config: Record<T, any> = JSON.parse(data);\n\n this.FileData = new Map(Object.entries(config));\n\n return config;\n\n } catch (error) {\n // this.context.Logger.error(error);\n return {} as Record<T, any>;\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { A_ConfigLoader } from './A-Config.container.mjs';
|
|
2
|
+
export { A_Config } from './A-Config.context.mjs';
|
|
3
|
+
export { A_ConfigError } from './A-Config.error.mjs';
|
|
4
|
+
export { ConfigReader } from './components/ConfigReader.component.mjs';
|
|
5
|
+
export { ENVConfigReader } from './components/ENVConfigReader.component.mjs';
|
|
6
|
+
export { FileConfigReader } from './components/FileConfigReader.component.mjs';
|
|
7
|
+
export { A_TYPES__ConfigContainerConstructor, A_TYPES__ConfigFeature } from './A-Config.types.mjs';
|
|
8
|
+
export { A_CONSTANTS__CONFIG_ENV_VARIABLES, A_CONSTANTS__CONFIG_ENV_VARIABLES_ARRAY, A_TYPES__ConfigENVVariables } from './A-Config.constants.mjs';
|
|
9
|
+
import '@adaas/a-concept';
|
|
10
|
+
import '../A-Polyfill/A-Polyfill.component.env-node.mjs';
|
|
11
|
+
import '../A-Polyfill/A-Polyfill.types.mjs';
|
|
12
|
+
import '../A-Logger/A-Logger.component.mjs';
|
|
13
|
+
import '../A-Logger/A-Logger.types.mjs';
|
|
14
|
+
import '../A-Logger/A-Logger.env.mjs';
|
|
15
|
+
import '../A-Polyfill/node/A-Crypto-Polyfill.mjs';
|
|
16
|
+
import '../A-Polyfill/base/A-Crypto-Polyfill.base.mjs';
|
|
17
|
+
import '../A-Polyfill/node/A-Http-Polyfill.mjs';
|
|
18
|
+
import '../A-Polyfill/base/A-Http-Polyfill.base.mjs';
|
|
19
|
+
import '../A-Polyfill/node/A-Https-Polyfill.mjs';
|
|
20
|
+
import '../A-Polyfill/base/A-Https-Polyfill.base.mjs';
|
|
21
|
+
import '../A-Polyfill/node/A-Path-Polyfill.mjs';
|
|
22
|
+
import '../A-Polyfill/base/A-Path-Polyfill.base.mjs';
|
|
23
|
+
import '../A-Polyfill/node/A-Url-Polyfill.mjs';
|
|
24
|
+
import '../A-Polyfill/base/A-Url-Polyfill.base.mjs';
|
|
25
|
+
import '../A-Polyfill/node/A-Buffer-Polyfill.mjs';
|
|
26
|
+
import '../A-Polyfill/base/A-Buffer-Polyfill.base.mjs';
|
|
27
|
+
import '../A-Polyfill/node/A-Process-Polyfill.mjs';
|
|
28
|
+
import '../A-Polyfill/base/A-Process-Polyfill.base.mjs';
|
|
29
|
+
import '../A-Polyfill/node/A-FS-Polyfill.mjs';
|
|
30
|
+
import '../A-Polyfill/base/A-FS-Polyfill.base.mjs';
|
|
31
|
+
import '../A-Execution/A-Execution.context.mjs';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { A_ConfigLoader } from './A-Config.container.js';
|
|
2
|
+
export { A_Config } from './A-Config.context.js';
|
|
3
|
+
export { A_ConfigError } from './A-Config.error.js';
|
|
4
|
+
export { ConfigReader } from './components/ConfigReader.component.js';
|
|
5
|
+
export { ENVConfigReader } from './components/ENVConfigReader.component.js';
|
|
6
|
+
export { FileConfigReader } from './components/FileConfigReader.component.js';
|
|
7
|
+
export { A_TYPES__ConfigContainerConstructor, A_TYPES__ConfigFeature } from './A-Config.types.js';
|
|
8
|
+
export { A_CONSTANTS__CONFIG_ENV_VARIABLES, A_CONSTANTS__CONFIG_ENV_VARIABLES_ARRAY, A_TYPES__ConfigENVVariables } from './A-Config.constants.js';
|
|
9
|
+
import '@adaas/a-concept';
|
|
10
|
+
import '../A-Polyfill/A-Polyfill.component.env-node.js';
|
|
11
|
+
import '../A-Polyfill/A-Polyfill.types.js';
|
|
12
|
+
import '../A-Logger/A-Logger.component.js';
|
|
13
|
+
import '../A-Logger/A-Logger.types.js';
|
|
14
|
+
import '../A-Logger/A-Logger.env.js';
|
|
15
|
+
import '../A-Polyfill/node/A-Crypto-Polyfill.js';
|
|
16
|
+
import '../A-Polyfill/base/A-Crypto-Polyfill.base.js';
|
|
17
|
+
import '../A-Polyfill/node/A-Http-Polyfill.js';
|
|
18
|
+
import '../A-Polyfill/base/A-Http-Polyfill.base.js';
|
|
19
|
+
import '../A-Polyfill/node/A-Https-Polyfill.js';
|
|
20
|
+
import '../A-Polyfill/base/A-Https-Polyfill.base.js';
|
|
21
|
+
import '../A-Polyfill/node/A-Path-Polyfill.js';
|
|
22
|
+
import '../A-Polyfill/base/A-Path-Polyfill.base.js';
|
|
23
|
+
import '../A-Polyfill/node/A-Url-Polyfill.js';
|
|
24
|
+
import '../A-Polyfill/base/A-Url-Polyfill.base.js';
|
|
25
|
+
import '../A-Polyfill/node/A-Buffer-Polyfill.js';
|
|
26
|
+
import '../A-Polyfill/base/A-Buffer-Polyfill.base.js';
|
|
27
|
+
import '../A-Polyfill/node/A-Process-Polyfill.js';
|
|
28
|
+
import '../A-Polyfill/base/A-Process-Polyfill.base.js';
|
|
29
|
+
import '../A-Polyfill/node/A-FS-Polyfill.js';
|
|
30
|
+
import '../A-Polyfill/base/A-FS-Polyfill.base.js';
|
|
31
|
+
import '../A-Execution/A-Execution.context.js';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var AConfig_container = require('./A-Config.container');
|
|
4
|
+
var AConfig_context = require('./A-Config.context');
|
|
5
|
+
var AConfig_error = require('./A-Config.error');
|
|
6
|
+
var ConfigReader_component = require('./components/ConfigReader.component');
|
|
7
|
+
var ENVConfigReader_component = require('./components/ENVConfigReader.component');
|
|
8
|
+
var FileConfigReader_component = require('./components/FileConfigReader.component');
|
|
9
|
+
var AConfig_types = require('./A-Config.types');
|
|
10
|
+
var AConfig_constants = require('./A-Config.constants');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Object.defineProperty(exports, "A_ConfigLoader", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return AConfig_container.A_ConfigLoader; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "A_Config", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return AConfig_context.A_Config; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "A_ConfigError", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return AConfig_error.A_ConfigError; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "ConfigReader", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return ConfigReader_component.ConfigReader; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "ENVConfigReader", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return ENVConfigReader_component.ENVConfigReader; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "FileConfigReader", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return FileConfigReader_component.FileConfigReader; }
|
|
37
|
+
});
|
|
38
|
+
Object.keys(AConfig_types).forEach(function (k) {
|
|
39
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return AConfig_types[k]; }
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
Object.keys(AConfig_constants).forEach(function (k) {
|
|
45
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return AConfig_constants[k]; }
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
//# sourceMappingURL=index.js.map
|
|
51
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import '../../chunk-EQQGB2QZ.mjs';
|
|
2
|
+
export { A_ConfigLoader } from './A-Config.container';
|
|
3
|
+
export { A_Config } from './A-Config.context';
|
|
4
|
+
export { A_ConfigError } from './A-Config.error';
|
|
5
|
+
export { ConfigReader } from './components/ConfigReader.component';
|
|
6
|
+
export { ENVConfigReader } from './components/ENVConfigReader.component';
|
|
7
|
+
export { FileConfigReader } from './components/FileConfigReader.component';
|
|
8
|
+
export * from './A-Config.types';
|
|
9
|
+
export * from './A-Config.constants';
|
|
10
|
+
//# sourceMappingURL=index.mjs.map
|
|
11
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs","sourcesContent":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { A_Fragment, A_Meta, A_TYPES__Fragment_Serialized } from '@adaas/a-concept';
|
|
2
|
+
|
|
3
|
+
declare class A_ExecutionContext<_MetaType extends Record<string, any> = Record<string, any>, _SerializedType extends Record<string, any> = Record<string, any>> extends A_Fragment {
|
|
4
|
+
protected _meta: A_Meta<_MetaType, _SerializedType>;
|
|
5
|
+
constructor(name: string, defaults?: Partial<_MetaType>);
|
|
6
|
+
[Symbol.iterator](): Iterator<[keyof _MetaType, _MetaType[keyof _MetaType]]>;
|
|
7
|
+
get meta(): A_Meta<_MetaType>;
|
|
8
|
+
get<K extends keyof _MetaType>(key: K): _MetaType[K] | undefined;
|
|
9
|
+
set<K extends keyof _MetaType>(key: K, value: _MetaType[K]): this;
|
|
10
|
+
has(key: keyof _MetaType): boolean;
|
|
11
|
+
drop(key: keyof _MetaType): void;
|
|
12
|
+
clear(): this;
|
|
13
|
+
toRaw(): _SerializedType;
|
|
14
|
+
toJSON(): A_TYPES__Fragment_Serialized;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { A_ExecutionContext };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { A_Fragment, A_Meta, A_TYPES__Fragment_Serialized } from '@adaas/a-concept';
|
|
2
|
+
|
|
3
|
+
declare class A_ExecutionContext<_MetaType extends Record<string, any> = Record<string, any>, _SerializedType extends Record<string, any> = Record<string, any>> extends A_Fragment {
|
|
4
|
+
protected _meta: A_Meta<_MetaType, _SerializedType>;
|
|
5
|
+
constructor(name: string, defaults?: Partial<_MetaType>);
|
|
6
|
+
[Symbol.iterator](): Iterator<[keyof _MetaType, _MetaType[keyof _MetaType]]>;
|
|
7
|
+
get meta(): A_Meta<_MetaType>;
|
|
8
|
+
get<K extends keyof _MetaType>(key: K): _MetaType[K] | undefined;
|
|
9
|
+
set<K extends keyof _MetaType>(key: K, value: _MetaType[K]): this;
|
|
10
|
+
has(key: keyof _MetaType): boolean;
|
|
11
|
+
drop(key: keyof _MetaType): void;
|
|
12
|
+
clear(): this;
|
|
13
|
+
toRaw(): _SerializedType;
|
|
14
|
+
toJSON(): A_TYPES__Fragment_Serialized;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { A_ExecutionContext };
|