@adaas/a-utils 0.2.8 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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-J6CLHXFQ.mjs +679 -0
- package/dist/browser/chunk-J6CLHXFQ.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-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,555 @@
|
|
|
1
|
+
import { A_TYPES__Error_Serialized, A_TYPES__Entity_Serialized, A_Entity, A_Scope, A_Error } from '@adaas/a-concept';
|
|
2
|
+
import { a as A_StateMachineFeatures, b as A_StateMachineTransition, A as A_StateMachine } from './A-StateMachineTransition.context-BINjcsgq.mjs';
|
|
3
|
+
import { A_ExecutionContext } from './a-execution.mjs';
|
|
4
|
+
import { A as A_Logger } from './A-Logger.component-Be-LMV3I.mjs';
|
|
5
|
+
import './a-operation.mjs';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* A-Command Status Enumeration
|
|
9
|
+
*
|
|
10
|
+
* Defines all possible states a command can be in during its lifecycle.
|
|
11
|
+
* Commands progress through these states in a specific order:
|
|
12
|
+
* CREATED → INITIALIZED → COMPILED → EXECUTING → COMPLETED/FAILED
|
|
13
|
+
*/
|
|
14
|
+
declare enum A_Command_Status {
|
|
15
|
+
/**
|
|
16
|
+
* Initial state when command is instantiated but not yet ready for execution
|
|
17
|
+
*/
|
|
18
|
+
CREATED = "CREATED",
|
|
19
|
+
/**
|
|
20
|
+
* Command has been initialized with execution scope and dependencies
|
|
21
|
+
*/
|
|
22
|
+
INITIALIZED = "INITIALIZED",
|
|
23
|
+
/**
|
|
24
|
+
* Command has been compiled and is ready for execution
|
|
25
|
+
*/
|
|
26
|
+
COMPILED = "COMPILED",
|
|
27
|
+
/**
|
|
28
|
+
* Command is currently being executed
|
|
29
|
+
*/
|
|
30
|
+
EXECUTING = "EXECUTING",
|
|
31
|
+
/**
|
|
32
|
+
* Command has completed successfully
|
|
33
|
+
*/
|
|
34
|
+
COMPLETED = "COMPLETED",
|
|
35
|
+
/**
|
|
36
|
+
* Command execution has failed with errors
|
|
37
|
+
*/
|
|
38
|
+
FAILED = "FAILED"
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A-Command State Transitions
|
|
42
|
+
*
|
|
43
|
+
* Defines valid state transitions for command lifecycle management.
|
|
44
|
+
* These transitions are used by the StateMachine to enforce proper command flow.
|
|
45
|
+
*/
|
|
46
|
+
declare enum A_CommandTransitions {
|
|
47
|
+
/** Transition from CREATED to INITIALIZED state */
|
|
48
|
+
CREATED_TO_INITIALIZED = "created_initialized",
|
|
49
|
+
/** Transition from INITIALIZED to EXECUTING state */
|
|
50
|
+
INITIALIZED_TO_EXECUTING = "initialized_executing",
|
|
51
|
+
/** Transition from EXECUTING to COMPLETED state (success path) */
|
|
52
|
+
EXECUTING_TO_COMPLETED = "executing_completed",
|
|
53
|
+
/** Transition from EXECUTING to FAILED state (error path) */
|
|
54
|
+
EXECUTING_TO_FAILED = "executing_failed"
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* A-Command Lifecycle Features
|
|
58
|
+
*
|
|
59
|
+
* Defines feature extension points that components can implement to customize
|
|
60
|
+
* command behavior at different stages of the lifecycle.
|
|
61
|
+
*
|
|
62
|
+
* Components can use @A_Feature.Extend() decorator with these feature names
|
|
63
|
+
* to inject custom logic into command execution.
|
|
64
|
+
*/
|
|
65
|
+
declare enum A_CommandFeatures {
|
|
66
|
+
/**
|
|
67
|
+
* Triggered during command initialization phase
|
|
68
|
+
* Use to set up execution environment, validate parameters, or prepare resources
|
|
69
|
+
*/
|
|
70
|
+
onInit = "_A_Command_onInit",
|
|
71
|
+
/**
|
|
72
|
+
* Triggered before command execution starts
|
|
73
|
+
* Use for pre-execution validation, logging, or setup tasks
|
|
74
|
+
*/
|
|
75
|
+
onBeforeExecute = "_A_Command_onBeforeExecute",
|
|
76
|
+
/**
|
|
77
|
+
* Main command execution logic
|
|
78
|
+
* Core business logic should be implemented here
|
|
79
|
+
*/
|
|
80
|
+
onExecute = "_A_Command_onExecute",
|
|
81
|
+
/**
|
|
82
|
+
* Triggered after command execution completes (success or failure)
|
|
83
|
+
* Use for cleanup, logging, or post-processing tasks
|
|
84
|
+
*/
|
|
85
|
+
onAfterExecute = "_A_Command_onAfterExecute",
|
|
86
|
+
/**
|
|
87
|
+
* Triggered when command completes successfully
|
|
88
|
+
* Use for success-specific operations like notifications or result processing
|
|
89
|
+
*/
|
|
90
|
+
onComplete = "_A_Command_onComplete",
|
|
91
|
+
/**
|
|
92
|
+
* Triggered when command execution fails
|
|
93
|
+
* Use for error handling, cleanup, or failure notifications
|
|
94
|
+
*/
|
|
95
|
+
onFail = "_A_Command_onFail",
|
|
96
|
+
/**
|
|
97
|
+
* Triggered when an error occurs during execution
|
|
98
|
+
* Use for error logging, transformation, or recovery attempts
|
|
99
|
+
*/
|
|
100
|
+
onError = "_A_Command_onError"
|
|
101
|
+
}
|
|
102
|
+
declare enum A_CommandEvent {
|
|
103
|
+
/**
|
|
104
|
+
* Triggered during command initialization phase
|
|
105
|
+
* Use to set up execution environment, validate parameters, or prepare resources
|
|
106
|
+
*/
|
|
107
|
+
onInit = "onInit",
|
|
108
|
+
/**
|
|
109
|
+
* Triggered before command execution starts
|
|
110
|
+
* Use for pre-execution validation, logging, or setup tasks
|
|
111
|
+
*/
|
|
112
|
+
onBeforeExecute = "onBeforeExecute",
|
|
113
|
+
/**
|
|
114
|
+
* Main command execution logic
|
|
115
|
+
* Core business logic should be implemented here
|
|
116
|
+
*/
|
|
117
|
+
onExecute = "onExecute",
|
|
118
|
+
/**
|
|
119
|
+
* Triggered after command execution completes (success or failure)
|
|
120
|
+
* Use for cleanup, logging, or post-processing tasks
|
|
121
|
+
*/
|
|
122
|
+
onAfterExecute = "onAfterExecute",
|
|
123
|
+
/**
|
|
124
|
+
* Triggered when command completes successfully
|
|
125
|
+
* Use for success-specific operations like notifications or result processing
|
|
126
|
+
*/
|
|
127
|
+
onComplete = "onComplete",
|
|
128
|
+
/**
|
|
129
|
+
* Triggered when command execution fails
|
|
130
|
+
* Use for error handling, cleanup, or failure notifications
|
|
131
|
+
*/
|
|
132
|
+
onFail = "onFail",
|
|
133
|
+
/**
|
|
134
|
+
* Triggered when an error occurs during execution
|
|
135
|
+
* Use for error logging, transformation, or recovery attempts
|
|
136
|
+
*/
|
|
137
|
+
onError = "onError"
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Type alias for command lifecycle event names
|
|
141
|
+
* Represents all available events that can be listened to on a command instance
|
|
142
|
+
*/
|
|
143
|
+
type A_CommandEvents = keyof typeof A_CommandEvent;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Command Constructor Type
|
|
147
|
+
*
|
|
148
|
+
* Generic constructor type for creating command instances.
|
|
149
|
+
* Used for dependency injection and factory patterns.
|
|
150
|
+
*
|
|
151
|
+
* @template T - The command class type extending A_Command
|
|
152
|
+
*/
|
|
153
|
+
type A_TYPES__Command_Constructor<T = A_Command> = new (...args: any[]) => T;
|
|
154
|
+
/**
|
|
155
|
+
* Command Initialization Parameters
|
|
156
|
+
*
|
|
157
|
+
* Base type for command parameters. Commands should extend this with
|
|
158
|
+
* specific parameter types for their use case.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* ```typescript
|
|
162
|
+
* interface UserCommandParams extends A_TYPES__Command_Init {
|
|
163
|
+
* userId: string;
|
|
164
|
+
* action: 'create' | 'update' | 'delete';
|
|
165
|
+
* }
|
|
166
|
+
* ```
|
|
167
|
+
*/
|
|
168
|
+
type A_TYPES__Command_Init = Record<string, any>;
|
|
169
|
+
/**
|
|
170
|
+
* Command Serialized Format
|
|
171
|
+
*
|
|
172
|
+
* Complete serialized representation of a command including all state,
|
|
173
|
+
* timing information, results, and errors. Used for persistence,
|
|
174
|
+
* transmission between services, and state restoration.
|
|
175
|
+
*
|
|
176
|
+
* @template ParamsType - Type of command parameters
|
|
177
|
+
* @template ResultType - Type of command execution result
|
|
178
|
+
*
|
|
179
|
+
* @example
|
|
180
|
+
* ```typescript
|
|
181
|
+
* const serialized: A_TYPES__Command_Serialized<
|
|
182
|
+
* { userId: string },
|
|
183
|
+
* { success: boolean }
|
|
184
|
+
* > = command.toJSON();
|
|
185
|
+
* ```
|
|
186
|
+
*/
|
|
187
|
+
type A_TYPES__Command_Serialized<ParamsType extends Record<string, any> = Record<string, any>, ResultType extends Record<string, any> = Record<string, any>> = {
|
|
188
|
+
/**
|
|
189
|
+
* Unique identifier for the command type (derived from class name)
|
|
190
|
+
*/
|
|
191
|
+
code: string;
|
|
192
|
+
/**
|
|
193
|
+
* Current execution status of the command
|
|
194
|
+
*/
|
|
195
|
+
status: A_Command_Status;
|
|
196
|
+
/**
|
|
197
|
+
* Parameters used to initialize the command
|
|
198
|
+
*/
|
|
199
|
+
params: ParamsType;
|
|
200
|
+
/**
|
|
201
|
+
* ISO timestamp when the command was created
|
|
202
|
+
*/
|
|
203
|
+
createdAt: string;
|
|
204
|
+
/**
|
|
205
|
+
* ISO timestamp when command execution started (if started)
|
|
206
|
+
*/
|
|
207
|
+
startedAt?: string;
|
|
208
|
+
/**
|
|
209
|
+
* ISO timestamp when command execution ended (if completed/failed)
|
|
210
|
+
*/
|
|
211
|
+
endedAt?: string;
|
|
212
|
+
/**
|
|
213
|
+
* Total execution duration in milliseconds (if completed/failed)
|
|
214
|
+
*/
|
|
215
|
+
duration?: number;
|
|
216
|
+
/**
|
|
217
|
+
* Time between creation and execution start in milliseconds
|
|
218
|
+
*/
|
|
219
|
+
idleTime?: number;
|
|
220
|
+
/**
|
|
221
|
+
* Result data produced by successful command execution
|
|
222
|
+
*/
|
|
223
|
+
result?: ResultType;
|
|
224
|
+
/**
|
|
225
|
+
* Array of serialized errors that occurred during execution
|
|
226
|
+
*/
|
|
227
|
+
error?: A_TYPES__Error_Serialized;
|
|
228
|
+
} & A_TYPES__Entity_Serialized;
|
|
229
|
+
/**
|
|
230
|
+
* Command Event Listener Function
|
|
231
|
+
*
|
|
232
|
+
* Type definition for event listener functions that can be registered
|
|
233
|
+
* to respond to command lifecycle events.
|
|
234
|
+
*
|
|
235
|
+
* @template InvokeType - Type of command initialization parameters
|
|
236
|
+
* @template ResultType - Type of command execution result
|
|
237
|
+
* @template LifecycleEvents - Union type of custom lifecycle event names
|
|
238
|
+
*
|
|
239
|
+
* @param command - The command instance that triggered the event
|
|
240
|
+
*
|
|
241
|
+
* @example
|
|
242
|
+
* ```typescript
|
|
243
|
+
* const listener: A_TYPES__Command_Listener<UserParams, UserResult> = (command) => {
|
|
244
|
+
* console.log(`Command ${command?.code} triggered event`);
|
|
245
|
+
* };
|
|
246
|
+
*
|
|
247
|
+
* command.on('onExecute', listener);
|
|
248
|
+
* ```
|
|
249
|
+
*/
|
|
250
|
+
type A_TYPES__Command_Listener<InvokeType extends A_TYPES__Command_Init = A_TYPES__Command_Init, ResultType extends Record<string, any> = Record<string, any>, LifecycleEvents extends string = keyof typeof A_CommandEvent> = (command?: A_Command<InvokeType, ResultType, LifecycleEvents>) => void;
|
|
251
|
+
type A_Command_ExecutionContext<InvokeType extends A_TYPES__Command_Init = A_TYPES__Command_Init, ResultType extends Record<string, any> = Record<string, any>> = {
|
|
252
|
+
result: ResultType;
|
|
253
|
+
params: InvokeType;
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* A_Command - Advanced Command Pattern Implementation
|
|
258
|
+
*
|
|
259
|
+
* A comprehensive command pattern implementation that encapsulates business logic
|
|
260
|
+
* as executable commands with full lifecycle management, event handling, and
|
|
261
|
+
* state persistence capabilities.
|
|
262
|
+
*
|
|
263
|
+
* ## Key Features
|
|
264
|
+
* - **Structured Lifecycle**: Automatic progression through init → compile → execute → complete/fail
|
|
265
|
+
* - **Event-Driven**: Subscribe to lifecycle events and emit custom events
|
|
266
|
+
* - **State Persistence**: Full serialization/deserialization for cross-service communication
|
|
267
|
+
* - **Type Safety**: Generic types for parameters, results, and custom events
|
|
268
|
+
* - **Dependency Injection**: Integrated with A-Concept's DI system
|
|
269
|
+
* - **Error Management**: Comprehensive error capture and handling
|
|
270
|
+
* - **Execution Tracking**: Built-in timing and performance metrics
|
|
271
|
+
*
|
|
272
|
+
* ## Lifecycle Phases
|
|
273
|
+
* 1. **CREATED** - Command instantiated but not initialized
|
|
274
|
+
* 2. **INITIALIZED** - Execution scope and dependencies set up
|
|
275
|
+
* 3. **COMPILED** - Ready for execution with all resources prepared
|
|
276
|
+
* 4. **EXECUTING** - Currently running business logic
|
|
277
|
+
* 5. **COMPLETED** - Successfully finished execution
|
|
278
|
+
* 6. **FAILED** - Execution failed with errors captured
|
|
279
|
+
*
|
|
280
|
+
* @template InvokeType - Type definition for command parameters
|
|
281
|
+
* @template ResultType - Type definition for command execution result
|
|
282
|
+
* @template LifecycleEvents - Union type of custom lifecycle event names
|
|
283
|
+
*
|
|
284
|
+
* @example
|
|
285
|
+
* ```typescript
|
|
286
|
+
* // Define parameter and result types
|
|
287
|
+
* interface UserCreateParams {
|
|
288
|
+
* name: string;
|
|
289
|
+
* email: string;
|
|
290
|
+
* role: 'admin' | 'user';
|
|
291
|
+
* }
|
|
292
|
+
*
|
|
293
|
+
* interface UserCreateResult {
|
|
294
|
+
* userId: string;
|
|
295
|
+
* success: boolean;
|
|
296
|
+
* }
|
|
297
|
+
*
|
|
298
|
+
* // Create custom command
|
|
299
|
+
* class CreateUserCommand extends A_Command<UserCreateParams, UserCreateResult> {}
|
|
300
|
+
*
|
|
301
|
+
* // Execute command
|
|
302
|
+
* const command = new CreateUserCommand({
|
|
303
|
+
* name: 'John Doe',
|
|
304
|
+
* email: 'john@example.com',
|
|
305
|
+
* role: 'user'
|
|
306
|
+
* });
|
|
307
|
+
*
|
|
308
|
+
* scope.register(command);
|
|
309
|
+
* await command.execute();
|
|
310
|
+
*
|
|
311
|
+
* console.log('Result:', command.result);
|
|
312
|
+
* console.log('Status:', command.status);
|
|
313
|
+
* ```
|
|
314
|
+
*/
|
|
315
|
+
declare class A_Command<InvokeType extends A_TYPES__Command_Init = A_TYPES__Command_Init, ResultType extends Record<string, any> = Record<string, any>, LifecycleEvents extends string | keyof typeof A_CommandEvent = keyof typeof A_CommandEvent> extends A_Entity<InvokeType, A_TYPES__Command_Serialized<InvokeType, ResultType>> {
|
|
316
|
+
/**
|
|
317
|
+
* Static command identifier derived from the class name
|
|
318
|
+
* Used for command registration and serialization
|
|
319
|
+
*/
|
|
320
|
+
static get code(): string;
|
|
321
|
+
/** The origin of the command, used to know has it been created from serialization or invoked */
|
|
322
|
+
protected _origin: 'invoked' | 'serialized';
|
|
323
|
+
/** Command execution scope for dependency injection and feature resolution */
|
|
324
|
+
protected _executionScope: A_Scope;
|
|
325
|
+
/** Result data produced by successful command execution */
|
|
326
|
+
protected _result?: ResultType;
|
|
327
|
+
/** Set of errors that occurred during command execution */
|
|
328
|
+
protected _error: A_Error;
|
|
329
|
+
/** Command initialization parameters */
|
|
330
|
+
protected _params: InvokeType;
|
|
331
|
+
/** Current lifecycle status of the command */
|
|
332
|
+
protected _status: A_Command_Status;
|
|
333
|
+
/** Map of event listeners organized by event name */
|
|
334
|
+
protected _listeners: Map<LifecycleEvents | keyof typeof A_CommandEvent, Set<A_TYPES__Command_Listener<InvokeType, ResultType, LifecycleEvents>>>;
|
|
335
|
+
/** Timestamp when command execution started */
|
|
336
|
+
protected _startTime?: Date;
|
|
337
|
+
/** Timestamp when command execution ended */
|
|
338
|
+
protected _endTime?: Date;
|
|
339
|
+
/** Timestamp when command was created */
|
|
340
|
+
protected _createdAt: Date;
|
|
341
|
+
/**
|
|
342
|
+
* Total execution duration in milliseconds
|
|
343
|
+
*
|
|
344
|
+
* - If completed/failed: Returns total time from start to end
|
|
345
|
+
* - If currently executing: Returns elapsed time since start
|
|
346
|
+
* - If not started: Returns undefined
|
|
347
|
+
*/
|
|
348
|
+
get duration(): number | undefined;
|
|
349
|
+
/**
|
|
350
|
+
* Idle time before execution started in milliseconds
|
|
351
|
+
*
|
|
352
|
+
* Time between command creation and execution start.
|
|
353
|
+
* Useful for monitoring command queue performance.
|
|
354
|
+
*/
|
|
355
|
+
get idleTime(): number | undefined;
|
|
356
|
+
/**
|
|
357
|
+
* Command execution scope for dependency injection
|
|
358
|
+
*
|
|
359
|
+
* Provides access to components, services, and shared resources
|
|
360
|
+
* during command execution. Inherits from the scope where the
|
|
361
|
+
* command was registered.
|
|
362
|
+
*/
|
|
363
|
+
get scope(): A_Scope;
|
|
364
|
+
/**
|
|
365
|
+
* Execution context associated with the command
|
|
366
|
+
*/
|
|
367
|
+
get context(): A_ExecutionContext<A_Command_ExecutionContext<InvokeType, ResultType>>;
|
|
368
|
+
/**
|
|
369
|
+
* Unique command type identifier
|
|
370
|
+
*
|
|
371
|
+
* Derived from the class name and used for:
|
|
372
|
+
* - Command registration and resolution
|
|
373
|
+
* - Serialization and deserialization
|
|
374
|
+
* - Logging and debugging
|
|
375
|
+
*
|
|
376
|
+
* @example 'create-user-command', 'process-order-command'
|
|
377
|
+
*/
|
|
378
|
+
get code(): string;
|
|
379
|
+
/**
|
|
380
|
+
* Current lifecycle status of the command
|
|
381
|
+
*
|
|
382
|
+
* Indicates the current phase in the command execution lifecycle.
|
|
383
|
+
* Used to track progress and determine available operations.
|
|
384
|
+
*/
|
|
385
|
+
get status(): A_Command_Status;
|
|
386
|
+
/**
|
|
387
|
+
* Timestamp when the command was created
|
|
388
|
+
*
|
|
389
|
+
* Marks the initial instantiation time, useful for tracking
|
|
390
|
+
* command age and queue performance metrics.
|
|
391
|
+
*/
|
|
392
|
+
get createdAt(): Date;
|
|
393
|
+
/**
|
|
394
|
+
* Timestamp when command execution started
|
|
395
|
+
*
|
|
396
|
+
* Undefined until execution begins. Used for calculating
|
|
397
|
+
* execution duration and idle time.
|
|
398
|
+
*/
|
|
399
|
+
get startedAt(): Date | undefined;
|
|
400
|
+
/**
|
|
401
|
+
* Timestamp when command execution ended
|
|
402
|
+
*
|
|
403
|
+
* Set when command reaches COMPLETED or FAILED status.
|
|
404
|
+
* Used for calculating total execution duration.
|
|
405
|
+
*/
|
|
406
|
+
get endedAt(): Date | undefined;
|
|
407
|
+
/**
|
|
408
|
+
* Result data produced by command execution
|
|
409
|
+
*
|
|
410
|
+
* Contains the output data from successful command execution.
|
|
411
|
+
* Undefined until command completes successfully.
|
|
412
|
+
*/
|
|
413
|
+
get result(): ResultType | undefined;
|
|
414
|
+
/**
|
|
415
|
+
* Array of errors that occurred during execution
|
|
416
|
+
*
|
|
417
|
+
* Automatically wraps native errors in A_Error instances
|
|
418
|
+
* for consistent error handling. Empty array if no errors occurred.
|
|
419
|
+
*/
|
|
420
|
+
get error(): A_Error | undefined;
|
|
421
|
+
/**
|
|
422
|
+
* Command initialization parameters
|
|
423
|
+
*
|
|
424
|
+
* Contains the input data used to create and configure the command.
|
|
425
|
+
* These parameters are immutable during command execution.
|
|
426
|
+
return new A_Error(err);
|
|
427
|
+
}
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Command initialization parameters
|
|
433
|
+
*
|
|
434
|
+
* Contains the input data used to create and configure the command.
|
|
435
|
+
* These parameters are immutable during command execution.
|
|
436
|
+
*/
|
|
437
|
+
get params(): InvokeType;
|
|
438
|
+
/**
|
|
439
|
+
* Indicates if the command has been processed (completed or failed)
|
|
440
|
+
*
|
|
441
|
+
* Returns true if the command has completed or failed, false otherwise.
|
|
442
|
+
*/
|
|
443
|
+
get isProcessed(): boolean;
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* A-Command represents an executable command with a specific code and parameters.
|
|
447
|
+
* It can be executed within a given scope and stores execution results and errors.
|
|
448
|
+
*
|
|
449
|
+
*
|
|
450
|
+
* A-Command should be context independent and execution logic should be based on attached components
|
|
451
|
+
*
|
|
452
|
+
* @param code
|
|
453
|
+
* @param params
|
|
454
|
+
*/
|
|
455
|
+
constructor(
|
|
456
|
+
/**
|
|
457
|
+
* Command invocation parameters
|
|
458
|
+
*/
|
|
459
|
+
params: InvokeType | A_TYPES__Command_Serialized<InvokeType, ResultType> | string);
|
|
460
|
+
protected [A_StateMachineFeatures.onBeforeTransition](transition: A_StateMachineTransition, logger?: A_Logger, ...args: any[]): Promise<void>;
|
|
461
|
+
protected [A_CommandTransitions.CREATED_TO_INITIALIZED](transition: A_StateMachineTransition, ...args: any[]): Promise<void>;
|
|
462
|
+
protected [A_CommandTransitions.INITIALIZED_TO_EXECUTING](transition: A_StateMachineTransition, ...args: any[]): Promise<void>;
|
|
463
|
+
protected [A_CommandTransitions.EXECUTING_TO_COMPLETED](transition: A_StateMachineTransition, ...args: any[]): Promise<void>;
|
|
464
|
+
protected [A_CommandTransitions.EXECUTING_TO_FAILED](transition: A_StateMachineTransition, error: A_Error, ...args: any[]): Promise<void>;
|
|
465
|
+
protected [A_CommandFeatures.onInit](stateMachine: A_StateMachine, ...args: any[]): Promise<void>;
|
|
466
|
+
protected [A_CommandFeatures.onBeforeExecute](stateMachine: A_StateMachine, ...args: any[]): Promise<void>;
|
|
467
|
+
protected [A_CommandFeatures.onExecute](...args: any[]): Promise<void>;
|
|
468
|
+
protected [A_CommandFeatures.onAfterExecute](...args: any[]): Promise<void>;
|
|
469
|
+
protected [A_CommandFeatures.onComplete](stateMachine: A_StateMachine, ...args: any[]): Promise<void>;
|
|
470
|
+
protected [A_CommandFeatures.onFail](stateMachine: A_StateMachine, operation: A_ExecutionContext<A_Command_ExecutionContext<InvokeType, ResultType>>, ...args: any[]): Promise<void>;
|
|
471
|
+
/**
|
|
472
|
+
* Initializes the command before execution.
|
|
473
|
+
*/
|
|
474
|
+
init(): Promise<void>;
|
|
475
|
+
/**
|
|
476
|
+
* Executes the command logic.
|
|
477
|
+
*/
|
|
478
|
+
execute(): Promise<any>;
|
|
479
|
+
/**
|
|
480
|
+
* Marks the command as completed
|
|
481
|
+
*
|
|
482
|
+
*
|
|
483
|
+
* Calling This method will set the command status to COMPLETED, record the end time,
|
|
484
|
+
* store the result, emit the onComplete event, and destroy the execution scope.
|
|
485
|
+
*
|
|
486
|
+
* [!] After Calling this method, the command is considered fully processed And further processing will be INTERRUPTED.
|
|
487
|
+
* [!] If the command is already processed (COMPLETED or FAILED), this method does nothing.
|
|
488
|
+
* [!] This method can be called with optional result data to store with the command.
|
|
489
|
+
*
|
|
490
|
+
* @param result - Optional result data to store with the command
|
|
491
|
+
*/
|
|
492
|
+
complete(result?: ResultType): Promise<void>;
|
|
493
|
+
/**
|
|
494
|
+
* Marks the command as failed
|
|
495
|
+
*/
|
|
496
|
+
fail(error?: A_Error): Promise<void>;
|
|
497
|
+
/**
|
|
498
|
+
* Registers an event listener for a specific event
|
|
499
|
+
*
|
|
500
|
+
* @param event
|
|
501
|
+
* @param listener
|
|
502
|
+
*/
|
|
503
|
+
on(event: LifecycleEvents | A_CommandEvent, listener: A_TYPES__Command_Listener<InvokeType, ResultType, LifecycleEvents>): void;
|
|
504
|
+
/**
|
|
505
|
+
* Removes an event listener for a specific event
|
|
506
|
+
*
|
|
507
|
+
* @param event
|
|
508
|
+
* @param listener
|
|
509
|
+
*/
|
|
510
|
+
off(event: LifecycleEvents | A_CommandEvent, listener: A_TYPES__Command_Listener<InvokeType, ResultType, LifecycleEvents>): void;
|
|
511
|
+
/**
|
|
512
|
+
* Emits an event to all registered listeners
|
|
513
|
+
*
|
|
514
|
+
* @param event
|
|
515
|
+
*/
|
|
516
|
+
emit(event: LifecycleEvents | keyof typeof A_CommandEvent): void;
|
|
517
|
+
/**
|
|
518
|
+
* Allows to create a Command instance from new data
|
|
519
|
+
*
|
|
520
|
+
* @param newEntity
|
|
521
|
+
*/
|
|
522
|
+
fromNew(newEntity: InvokeType): void;
|
|
523
|
+
/**
|
|
524
|
+
* Allows to convert serialized data to Command instance
|
|
525
|
+
*
|
|
526
|
+
* [!] By default it omits params as they are not stored in the serialized data
|
|
527
|
+
*
|
|
528
|
+
* @param serialized
|
|
529
|
+
*/
|
|
530
|
+
fromJSON(serialized: A_TYPES__Command_Serialized<InvokeType, ResultType>): void;
|
|
531
|
+
/**
|
|
532
|
+
* Converts the Command instance to a plain object
|
|
533
|
+
*
|
|
534
|
+
* @returns
|
|
535
|
+
*/
|
|
536
|
+
toJSON(): A_TYPES__Command_Serialized<InvokeType, ResultType>;
|
|
537
|
+
/**
|
|
538
|
+
* Ensures that the command's execution scope inherits from the context scope
|
|
539
|
+
*
|
|
540
|
+
* Throws an error if the command is not bound to any context scope
|
|
541
|
+
*/
|
|
542
|
+
protected checkScopeInheritance(): void;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
declare class A_CommandError extends A_Error {
|
|
546
|
+
static readonly CommandScopeBindingError = "A-Command Scope Binding Error";
|
|
547
|
+
static readonly ExecutionError = "A-Command Execution Error";
|
|
548
|
+
static readonly ResultProcessingError = "A-Command Result Processing Error";
|
|
549
|
+
/**
|
|
550
|
+
* Error indicating that the command was interrupted during execution
|
|
551
|
+
*/
|
|
552
|
+
static readonly CommandInterruptedError = "A-Command Interrupted Error";
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export { A_Command, A_CommandError, A_CommandEvent, type A_CommandEvents, A_CommandFeatures, A_CommandTransitions, type A_Command_ExecutionContext, A_Command_Status, type A_TYPES__Command_Constructor, type A_TYPES__Command_Init, type A_TYPES__Command_Listener, type A_TYPES__Command_Serialized };
|