@adaas/a-concept 0.0.63 → 0.1.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/dist/index.d.ts +24 -32
- package/dist/index.js +35 -52
- package/dist/index.js.map +1 -1
- package/dist/src/constants/env.constants.d.ts +15 -8
- package/dist/src/constants/env.constants.js +17 -10
- package/dist/src/constants/env.constants.js.map +1 -1
- package/dist/src/global/A-Abstraction/A-Abstraction-Extend.decorator.d.ts +23 -0
- package/dist/src/global/A-Abstraction/A-Abstraction-Extend.decorator.js +69 -0
- package/dist/src/global/A-Abstraction/A-Abstraction-Extend.decorator.js.map +1 -0
- package/dist/src/global/A-Abstraction/A-Abstraction.class.d.ts +47 -20
- package/dist/src/global/A-Abstraction/A-Abstraction.class.js +55 -48
- package/dist/src/global/A-Abstraction/A-Abstraction.class.js.map +1 -1
- package/dist/src/global/A-Abstraction/A-Abstraction.error.d.ts +7 -0
- package/dist/src/global/A-Abstraction/A-Abstraction.error.js +12 -0
- package/dist/src/global/A-Abstraction/A-Abstraction.error.js.map +1 -0
- package/dist/src/global/A-Abstraction/A-Abstraction.types.d.ts +27 -12
- package/dist/src/global/A-Abstraction/A-Abstraction.types.js +0 -8
- package/dist/src/global/A-Abstraction/A-Abstraction.types.js.map +1 -1
- package/dist/src/global/A-Caller/A_Caller.class.d.ts +33 -0
- package/dist/src/global/A-Caller/A_Caller.class.js +44 -0
- package/dist/src/global/A-Caller/A_Caller.class.js.map +1 -0
- package/dist/src/global/A-Caller/A_Caller.error.d.ts +7 -0
- package/dist/src/global/A-Caller/A_Caller.error.js +12 -0
- package/dist/src/global/A-Caller/A_Caller.error.js.map +1 -0
- package/dist/src/global/A-Caller/A_Caller.types.d.ts +18 -0
- package/dist/src/{base/A-Errors/A-Errors.types.js → global/A-Caller/A_Caller.types.js} +1 -1
- package/dist/src/global/A-Caller/A_Caller.types.js.map +1 -0
- package/dist/src/global/A-Component/A-Component.class.d.ts +20 -3
- package/dist/src/global/A-Component/A-Component.class.js +35 -19
- package/dist/src/global/A-Component/A-Component.class.js.map +1 -1
- package/dist/src/global/A-Component/A-Component.constants.d.ts +6 -0
- package/dist/src/global/A-Component/A-Component.constants.js +11 -0
- package/dist/src/global/A-Component/A-Component.constants.js.map +1 -0
- package/dist/src/global/A-Component/A-Component.meta.d.ts +4 -4
- package/dist/src/global/A-Component/A-Component.meta.js +6 -8
- package/dist/src/global/A-Component/A-Component.meta.js.map +1 -1
- package/dist/src/global/A-Component/A-Component.types.d.ts +40 -22
- package/dist/src/global/A-Component/A-Component.types.js +1 -8
- package/dist/src/global/A-Component/A-Component.types.js.map +1 -1
- package/dist/src/global/A-Concept/A-Concept.class.d.ts +153 -0
- package/dist/src/global/A-Concept/A-Concept.class.js +260 -0
- package/dist/src/global/A-Concept/A-Concept.class.js.map +1 -0
- package/dist/src/global/A-Concept/A-Concept.constants.d.ts +33 -0
- package/dist/src/global/A-Concept/A-Concept.constants.js +39 -0
- package/dist/src/global/A-Concept/A-Concept.constants.js.map +1 -0
- package/dist/src/global/A-Concept/{A_Concept.meta.js → A-Concept.meta.js} +1 -2
- package/dist/src/global/A-Concept/A-Concept.meta.js.map +1 -0
- package/dist/src/global/A-Concept/A-Concept.types.d.ts +83 -0
- package/dist/src/global/{A-Channel/A-Channel.types.js → A-Concept/A-Concept.types.js} +1 -1
- package/dist/src/global/A-Concept/A-Concept.types.js.map +1 -0
- package/dist/src/global/A-Container/A-Container.class.d.ts +31 -35
- package/dist/src/global/A-Container/A-Container.class.js +34 -55
- package/dist/src/global/A-Container/A-Container.class.js.map +1 -1
- package/dist/src/global/A-Container/A-Container.constants.d.ts +5 -0
- package/dist/src/global/A-Container/A-Container.constants.js +10 -0
- package/dist/src/global/A-Container/A-Container.constants.js.map +1 -0
- package/dist/src/global/A-Container/A-Container.meta.d.ts +6 -6
- package/dist/src/global/A-Container/A-Container.meta.js +5 -6
- package/dist/src/global/A-Container/A-Container.meta.js.map +1 -1
- package/dist/src/global/A-Container/A-Container.types.d.ts +31 -25
- package/dist/src/global/A-Container/A-Container.types.js +1 -7
- package/dist/src/global/A-Container/A-Container.types.js.map +1 -1
- package/dist/src/global/A-Context/A-Context.class.d.ts +302 -76
- package/dist/src/global/A-Context/A-Context.class.js +436 -244
- package/dist/src/global/A-Context/A-Context.class.js.map +1 -1
- package/dist/src/global/A-Context/A-Context.error.d.ts +20 -0
- package/dist/src/global/A-Context/A-Context.error.js +25 -0
- package/dist/src/global/A-Context/A-Context.error.js.map +1 -0
- package/dist/src/global/A-Context/A-Context.types.d.ts +5 -0
- package/dist/src/global/A-Context/A-Context.types.js +1 -0
- package/dist/src/global/A-Entity/A-Entity.class.d.ts +18 -18
- package/dist/src/global/A-Entity/A-Entity.class.js +36 -43
- package/dist/src/global/A-Entity/A-Entity.class.js.map +1 -1
- package/dist/src/global/A-Entity/A-Entity.constants.d.ts +11 -0
- package/dist/src/global/A-Entity/A-Entity.constants.js +17 -0
- package/dist/src/global/A-Entity/A-Entity.constants.js.map +1 -0
- package/dist/src/global/A-Entity/A-Entity.error.d.ts +7 -0
- package/dist/src/global/A-Entity/A-Entity.error.js +12 -0
- package/dist/src/global/A-Entity/A-Entity.error.js.map +1 -0
- package/dist/src/global/A-Entity/A-Entity.meta.d.ts +2 -2
- package/dist/src/global/A-Entity/A-Entity.meta.js +2 -2
- package/dist/src/global/A-Entity/A-Entity.meta.js.map +1 -1
- package/dist/src/global/A-Entity/A-Entity.types.d.ts +24 -29
- package/dist/src/global/A-Entity/A-Entity.types.js +1 -13
- package/dist/src/global/A-Entity/A-Entity.types.js.map +1 -1
- package/dist/src/global/A-Error/A_Error.class.d.ts +219 -0
- package/dist/src/global/A-Error/A_Error.class.js +267 -0
- package/dist/src/global/A-Error/A_Error.class.js.map +1 -0
- package/dist/src/global/A-Error/A_Error.constants.d.ts +5 -0
- package/dist/src/global/A-Error/A_Error.constants.js +9 -0
- package/dist/src/global/A-Error/A_Error.constants.js.map +1 -0
- package/dist/src/global/A-Error/A_Error.types.d.ts +89 -0
- package/dist/src/{decorators/A-Inject/A-Inject.decorator.types.js → global/A-Error/A_Error.types.js} +1 -1
- package/dist/src/global/A-Error/A_Error.types.js.map +1 -0
- package/dist/src/global/A-Feature/A-Feature-Define.decorator.d.ts +15 -0
- package/dist/src/{decorators → global}/A-Feature/A-Feature-Define.decorator.js +21 -27
- package/dist/src/global/A-Feature/A-Feature-Define.decorator.js.map +1 -0
- package/dist/src/{decorators → global}/A-Feature/A-Feature-Extend.decorator.d.ts +26 -3
- package/dist/src/global/A-Feature/A-Feature-Extend.decorator.js +97 -0
- package/dist/src/global/A-Feature/A-Feature-Extend.decorator.js.map +1 -0
- package/dist/src/global/A-Feature/A-Feature.class.d.ts +120 -30
- package/dist/src/global/A-Feature/A-Feature.class.js +205 -73
- package/dist/src/global/A-Feature/A-Feature.class.js.map +1 -1
- package/dist/src/global/A-Feature/A-Feature.error.d.ts +25 -0
- package/dist/src/global/A-Feature/A-Feature.error.js +33 -0
- package/dist/src/global/A-Feature/A-Feature.error.js.map +1 -0
- package/dist/src/global/A-Feature/A-Feature.types.d.ts +241 -18
- package/dist/src/global/A-Feature/A-Feature.types.js +16 -22
- package/dist/src/global/A-Feature/A-Feature.types.js.map +1 -1
- package/dist/src/global/A-Fragment/A-Fragment.class.d.ts +19 -27
- package/dist/src/global/A-Fragment/A-Fragment.class.js +21 -91
- package/dist/src/global/A-Fragment/A-Fragment.class.js.map +1 -1
- package/dist/src/global/A-Fragment/A-Fragment.types.d.ts +19 -1
- package/dist/src/global/A-Fragment/A-Fragment.types.js +3 -0
- package/dist/src/global/A-Fragment/A-Fragment.types.js.map +1 -1
- package/dist/src/global/A-Inject/A-Inject.decorator.d.ts +80 -0
- package/dist/src/global/A-Inject/A-Inject.decorator.js +49 -0
- package/dist/src/global/A-Inject/A-Inject.decorator.js.map +1 -0
- package/dist/src/global/A-Inject/A-Inject.error.d.ts +5 -0
- package/dist/src/global/A-Inject/A-Inject.error.js +10 -0
- package/dist/src/global/A-Inject/A-Inject.error.js.map +1 -0
- package/dist/src/global/A-Inject/A-Inject.types.d.ts +42 -0
- package/dist/src/{decorators/A-Entity/A-Entity.decorator.types.js → global/A-Inject/A-Inject.types.js} +1 -1
- package/dist/src/global/A-Inject/A-Inject.types.js.map +1 -0
- package/dist/src/global/A-Meta/A-Meta.class.d.ts +1 -1
- package/dist/src/global/A-Meta/A-Meta.types.d.ts +14 -0
- package/dist/src/global/A-Meta/A-Meta.types.js +1 -0
- package/dist/src/global/A-Scope/A-Scope.class.d.ts +406 -63
- package/dist/src/global/A-Scope/A-Scope.class.js +533 -287
- package/dist/src/global/A-Scope/A-Scope.class.js.map +1 -1
- package/dist/src/global/A-Scope/A-Scope.error.d.ts +6 -0
- package/dist/src/global/A-Scope/A-Scope.error.js +11 -0
- package/dist/src/global/A-Scope/A-Scope.error.js.map +1 -0
- package/dist/src/global/A-Scope/A-Scope.types.d.ts +50 -13
- package/dist/src/global/A-Stage/A-Stage.class.d.ts +31 -23
- package/dist/src/global/A-Stage/A-Stage.class.js +100 -68
- package/dist/src/global/A-Stage/A-Stage.class.js.map +1 -1
- package/dist/src/global/A-Stage/A-Stage.error.d.ts +2 -1
- package/dist/src/global/A-Stage/A-Stage.error.js +5 -2
- package/dist/src/global/A-Stage/A-Stage.error.js.map +1 -1
- package/dist/src/global/A-Stage/A-Stage.types.d.ts +4 -16
- package/dist/src/global/A-Stage/A-Stage.types.js +0 -16
- package/dist/src/global/A-Stage/A-Stage.types.js.map +1 -1
- package/dist/src/global/ASEID/ASEID.class.d.ts +130 -0
- package/dist/src/global/ASEID/ASEID.class.js +167 -0
- package/dist/src/global/ASEID/ASEID.class.js.map +1 -0
- package/dist/src/global/ASEID/ASEID.constants.js +2 -0
- package/dist/src/global/ASEID/ASEID.constants.js.map +1 -0
- package/dist/src/global/ASEID/ASEID.error.d.ts +5 -0
- package/dist/src/global/ASEID/ASEID.error.js +10 -0
- package/dist/src/global/ASEID/ASEID.error.js.map +1 -0
- package/dist/src/global/ASEID/ASEID.types.d.ts +65 -0
- package/dist/src/global/ASEID/ASEID.types.js +5 -0
- package/dist/src/global/ASEID/ASEID.types.js.map +1 -0
- package/dist/src/helpers/A_Common.helper.d.ts +28 -0
- package/dist/src/helpers/A_Common.helper.js +170 -0
- package/dist/src/helpers/A_Common.helper.js.map +1 -0
- package/dist/src/helpers/A_Formatter.helper.d.ts +35 -0
- package/dist/src/helpers/A_Formatter.helper.js +62 -0
- package/dist/src/helpers/A_Formatter.helper.js.map +1 -0
- package/dist/src/helpers/A_Identity.helper.d.ts +29 -0
- package/dist/src/helpers/A_Identity.helper.js +43 -0
- package/dist/src/helpers/A_Identity.helper.js.map +1 -0
- package/dist/src/helpers/{StepsManager.class.d.ts → A_StepsManager.class.d.ts} +4 -2
- package/dist/src/helpers/{StepsManager.class.js → A_StepsManager.class.js} +10 -5
- package/dist/src/helpers/A_StepsManager.class.js.map +1 -0
- package/dist/src/helpers/A_TypeGuards.helper.d.ts +205 -0
- package/dist/src/helpers/A_TypeGuards.helper.js +288 -0
- package/dist/src/helpers/A_TypeGuards.helper.js.map +1 -0
- package/dist/src/types/A_Common.types.d.ts +36 -0
- package/dist/src/types/A_Common.types.js +3 -0
- package/dist/src/types/A_Common.types.js.map +1 -0
- package/index.ts +27 -51
- package/jest.config.ts +1 -0
- package/package.json +1 -2
- package/src/constants/env.constants.ts +18 -11
- package/src/global/A-Abstraction/A-Abstraction-Extend.decorator.ts +103 -0
- package/src/global/A-Abstraction/A-Abstraction.class.ts +71 -65
- package/src/global/A-Abstraction/A-Abstraction.error.ts +9 -0
- package/src/global/A-Abstraction/A-Abstraction.types.ts +52 -13
- package/src/global/A-Caller/A_Caller.class.ts +61 -0
- package/src/global/A-Caller/A_Caller.error.ts +10 -0
- package/src/global/A-Caller/A_Caller.types.ts +25 -0
- package/src/global/A-Component/A-Component.class.ts +26 -15
- package/src/global/A-Component/A-Component.constants.ts +9 -0
- package/src/global/A-Component/A-Component.meta.ts +6 -16
- package/src/global/A-Component/A-Component.types.ts +53 -28
- package/src/global/A-Concept/A-Concept.class.ts +316 -0
- package/src/global/A-Concept/A-Concept.constants.ts +36 -0
- package/src/global/A-Concept/A-Concept.meta.ts +17 -0
- package/src/global/A-Concept/A-Concept.types.ts +100 -0
- package/src/global/A-Container/A-Container.class.ts +42 -83
- package/src/global/A-Container/A-Container.constants.ts +5 -0
- package/src/global/A-Container/A-Container.meta.ts +7 -11
- package/src/global/A-Container/A-Container.types.ts +38 -34
- package/src/global/A-Context/A-Context.class.ts +648 -412
- package/src/global/A-Context/A-Context.error.ts +44 -0
- package/src/global/A-Context/A-Context.types.ts +14 -0
- package/src/global/A-Entity/A-Entity.class.ts +39 -52
- package/src/global/A-Entity/A-Entity.constants.ts +12 -0
- package/src/global/A-Entity/A-Entity.error.ts +12 -0
- package/src/global/A-Entity/A-Entity.meta.ts +4 -4
- package/src/global/A-Entity/A-Entity.types.ts +31 -36
- package/src/global/A-Error/A_Error.class.ts +408 -0
- package/src/global/A-Error/A_Error.constants.ts +11 -0
- package/src/global/A-Error/A_Error.types.ts +96 -0
- package/src/{decorators → global}/A-Feature/A-Feature-Define.decorator.ts +31 -37
- package/src/global/A-Feature/A-Feature-Extend.decorator.ts +187 -0
- package/src/global/A-Feature/A-Feature.class.ts +279 -122
- package/src/global/A-Feature/A-Feature.error.ts +33 -0
- package/src/global/A-Feature/A-Feature.types.ts +278 -40
- package/src/global/A-Fragment/A-Fragment.class.ts +29 -100
- package/src/global/A-Fragment/A-Fragment.types.ts +25 -3
- package/src/global/A-Inject/A-Inject.decorator.ts +167 -0
- package/src/global/A-Inject/A-Inject.error.ts +8 -0
- package/src/global/A-Inject/A-Inject.types.ts +75 -0
- package/src/global/A-Meta/A-Meta.class.ts +1 -1
- package/src/global/A-Meta/A-Meta.types.ts +21 -0
- package/src/global/A-Scope/A-Scope.class.ts +841 -443
- package/src/global/A-Scope/A-Scope.error.ts +13 -0
- package/src/global/A-Scope/A-Scope.types.ts +65 -26
- package/src/global/A-Stage/A-Stage.class.ts +142 -80
- package/src/global/A-Stage/A-Stage.error.ts +4 -2
- package/src/global/A-Stage/A-Stage.types.ts +4 -25
- package/src/global/ASEID/ASEID.class.ts +275 -0
- package/src/global/ASEID/ASEID.error.ts +12 -0
- package/src/global/ASEID/ASEID.types.ts +79 -0
- package/src/helpers/A_Common.helper.ts +204 -0
- package/src/helpers/A_Formatter.helper.ts +58 -0
- package/src/helpers/A_Identity.helper.ts +53 -0
- package/src/helpers/{StepsManager.class.ts → A_StepsManager.class.ts} +19 -3
- package/src/helpers/A_TypeGuards.helper.ts +318 -0
- package/src/types/A_Common.types.ts +79 -0
- package/tests/A-Common.test.ts +117 -0
- package/tests/A-Component.test.ts +11 -6
- package/tests/A-Concept.test.ts +19 -22
- package/tests/A-Entity.test.ts +24 -24
- package/tests/A-Error.test.ts +129 -0
- package/tests/A-Feature.test.ts +34 -25
- package/tests/A-Scope.test.ts +50 -22
- package/tests/ASEID.test.ts +74 -0
- package/tsconfig.build.json +2 -1
- package/tsconfig.json +3 -2
- package/dist/src/base/A-Config/A-Config.container.d.ts +0 -9
- package/dist/src/base/A-Config/A-Config.container.js +0 -69
- package/dist/src/base/A-Config/A-Config.container.js.map +0 -1
- package/dist/src/base/A-Config/A-Config.context.d.ts +0 -30
- package/dist/src/base/A-Config/A-Config.context.js +0 -60
- package/dist/src/base/A-Config/A-Config.context.js.map +0 -1
- package/dist/src/base/A-Config/A-Config.types.d.ts +0 -20
- package/dist/src/base/A-Config/A-Config.types.js +0 -7
- package/dist/src/base/A-Config/A-Config.types.js.map +0 -1
- package/dist/src/base/A-Config/components/ConfigReader.component.d.ts +0 -29
- package/dist/src/base/A-Config/components/ConfigReader.component.js +0 -84
- package/dist/src/base/A-Config/components/ConfigReader.component.js.map +0 -1
- package/dist/src/base/A-Config/components/ENVConfigReader.component.d.ts +0 -10
- package/dist/src/base/A-Config/components/ENVConfigReader.component.js +0 -37
- package/dist/src/base/A-Config/components/ENVConfigReader.component.js.map +0 -1
- package/dist/src/base/A-Config/components/FileConfigReader.component.d.ts +0 -11
- package/dist/src/base/A-Config/components/FileConfigReader.component.js +0 -48
- package/dist/src/base/A-Config/components/FileConfigReader.component.js.map +0 -1
- package/dist/src/base/A-Errors/A-Error.entity.d.ts +0 -3
- package/dist/src/base/A-Errors/A-Error.entity.js +0 -8
- package/dist/src/base/A-Errors/A-Error.entity.js.map +0 -1
- package/dist/src/base/A-Errors/A-Errors.component.d.ts +0 -19
- package/dist/src/base/A-Errors/A-Errors.component.js +0 -87
- package/dist/src/base/A-Errors/A-Errors.component.js.map +0 -1
- package/dist/src/base/A-Errors/A-Errors.context.d.ts +0 -27
- package/dist/src/base/A-Errors/A-Errors.context.js +0 -50
- package/dist/src/base/A-Errors/A-Errors.context.js.map +0 -1
- package/dist/src/base/A-Errors/A-Errors.types.d.ts +0 -5
- package/dist/src/base/A-Errors/A-Errors.types.js.map +0 -1
- package/dist/src/base/A-Logger/A-Logger.component.d.ts +0 -31
- package/dist/src/base/A-Logger/A-Logger.component.js +0 -155
- package/dist/src/base/A-Logger/A-Logger.component.js.map +0 -1
- package/dist/src/base/A-Logger/A-Logger.types.js +0 -2
- package/dist/src/base/A-Logger/A-Logger.types.js.map +0 -1
- package/dist/src/base/A-Polyfill/A-Polyfill.component.d.ts +0 -5
- package/dist/src/base/A-Polyfill/A-Polyfill.component.js +0 -34
- package/dist/src/base/A-Polyfill/A-Polyfill.component.js.map +0 -1
- package/dist/src/decorators/A-Abstraction/A-Abstraction-Extend.decorator.d.ts +0 -14
- package/dist/src/decorators/A-Abstraction/A-Abstraction-Extend.decorator.js +0 -53
- package/dist/src/decorators/A-Abstraction/A-Abstraction-Extend.decorator.js.map +0 -1
- package/dist/src/decorators/A-Abstraction/A-Abstraction.decorator.types.d.ts +0 -2
- package/dist/src/decorators/A-Abstraction/A-Abstraction.decorator.types.js +0 -3
- package/dist/src/decorators/A-Abstraction/A-Abstraction.decorator.types.js.map +0 -1
- package/dist/src/decorators/A-Connect/A-Connect.decorator.d.ts +0 -19
- package/dist/src/decorators/A-Connect/A-Connect.decorator.js +0 -31
- package/dist/src/decorators/A-Connect/A-Connect.decorator.js.map +0 -1
- package/dist/src/decorators/A-Connect/A-Connect.decorator.types.d.ts +0 -1
- package/dist/src/decorators/A-Connect/A-Connect.decorator.types.js +0 -3
- package/dist/src/decorators/A-Connect/A-Connect.decorator.types.js.map +0 -1
- package/dist/src/decorators/A-Entity/A-Entity-List.decorator.d.ts +0 -1
- package/dist/src/decorators/A-Entity/A-Entity-List.decorator.js +0 -8
- package/dist/src/decorators/A-Entity/A-Entity-List.decorator.js.map +0 -1
- package/dist/src/decorators/A-Entity/A-Entity.decorator.types.d.ts +0 -14
- package/dist/src/decorators/A-Entity/A-Entity.decorator.types.js.map +0 -1
- package/dist/src/decorators/A-Feature/A-Feature-Define.decorator.d.ts +0 -19
- package/dist/src/decorators/A-Feature/A-Feature-Define.decorator.js.map +0 -1
- package/dist/src/decorators/A-Feature/A-Feature-Extend.decorator.js +0 -81
- package/dist/src/decorators/A-Feature/A-Feature-Extend.decorator.js.map +0 -1
- package/dist/src/decorators/A-Feature/A-Feature.decorator.types.d.ts +0 -96
- package/dist/src/decorators/A-Feature/A-Feature.decorator.types.js +0 -3
- package/dist/src/decorators/A-Feature/A-Feature.decorator.types.js.map +0 -1
- package/dist/src/decorators/A-Inject/A-Inject.decorator.d.ts +0 -30
- package/dist/src/decorators/A-Inject/A-Inject.decorator.js +0 -47
- package/dist/src/decorators/A-Inject/A-Inject.decorator.js.map +0 -1
- package/dist/src/decorators/A-Inject/A-Inject.decorator.types.d.ts +0 -48
- package/dist/src/decorators/A-Inject/A-Inject.decorator.types.js.map +0 -1
- package/dist/src/global/A-Channel/A-Channel.class.d.ts +0 -16
- package/dist/src/global/A-Channel/A-Channel.class.js +0 -59
- package/dist/src/global/A-Channel/A-Channel.class.js.map +0 -1
- package/dist/src/global/A-Channel/A-Channel.types.d.ts +0 -68
- package/dist/src/global/A-Channel/A-Channel.types.js.map +0 -1
- package/dist/src/global/A-Command/A-Command.class.d.ts +0 -187
- package/dist/src/global/A-Command/A-Command.class.js +0 -349
- package/dist/src/global/A-Command/A-Command.class.js.map +0 -1
- package/dist/src/global/A-Command/A-Command.constants.d.ts +0 -17
- package/dist/src/global/A-Command/A-Command.constants.js +0 -22
- package/dist/src/global/A-Command/A-Command.constants.js.map +0 -1
- package/dist/src/global/A-Command/A-Command.meta.d.ts +0 -11
- package/dist/src/global/A-Command/A-Command.meta.js +0 -18
- package/dist/src/global/A-Command/A-Command.meta.js.map +0 -1
- package/dist/src/global/A-Command/A-Command.types.d.ts +0 -43
- package/dist/src/global/A-Command/A-Command.types.js +0 -10
- package/dist/src/global/A-Command/A-Command.types.js.map +0 -1
- package/dist/src/global/A-Command/context/A_Command.context.d.ts +0 -64
- package/dist/src/global/A-Command/context/A_Command.context.js +0 -85
- package/dist/src/global/A-Command/context/A_Command.context.js.map +0 -1
- package/dist/src/global/A-Concept/A_Concept.class.d.ts +0 -104
- package/dist/src/global/A-Concept/A_Concept.class.js +0 -217
- package/dist/src/global/A-Concept/A_Concept.class.js.map +0 -1
- package/dist/src/global/A-Concept/A_Concept.meta.js.map +0 -1
- package/dist/src/global/A-Concept/A_Concept.types.d.ts +0 -103
- package/dist/src/global/A-Concept/A_Concept.types.js +0 -28
- package/dist/src/global/A-Concept/A_Concept.types.js.map +0 -1
- package/dist/src/global/A-Feature/A-FeatureCaller.class.d.ts +0 -22
- package/dist/src/global/A-Feature/A-FeatureCaller.class.js +0 -26
- package/dist/src/global/A-Feature/A-FeatureCaller.class.js.map +0 -1
- package/dist/src/helpers/StepsManager.class.js.map +0 -1
- package/dist/src/types/A_Module.types.d.ts +0 -17
- package/dist/src/types/A_Module.types.js +0 -22
- package/dist/src/types/A_Module.types.js.map +0 -1
- package/examples/entity/concept.ts +0 -68
- package/examples/entity/entities/Task.entity.ts +0 -110
- package/examples/entity/entities/User.entity.ts +0 -62
- package/examples/fe-be/channels/Test.channel.ts +0 -27
- package/examples/fe-be/components/BE-Controller.component.ts +0 -20
- package/examples/fe-be/components/FE.component.ts +0 -13
- package/examples/fe-be/containers/ServerApp.container.ts +0 -8
- package/examples/fe-be/containers/WebApp.container.ts +0 -13
- package/examples/multi-container/channels/Direct.channel.ts +0 -39
- package/examples/multi-container/concept.ts +0 -0
- package/examples/multi-container/containers/Command.container.ts +0 -41
- package/examples/multi-container/containers/Schedule.container.ts +0 -52
- package/examples/simple/components/A.component.ts +0 -71
- package/examples/simple/components/B.component.ts +0 -68
- package/examples/simple/concept.ts +0 -87
- package/examples/simple/containers/Main.container.ts +0 -88
- package/examples/simple/containers/Secondary.container.ts +0 -26
- package/examples/simple/context/Fragment_A.context.ts +0 -25
- package/examples/simple/context/Fragment_B.context.ts +0 -19
- package/examples/simple/entities/EntityA.entity.ts +0 -32
- package/examples/simple-http-server/components/http-error-handler.component.ts +0 -47
- package/examples/simple-http-server/components/http-request-handler.component.ts +0 -13
- package/examples/simple-http-server/concept.ts +0 -35
- package/examples/simple-http-server/containers/http-server.container.ts +0 -57
- package/examples/simple-http-server/contexts/http-request.context.ts +0 -59
- package/examples/simple-http-server/contexts/http-server.context.types.ts +0 -0
- package/examples/simple-http-server/controllers/orders.controller.ts +0 -20
- package/examples/simple-http-server/controllers/users.controller.ts +0 -104
- package/examples/simple-http-server/test.ts +0 -290
- package/src/base/A-Config/A-Config.container.ts +0 -68
- package/src/base/A-Config/A-Config.context.ts +0 -114
- package/src/base/A-Config/A-Config.types.ts +0 -28
- package/src/base/A-Config/components/ConfigReader.component.ts +0 -68
- package/src/base/A-Config/components/ENVConfigReader.component.ts +0 -31
- package/src/base/A-Config/components/FileConfigReader.component.ts +0 -41
- package/src/base/A-Errors/A-Error.entity.ts +0 -10
- package/src/base/A-Errors/A-Errors.component.ts +0 -103
- package/src/base/A-Errors/A-Errors.context.ts +0 -90
- package/src/base/A-Errors/A-Errors.types.ts +0 -6
- package/src/base/A-Logger/A-Logger.component.ts +0 -192
- package/src/base/A-Logger/A-Logger.types.ts +0 -0
- package/src/base/A-Polyfill/A-Polyfill.component.ts +0 -18
- package/src/decorators/A-Abstraction/A-Abstraction-Extend.decorator.ts +0 -81
- package/src/decorators/A-Abstraction/A-Abstraction.decorator.types.ts +0 -21
- package/src/decorators/A-Connect/A-Connect.decorator.ts +0 -71
- package/src/decorators/A-Connect/A-Connect.decorator.types.ts +0 -6
- package/src/decorators/A-Entity/A-Entity-List.decorator.ts +0 -12
- package/src/decorators/A-Entity/A-Entity.decorator.types.ts +0 -18
- package/src/decorators/A-Feature/A-Feature-Extend.decorator.ts +0 -151
- package/src/decorators/A-Feature/A-Feature.decorator.types.ts +0 -142
- package/src/decorators/A-Inject/A-Inject.decorator.ts +0 -119
- package/src/decorators/A-Inject/A-Inject.decorator.types.ts +0 -85
- package/src/global/A-Channel/A-Channel.class.ts +0 -111
- package/src/global/A-Channel/A-Channel.types.ts +0 -114
- package/src/global/A-Command/A-Command.class.ts +0 -419
- package/src/global/A-Command/A-Command.constants.ts +0 -27
- package/src/global/A-Command/A-Command.meta.ts +0 -22
- package/src/global/A-Command/A-Command.types.ts +0 -73
- package/src/global/A-Command/context/A_Command.context.ts +0 -114
- package/src/global/A-Concept/A_Concept.class.ts +0 -298
- package/src/global/A-Concept/A_Concept.meta.ts +0 -32
- package/src/global/A-Concept/A_Concept.types.ts +0 -143
- package/src/global/A-Feature/A-FeatureCaller.class.ts +0 -38
- package/src/types/A_Module.types.ts +0 -23
- package/tests/A-Command.test.ts +0 -133
- package/tests/A-Config.test.ts +0 -172
- /package/dist/src/global/A-Concept/{A_Concept.meta.d.ts → A-Concept.meta.d.ts} +0 -0
- /package/dist/src/{base/A-Logger/A-Logger.types.d.ts → global/ASEID/ASEID.constants.d.ts} +0 -0
- /package/{examples/fe-be/concept.ts → src/global/ASEID/ASEID.constants.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export * from './src/constants/env.constants';
|
|
2
2
|
export { A_Context } from './src/global/A-Context/A-Context.class';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export {
|
|
6
|
-
export
|
|
7
|
-
export * from './src/global/A-Concept/A_Concept.types';
|
|
3
|
+
export * from './src/global/A-Context/A-Context.types';
|
|
4
|
+
export { A_Concept } from './src/global/A-Concept/A-Concept.class';
|
|
5
|
+
export { A_ConceptMeta } from './src/global/A-Concept/A-Concept.meta';
|
|
6
|
+
export * from './src/global/A-Concept/A-Concept.types';
|
|
8
7
|
export { A_Container } from './src/global/A-Container/A-Container.class';
|
|
9
8
|
export { A_ContainerMeta } from './src/global/A-Container/A-Container.meta';
|
|
10
9
|
export * from './src/global/A-Container/A-Container.class';
|
|
@@ -13,39 +12,32 @@ export { A_ComponentMeta } from './src/global/A-Component/A-Component.meta';
|
|
|
13
12
|
export * from './src/global/A-Component/A-Component.types';
|
|
14
13
|
export { A_Entity } from './src/global/A-Entity/A-Entity.class';
|
|
15
14
|
export * from './src/global/A-Entity/A-Entity.types';
|
|
16
|
-
export {
|
|
17
|
-
export
|
|
15
|
+
export { A_Abstraction } from './src/global/A-Abstraction/A-Abstraction.class';
|
|
16
|
+
export { A_AbstractionError } from './src/global/A-Abstraction/A-Abstraction.error';
|
|
17
|
+
export * from './src/global/A-Abstraction/A-Abstraction.types';
|
|
18
|
+
export { A_Caller } from './src/global/A-Caller/A_Caller.class';
|
|
19
|
+
export { A_CallerError } from './src/global/A-Caller/A_Caller.error';
|
|
20
|
+
export * from './src/global/A-Caller/A_Caller.types';
|
|
21
|
+
export { A_Error } from './src/global/A-Error/A_Error.class';
|
|
22
|
+
export * from './src/global/A-Error/A_Error.types';
|
|
23
|
+
export { ASEID } from './src/global/ASEID/ASEID.class';
|
|
24
|
+
export { ASEID_Error } from './src/global/ASEID/ASEID.error';
|
|
25
|
+
export * from './src/global/ASEID/ASEID.types';
|
|
18
26
|
export { A_Feature } from './src/global/A-Feature/A-Feature.class';
|
|
19
|
-
export {
|
|
27
|
+
export { A_FeatureError } from './src/global/A-Feature/A-Feature.error';
|
|
20
28
|
export * from './src/global/A-Feature/A-Feature.types';
|
|
21
29
|
export { A_Stage } from './src/global/A-Stage/A-Stage.class';
|
|
30
|
+
export { A_StageError } from './src/global/A-Stage/A-Stage.error';
|
|
22
31
|
export * from './src/global/A-Stage/A-Stage.types';
|
|
23
32
|
export { A_Scope } from './src/global/A-Scope/A-Scope.class';
|
|
33
|
+
export { A_ScopeError } from './src/global/A-Scope/A-Scope.error';
|
|
24
34
|
export * from './src/global/A-Scope/A-Scope.types';
|
|
25
35
|
export { A_Meta } from './src/global/A-Meta/A-Meta.class';
|
|
36
|
+
export * from './src/global/A-Meta/A-Meta.types';
|
|
26
37
|
export { A_Fragment } from './src/global/A-Fragment/A-Fragment.class';
|
|
27
38
|
export * from './src/global/A-Fragment/A-Fragment.types';
|
|
28
|
-
export { A_Inject } from './src/
|
|
29
|
-
export * from './src/
|
|
30
|
-
export { A_Feature_Define } from './src/
|
|
31
|
-
export { A_Feature_Extend } from './src/
|
|
32
|
-
export
|
|
33
|
-
export { A_Abstraction_Extend } from './src/decorators/A-Abstraction/A-Abstraction-Extend.decorator';
|
|
34
|
-
export * from './src/decorators/A-Abstraction/A-Abstraction.decorator.types';
|
|
35
|
-
export { A_Connect } from './src/decorators/A-Connect/A-Connect.decorator';
|
|
36
|
-
export * from './src/decorators/A-Connect/A-Connect.decorator.types';
|
|
37
|
-
export { A_ConfigLoader } from './src/base/A-Config/A-Config.container';
|
|
38
|
-
export { A_Config } from './src/base/A-Config/A-Config.context';
|
|
39
|
-
export * from './src/base/A-Config/A-Config.types';
|
|
40
|
-
export { ConfigReader } from './src/base/A-Config/components/ConfigReader.component';
|
|
41
|
-
export { ENVConfigReader } from './src/base/A-Config/components/ENVConfigReader.component';
|
|
42
|
-
export { FileConfigReader } from './src/base/A-Config/components/FileConfigReader.component';
|
|
43
|
-
export * from './src/base/A-Config/A-Config.types';
|
|
44
|
-
export * from './src/base/A-Logger/A-Logger.component';
|
|
45
|
-
export { A_Command } from './src/global/A-Command/A-Command.class';
|
|
46
|
-
export * from './src/global/A-Command/A-Command.types';
|
|
47
|
-
export * from './src/global/A-Command/A-Command.constants';
|
|
48
|
-
export { A_CommandContext } from './src/global/A-Command/context/A_Command.context';
|
|
49
|
-
export { A_ErrorsManager } from './src/base/A-Errors/A-Errors.component';
|
|
50
|
-
export { A_Errors } from './src/base/A-Errors/A-Errors.context';
|
|
51
|
-
export * from './src/base/A-Errors/A-Errors.types';
|
|
39
|
+
export { A_Inject } from './src/global/A-Inject/A-Inject.decorator';
|
|
40
|
+
export * from './src/global/A-Inject/A-Inject.types';
|
|
41
|
+
export { A_Feature_Define } from './src/global/A-Feature/A-Feature-Define.decorator';
|
|
42
|
+
export { A_Feature_Extend } from './src/global/A-Feature/A-Feature-Extend.decorator';
|
|
43
|
+
export { A_Abstraction_Extend } from './src/global/A-Abstraction/A-Abstraction-Extend.decorator';
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
17
|
+
exports.A_Abstraction_Extend = exports.A_Feature_Extend = exports.A_Feature_Define = exports.A_Inject = exports.A_Fragment = exports.A_Meta = exports.A_ScopeError = exports.A_Scope = exports.A_StageError = exports.A_Stage = exports.A_FeatureError = exports.A_Feature = exports.ASEID_Error = exports.ASEID = exports.A_Error = exports.A_CallerError = exports.A_Caller = exports.A_AbstractionError = exports.A_Abstraction = exports.A_Entity = exports.A_ComponentMeta = exports.A_Component = exports.A_ContainerMeta = exports.A_Container = exports.A_ConceptMeta = exports.A_Concept = exports.A_Context = void 0;
|
|
18
18
|
// =================================================================================================
|
|
19
19
|
// ============================= Export Framework Components =======================================
|
|
20
20
|
// =================================================================================================
|
|
@@ -22,15 +22,12 @@ __exportStar(require("./src/constants/env.constants"), exports);
|
|
|
22
22
|
// ---------------------- Major Components ----------------------
|
|
23
23
|
var A_Context_class_1 = require("./src/global/A-Context/A-Context.class");
|
|
24
24
|
Object.defineProperty(exports, "A_Context", { enumerable: true, get: function () { return A_Context_class_1.A_Context; } });
|
|
25
|
-
|
|
26
|
-
var
|
|
27
|
-
Object.defineProperty(exports, "A_Abstraction", { enumerable: true, get: function () { return A_Abstraction_class_1.A_Abstraction; } });
|
|
28
|
-
__exportStar(require("./src/global/A-Abstraction/A-Abstraction.types"), exports);
|
|
29
|
-
var A_Concept_class_1 = require("./src/global/A-Concept/A_Concept.class");
|
|
25
|
+
__exportStar(require("./src/global/A-Context/A-Context.types"), exports);
|
|
26
|
+
var A_Concept_class_1 = require("./src/global/A-Concept/A-Concept.class");
|
|
30
27
|
Object.defineProperty(exports, "A_Concept", { enumerable: true, get: function () { return A_Concept_class_1.A_Concept; } });
|
|
31
|
-
var A_Concept_meta_1 = require("./src/global/A-Concept/
|
|
28
|
+
var A_Concept_meta_1 = require("./src/global/A-Concept/A-Concept.meta");
|
|
32
29
|
Object.defineProperty(exports, "A_ConceptMeta", { enumerable: true, get: function () { return A_Concept_meta_1.A_ConceptMeta; } });
|
|
33
|
-
__exportStar(require("./src/global/A-Concept/
|
|
30
|
+
__exportStar(require("./src/global/A-Concept/A-Concept.types"), exports);
|
|
34
31
|
var A_Container_class_1 = require("./src/global/A-Container/A-Container.class");
|
|
35
32
|
Object.defineProperty(exports, "A_Container", { enumerable: true, get: function () { return A_Container_class_1.A_Container; } });
|
|
36
33
|
var A_Container_meta_1 = require("./src/global/A-Container/A-Container.meta");
|
|
@@ -45,69 +42,55 @@ var A_Entity_class_1 = require("./src/global/A-Entity/A-Entity.class");
|
|
|
45
42
|
Object.defineProperty(exports, "A_Entity", { enumerable: true, get: function () { return A_Entity_class_1.A_Entity; } });
|
|
46
43
|
__exportStar(require("./src/global/A-Entity/A-Entity.types"), exports);
|
|
47
44
|
// ---------------------- Common Components ----------------------
|
|
48
|
-
var
|
|
49
|
-
Object.defineProperty(exports, "
|
|
50
|
-
|
|
45
|
+
var A_Abstraction_class_1 = require("./src/global/A-Abstraction/A-Abstraction.class");
|
|
46
|
+
Object.defineProperty(exports, "A_Abstraction", { enumerable: true, get: function () { return A_Abstraction_class_1.A_Abstraction; } });
|
|
47
|
+
var A_Abstraction_error_1 = require("./src/global/A-Abstraction/A-Abstraction.error");
|
|
48
|
+
Object.defineProperty(exports, "A_AbstractionError", { enumerable: true, get: function () { return A_Abstraction_error_1.A_AbstractionError; } });
|
|
49
|
+
__exportStar(require("./src/global/A-Abstraction/A-Abstraction.types"), exports);
|
|
50
|
+
var A_Caller_class_1 = require("./src/global/A-Caller/A_Caller.class");
|
|
51
|
+
Object.defineProperty(exports, "A_Caller", { enumerable: true, get: function () { return A_Caller_class_1.A_Caller; } });
|
|
52
|
+
var A_Caller_error_1 = require("./src/global/A-Caller/A_Caller.error");
|
|
53
|
+
Object.defineProperty(exports, "A_CallerError", { enumerable: true, get: function () { return A_Caller_error_1.A_CallerError; } });
|
|
54
|
+
__exportStar(require("./src/global/A-Caller/A_Caller.types"), exports);
|
|
55
|
+
var A_Error_class_1 = require("./src/global/A-Error/A_Error.class");
|
|
56
|
+
Object.defineProperty(exports, "A_Error", { enumerable: true, get: function () { return A_Error_class_1.A_Error; } });
|
|
57
|
+
__exportStar(require("./src/global/A-Error/A_Error.types"), exports);
|
|
58
|
+
var ASEID_class_1 = require("./src/global/ASEID/ASEID.class");
|
|
59
|
+
Object.defineProperty(exports, "ASEID", { enumerable: true, get: function () { return ASEID_class_1.ASEID; } });
|
|
60
|
+
var ASEID_error_1 = require("./src/global/ASEID/ASEID.error");
|
|
61
|
+
Object.defineProperty(exports, "ASEID_Error", { enumerable: true, get: function () { return ASEID_error_1.ASEID_Error; } });
|
|
62
|
+
__exportStar(require("./src/global/ASEID/ASEID.types"), exports);
|
|
51
63
|
var A_Feature_class_1 = require("./src/global/A-Feature/A-Feature.class");
|
|
52
64
|
Object.defineProperty(exports, "A_Feature", { enumerable: true, get: function () { return A_Feature_class_1.A_Feature; } });
|
|
53
|
-
var
|
|
54
|
-
Object.defineProperty(exports, "
|
|
65
|
+
var A_Feature_error_1 = require("./src/global/A-Feature/A-Feature.error");
|
|
66
|
+
Object.defineProperty(exports, "A_FeatureError", { enumerable: true, get: function () { return A_Feature_error_1.A_FeatureError; } });
|
|
55
67
|
__exportStar(require("./src/global/A-Feature/A-Feature.types"), exports);
|
|
56
68
|
var A_Stage_class_1 = require("./src/global/A-Stage/A-Stage.class");
|
|
57
69
|
Object.defineProperty(exports, "A_Stage", { enumerable: true, get: function () { return A_Stage_class_1.A_Stage; } });
|
|
70
|
+
var A_Stage_error_1 = require("./src/global/A-Stage/A-Stage.error");
|
|
71
|
+
Object.defineProperty(exports, "A_StageError", { enumerable: true, get: function () { return A_Stage_error_1.A_StageError; } });
|
|
58
72
|
__exportStar(require("./src/global/A-Stage/A-Stage.types"), exports);
|
|
59
73
|
var A_Scope_class_1 = require("./src/global/A-Scope/A-Scope.class");
|
|
60
74
|
Object.defineProperty(exports, "A_Scope", { enumerable: true, get: function () { return A_Scope_class_1.A_Scope; } });
|
|
75
|
+
var A_Scope_error_1 = require("./src/global/A-Scope/A-Scope.error");
|
|
76
|
+
Object.defineProperty(exports, "A_ScopeError", { enumerable: true, get: function () { return A_Scope_error_1.A_ScopeError; } });
|
|
61
77
|
__exportStar(require("./src/global/A-Scope/A-Scope.types"), exports);
|
|
62
78
|
var A_Meta_class_1 = require("./src/global/A-Meta/A-Meta.class");
|
|
63
79
|
Object.defineProperty(exports, "A_Meta", { enumerable: true, get: function () { return A_Meta_class_1.A_Meta; } });
|
|
64
|
-
|
|
80
|
+
__exportStar(require("./src/global/A-Meta/A-Meta.types"), exports);
|
|
65
81
|
var A_Fragment_class_1 = require("./src/global/A-Fragment/A-Fragment.class");
|
|
66
82
|
Object.defineProperty(exports, "A_Fragment", { enumerable: true, get: function () { return A_Fragment_class_1.A_Fragment; } });
|
|
67
83
|
__exportStar(require("./src/global/A-Fragment/A-Fragment.types"), exports);
|
|
68
84
|
// =================================================================================================
|
|
69
85
|
// =============================== Export Decorators ============================================
|
|
70
86
|
// =================================================================================================
|
|
71
|
-
var A_Inject_decorator_1 = require("./src/
|
|
87
|
+
var A_Inject_decorator_1 = require("./src/global/A-Inject/A-Inject.decorator");
|
|
72
88
|
Object.defineProperty(exports, "A_Inject", { enumerable: true, get: function () { return A_Inject_decorator_1.A_Inject; } });
|
|
73
|
-
__exportStar(require("./src/
|
|
74
|
-
var A_Feature_Define_decorator_1 = require("./src/
|
|
89
|
+
__exportStar(require("./src/global/A-Inject/A-Inject.types"), exports);
|
|
90
|
+
var A_Feature_Define_decorator_1 = require("./src/global/A-Feature/A-Feature-Define.decorator");
|
|
75
91
|
Object.defineProperty(exports, "A_Feature_Define", { enumerable: true, get: function () { return A_Feature_Define_decorator_1.A_Feature_Define; } });
|
|
76
|
-
var A_Feature_Extend_decorator_1 = require("./src/
|
|
92
|
+
var A_Feature_Extend_decorator_1 = require("./src/global/A-Feature/A-Feature-Extend.decorator");
|
|
77
93
|
Object.defineProperty(exports, "A_Feature_Extend", { enumerable: true, get: function () { return A_Feature_Extend_decorator_1.A_Feature_Extend; } });
|
|
78
|
-
|
|
79
|
-
var A_Abstraction_Extend_decorator_1 = require("./src/decorators/A-Abstraction/A-Abstraction-Extend.decorator");
|
|
94
|
+
var A_Abstraction_Extend_decorator_1 = require("./src/global/A-Abstraction/A-Abstraction-Extend.decorator");
|
|
80
95
|
Object.defineProperty(exports, "A_Abstraction_Extend", { enumerable: true, get: function () { return A_Abstraction_Extend_decorator_1.A_Abstraction_Extend; } });
|
|
81
|
-
__exportStar(require("./src/decorators/A-Abstraction/A-Abstraction.decorator.types"), exports);
|
|
82
|
-
var A_Connect_decorator_1 = require("./src/decorators/A-Connect/A-Connect.decorator");
|
|
83
|
-
Object.defineProperty(exports, "A_Connect", { enumerable: true, get: function () { return A_Connect_decorator_1.A_Connect; } });
|
|
84
|
-
__exportStar(require("./src/decorators/A-Connect/A-Connect.decorator.types"), exports);
|
|
85
|
-
// =================================================================================================
|
|
86
|
-
// =============================== Export Base Entities ============================================
|
|
87
|
-
// =================================================================================================
|
|
88
|
-
var A_Config_container_1 = require("./src/base/A-Config/A-Config.container");
|
|
89
|
-
Object.defineProperty(exports, "A_ConfigLoader", { enumerable: true, get: function () { return A_Config_container_1.A_ConfigLoader; } });
|
|
90
|
-
var A_Config_context_1 = require("./src/base/A-Config/A-Config.context");
|
|
91
|
-
Object.defineProperty(exports, "A_Config", { enumerable: true, get: function () { return A_Config_context_1.A_Config; } });
|
|
92
|
-
__exportStar(require("./src/base/A-Config/A-Config.types"), exports);
|
|
93
|
-
var ConfigReader_component_1 = require("./src/base/A-Config/components/ConfigReader.component");
|
|
94
|
-
Object.defineProperty(exports, "ConfigReader", { enumerable: true, get: function () { return ConfigReader_component_1.ConfigReader; } });
|
|
95
|
-
var ENVConfigReader_component_1 = require("./src/base/A-Config/components/ENVConfigReader.component");
|
|
96
|
-
Object.defineProperty(exports, "ENVConfigReader", { enumerable: true, get: function () { return ENVConfigReader_component_1.ENVConfigReader; } });
|
|
97
|
-
var FileConfigReader_component_1 = require("./src/base/A-Config/components/FileConfigReader.component");
|
|
98
|
-
Object.defineProperty(exports, "FileConfigReader", { enumerable: true, get: function () { return FileConfigReader_component_1.FileConfigReader; } });
|
|
99
|
-
__exportStar(require("./src/base/A-Config/A-Config.types"), exports);
|
|
100
|
-
__exportStar(require("./src/base/A-Logger/A-Logger.component"), exports);
|
|
101
|
-
// export * from './src/base/A-Logger/A-Logger.types';
|
|
102
|
-
var A_Command_class_1 = require("./src/global/A-Command/A-Command.class");
|
|
103
|
-
Object.defineProperty(exports, "A_Command", { enumerable: true, get: function () { return A_Command_class_1.A_Command; } });
|
|
104
|
-
__exportStar(require("./src/global/A-Command/A-Command.types"), exports);
|
|
105
|
-
__exportStar(require("./src/global/A-Command/A-Command.constants"), exports);
|
|
106
|
-
var A_Command_context_1 = require("./src/global/A-Command/context/A_Command.context");
|
|
107
|
-
Object.defineProperty(exports, "A_CommandContext", { enumerable: true, get: function () { return A_Command_context_1.A_CommandContext; } });
|
|
108
|
-
var A_Errors_component_1 = require("./src/base/A-Errors/A-Errors.component");
|
|
109
|
-
Object.defineProperty(exports, "A_ErrorsManager", { enumerable: true, get: function () { return A_Errors_component_1.A_ErrorsManager; } });
|
|
110
|
-
var A_Errors_context_1 = require("./src/base/A-Errors/A-Errors.context");
|
|
111
|
-
Object.defineProperty(exports, "A_Errors", { enumerable: true, get: function () { return A_Errors_context_1.A_Errors; } });
|
|
112
|
-
__exportStar(require("./src/base/A-Errors/A-Errors.types"), exports);
|
|
113
96
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oGAAoG;AACpG,oGAAoG;AACpG,oGAAoG;AACpG,gEAA8C;AAE9C,iEAAiE;AACjE,0EAAmE;AAA1D,4GAAA,SAAS,OAAA;AAClB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oGAAoG;AACpG,oGAAoG;AACpG,oGAAoG;AACpG,gEAA8C;AAE9C,iEAAiE;AACjE,0EAAmE;AAA1D,4GAAA,SAAS,OAAA;AAClB,yEAAuD;AAEvD,0EAAmE;AAA1D,4GAAA,SAAS,OAAA;AAClB,wEAAsE;AAA7D,+GAAA,aAAa,OAAA;AACtB,yEAAuD;AAEvD,gFAAyE;AAAhE,gHAAA,WAAW,OAAA;AACpB,8EAA4E;AAAnE,mHAAA,eAAe,OAAA;AACxB,6EAA2D;AAE3D,gFAAyE;AAAhE,gHAAA,WAAW,OAAA;AACpB,8EAA4E;AAAnE,mHAAA,eAAe,OAAA;AACxB,6EAA2D;AAE3D,uEAAgE;AAAvD,0GAAA,QAAQ,OAAA;AACjB,uEAAqD;AAGrD,kEAAkE;AAClE,sFAA+E;AAAtE,oHAAA,aAAa,OAAA;AACtB,sFAAoF;AAA3E,yHAAA,kBAAkB,OAAA;AAC3B,iFAA+D;AAE/D,uEAAgE;AAAvD,0GAAA,QAAQ,OAAA;AACjB,uEAAqE;AAA5D,+GAAA,aAAa,OAAA;AACtB,uEAAqD;AAErD,oEAA6D;AAApD,wGAAA,OAAO,OAAA;AAChB,qEAAmD;AAEnD,8DAAuD;AAA9C,oGAAA,KAAK,OAAA;AACd,8DAA6D;AAApD,0GAAA,WAAW,OAAA;AACpB,iEAA+C;AAE/C,0EAAmE;AAA1D,4GAAA,SAAS,OAAA;AAClB,0EAAwE;AAA/D,iHAAA,cAAc,OAAA;AACvB,yEAAuD;AAEvD,oEAA6D;AAApD,wGAAA,OAAO,OAAA;AAChB,oEAAkE;AAAzD,6GAAA,YAAY,OAAA;AACrB,qEAAmD;AAEnD,oEAA6D;AAApD,wGAAA,OAAO,OAAA;AAChB,oEAAkE;AAAzD,6GAAA,YAAY,OAAA;AACrB,qEAAmD;AAEnD,iEAA0D;AAAjD,sGAAA,MAAM,OAAA;AACf,mEAAiD;AAEjD,6EAAsE;AAA7D,8GAAA,UAAU,OAAA;AACnB,2EAAyD;AAGzD,oGAAoG;AACpG,iGAAiG;AACjG,oGAAoG;AACpG,+EAAoE;AAA3D,8GAAA,QAAQ,OAAA;AACjB,uEAAqD;AACrD,gGAAqF;AAA5E,8HAAA,gBAAgB,OAAA;AACzB,gGAAqF;AAA5E,8HAAA,gBAAgB,OAAA;AACzB,4GAAiG;AAAxF,sIAAA,oBAAoB,OAAA"}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
export declare const A_CONSTANTS__DEFAULT_ENV_VARIABLES: {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Name of the application
|
|
4
|
+
*
|
|
5
|
+
* DEFAULT value is 'a-concept'
|
|
6
|
+
*
|
|
4
7
|
* [!] Provided name will be used for all aseids in the application by default
|
|
5
8
|
*/
|
|
6
|
-
readonly
|
|
9
|
+
readonly A_CONCEPT_NAME: "A_CONCEPT_NAME";
|
|
7
10
|
/**
|
|
8
|
-
*
|
|
11
|
+
* Root scope of the application
|
|
12
|
+
*
|
|
13
|
+
* DEFAULT value is 'root'
|
|
14
|
+
*
|
|
9
15
|
* [!] Provided name will be used for all aseids in the application by default
|
|
10
16
|
*/
|
|
11
|
-
readonly
|
|
17
|
+
readonly A_CONCEPT_ROOT_SCOPE: "A_CONCEPT_ROOT_SCOPE";
|
|
12
18
|
/**
|
|
13
19
|
* Environment of the application e.g. development, production, staging
|
|
14
20
|
*/
|
|
@@ -18,9 +24,10 @@ export declare const A_CONSTANTS__DEFAULT_ENV_VARIABLES: {
|
|
|
18
24
|
* [!] Automatically set by A-Concept when the application starts
|
|
19
25
|
*/
|
|
20
26
|
readonly A_CONCEPT_ROOT_FOLDER: "A_CONCEPT_ROOT_FOLDER";
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Allows to define a default error description for errors thrown without a description
|
|
29
|
+
*/
|
|
30
|
+
readonly A_ERROR_DEFAULT_DESCRIPTION: "A_ERROR_DEFAULT_DESCRIPTION";
|
|
24
31
|
};
|
|
25
32
|
export type A_TYPES__ConceptENVVariables = (typeof A_CONSTANTS__DEFAULT_ENV_VARIABLES)[keyof typeof A_CONSTANTS__DEFAULT_ENV_VARIABLES][];
|
|
26
|
-
export declare const A_CONSTANTS__DEFAULT_ENV_VARIABLES_ARRAY: readonly ["
|
|
33
|
+
export declare const A_CONSTANTS__DEFAULT_ENV_VARIABLES_ARRAY: readonly ["A_CONCEPT_NAME", "A_CONCEPT_ROOT_SCOPE", "A_CONCEPT_ENVIRONMENT", "A_CONCEPT_ROOT_FOLDER", "A_ERROR_DEFAULT_DESCRIPTION"];
|
|
@@ -8,15 +8,21 @@ exports.A_CONSTANTS__DEFAULT_ENV_VARIABLES = {
|
|
|
8
8
|
// These environment variables are used by A-Concept core to configure the application
|
|
9
9
|
// ----------------------------------------------------------
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Name of the application
|
|
12
|
+
*
|
|
13
|
+
* DEFAULT value is 'a-concept'
|
|
14
|
+
*
|
|
12
15
|
* [!] Provided name will be used for all aseids in the application by default
|
|
13
16
|
*/
|
|
14
|
-
|
|
17
|
+
A_CONCEPT_NAME: 'A_CONCEPT_NAME',
|
|
15
18
|
/**
|
|
16
|
-
*
|
|
19
|
+
* Root scope of the application
|
|
20
|
+
*
|
|
21
|
+
* DEFAULT value is 'root'
|
|
22
|
+
*
|
|
17
23
|
* [!] Provided name will be used for all aseids in the application by default
|
|
18
24
|
*/
|
|
19
|
-
|
|
25
|
+
A_CONCEPT_ROOT_SCOPE: 'A_CONCEPT_ROOT_SCOPE',
|
|
20
26
|
/**
|
|
21
27
|
* Environment of the application e.g. development, production, staging
|
|
22
28
|
*/
|
|
@@ -26,15 +32,16 @@ exports.A_CONSTANTS__DEFAULT_ENV_VARIABLES = {
|
|
|
26
32
|
* [!] Automatically set by A-Concept when the application starts
|
|
27
33
|
*/
|
|
28
34
|
A_CONCEPT_ROOT_FOLDER: 'A_CONCEPT_ROOT_FOLDER',
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Allows to define a default error description for errors thrown without a description
|
|
37
|
+
*/
|
|
38
|
+
A_ERROR_DEFAULT_DESCRIPTION: 'A_ERROR_DEFAULT_DESCRIPTION',
|
|
32
39
|
};
|
|
33
40
|
exports.A_CONSTANTS__DEFAULT_ENV_VARIABLES_ARRAY = [
|
|
34
|
-
exports.A_CONSTANTS__DEFAULT_ENV_VARIABLES.
|
|
41
|
+
exports.A_CONSTANTS__DEFAULT_ENV_VARIABLES.A_CONCEPT_NAME,
|
|
42
|
+
exports.A_CONSTANTS__DEFAULT_ENV_VARIABLES.A_CONCEPT_ROOT_SCOPE,
|
|
35
43
|
exports.A_CONSTANTS__DEFAULT_ENV_VARIABLES.A_CONCEPT_ENVIRONMENT,
|
|
36
44
|
exports.A_CONSTANTS__DEFAULT_ENV_VARIABLES.A_CONCEPT_ROOT_FOLDER,
|
|
37
|
-
exports.A_CONSTANTS__DEFAULT_ENV_VARIABLES.
|
|
38
|
-
exports.A_CONSTANTS__DEFAULT_ENV_VARIABLES.CONFIG_IGNORE_ERRORS,
|
|
45
|
+
exports.A_CONSTANTS__DEFAULT_ENV_VARIABLES.A_ERROR_DEFAULT_DESCRIPTION,
|
|
39
46
|
];
|
|
40
47
|
//# sourceMappingURL=env.constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env.constants.js","sourceRoot":"","sources":["../../../src/constants/env.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,kCAAkC,GAAG;IAC9C,6DAA6D;IAC7D,uCAAuC;IACvC,6DAA6D;IAC7D,sFAAsF;IACtF,6DAA6D;IAC7D
|
|
1
|
+
{"version":3,"file":"env.constants.js","sourceRoot":"","sources":["../../../src/constants/env.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,kCAAkC,GAAG;IAC9C,6DAA6D;IAC7D,uCAAuC;IACvC,6DAA6D;IAC7D,sFAAsF;IACtF,6DAA6D;IAC7D;;;;;;OAMG;IACH,cAAc,EAAE,gBAAgB;IAChC;;;;;;OAMG;IACH,oBAAoB,EAAE,sBAAsB;IAC5C;;OAEG;IACH,qBAAqB,EAAE,uBAAuB;IAC9C;;;OAGG;IACH,qBAAqB,EAAE,uBAAuB;IAC9C;;OAEG;IACH,2BAA2B,EAAE,6BAA6B;CACpD,CAAA;AAOG,QAAA,wCAAwC,GAAG;IACpD,0CAAkC,CAAC,cAAc;IACjD,0CAAkC,CAAC,oBAAoB;IACvD,0CAAkC,CAAC,qBAAqB;IACxD,0CAAkC,CAAC,qBAAqB;IAExD,0CAAkC,CAAC,2BAA2B;CACxD,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { A_TYPES__AbstractionDecoratorConfig, A_TYPES__AbstractionDecoratorDescriptor } from "./A-Abstraction.types";
|
|
2
|
+
import { A_Component } from "../A-Component/A-Component.class";
|
|
3
|
+
import { A_Container } from "../A-Container/A-Container.class";
|
|
4
|
+
import { A_TYPES__ConceptAbstractions } from "../A-Concept/A-Concept.constants";
|
|
5
|
+
/**
|
|
6
|
+
* A-Abstraction Extend decorator allows to extends behavior of each concept abstraction execution.
|
|
7
|
+
* In case some components or containers requires to extend the behavior of the abstraction like 'start', 'build' or 'deploy'
|
|
8
|
+
* for example, this decorator allows to do so.
|
|
9
|
+
*
|
|
10
|
+
* @param name - abstraction name
|
|
11
|
+
* @param config - configuration of the abstraction extension
|
|
12
|
+
* @returns
|
|
13
|
+
*/
|
|
14
|
+
export declare function A_Abstraction_Extend(
|
|
15
|
+
/**
|
|
16
|
+
* Name of the Concept Abstraction to extend
|
|
17
|
+
*/
|
|
18
|
+
name: A_TYPES__ConceptAbstractions,
|
|
19
|
+
/**
|
|
20
|
+
* Configuration of the Abstraction Extension
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
config?: Partial<A_TYPES__AbstractionDecoratorConfig>): (target: A_Container | A_Component, propertyKey: string, descriptor: A_TYPES__AbstractionDecoratorDescriptor) => void;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.A_Abstraction_Extend = A_Abstraction_Extend;
|
|
4
|
+
const A_Context_class_1 = require("../A-Context/A-Context.class");
|
|
5
|
+
const A_Meta_class_1 = require("../A-Meta/A-Meta.class");
|
|
6
|
+
const A_Container_constants_1 = require("../A-Container/A-Container.constants");
|
|
7
|
+
const A_Component_constants_1 = require("../A-Component/A-Component.constants");
|
|
8
|
+
const A_Abstraction_error_1 = require("./A-Abstraction.error");
|
|
9
|
+
const A_TypeGuards_helper_1 = require("../../helpers/A_TypeGuards.helper");
|
|
10
|
+
/**
|
|
11
|
+
* A-Abstraction Extend decorator allows to extends behavior of each concept abstraction execution.
|
|
12
|
+
* In case some components or containers requires to extend the behavior of the abstraction like 'start', 'build' or 'deploy'
|
|
13
|
+
* for example, this decorator allows to do so.
|
|
14
|
+
*
|
|
15
|
+
* @param name - abstraction name
|
|
16
|
+
* @param config - configuration of the abstraction extension
|
|
17
|
+
* @returns
|
|
18
|
+
*/
|
|
19
|
+
function A_Abstraction_Extend(
|
|
20
|
+
/**
|
|
21
|
+
* Name of the Concept Abstraction to extend
|
|
22
|
+
*/
|
|
23
|
+
name,
|
|
24
|
+
/**
|
|
25
|
+
* Configuration of the Abstraction Extension
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
config = {}) {
|
|
29
|
+
return function (target, propertyKey, descriptor) {
|
|
30
|
+
var _a;
|
|
31
|
+
// for error messages
|
|
32
|
+
const componentName = ((_a = target === null || target === void 0 ? void 0 : target.constructor) === null || _a === void 0 ? void 0 : _a.name) || String(target) || 'UnknownComponent';
|
|
33
|
+
if (!name)
|
|
34
|
+
throw new A_Abstraction_error_1.A_AbstractionError(A_Abstraction_error_1.A_AbstractionError.AbstractionExtensionError, `Abstraction name must be provided to extend abstraction for '${componentName}'.`);
|
|
35
|
+
// Only Containers and Components can extend Concept Abstractions
|
|
36
|
+
if (!A_TypeGuards_helper_1.A_TypeGuards.isConstructorAvailableForAbstraction(target)) {
|
|
37
|
+
throw new A_Abstraction_error_1.A_AbstractionError(A_Abstraction_error_1.A_AbstractionError.AbstractionExtensionError, `Unable to extend Abstraction '${name}' for '${componentName}'. Only A-Containers and A-Components can extend Abstractions.`);
|
|
38
|
+
}
|
|
39
|
+
let metaKey;
|
|
40
|
+
const meta = A_Context_class_1.A_Context.meta(target);
|
|
41
|
+
switch (true) {
|
|
42
|
+
case A_TypeGuards_helper_1.A_TypeGuards.isContainerConstructor(target):
|
|
43
|
+
metaKey = A_Container_constants_1.A_TYPES__ContainerMetaKey.ABSTRACTIONS;
|
|
44
|
+
break;
|
|
45
|
+
case A_TypeGuards_helper_1.A_TypeGuards.isComponentConstructor(target):
|
|
46
|
+
metaKey = A_Component_constants_1.A_TYPES__ComponentMetaKey.ABSTRACTIONS;
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
// Get the existed metadata or create a new one
|
|
50
|
+
const existedMeta = meta.get(metaKey) || new A_Meta_class_1.A_Meta();
|
|
51
|
+
// Set the metadata of the method to define a custom Stage with name
|
|
52
|
+
const existedMetaValue = existedMeta.get(name) || [];
|
|
53
|
+
// Add the new method to the metadata
|
|
54
|
+
existedMetaValue.push({
|
|
55
|
+
name,
|
|
56
|
+
handler: propertyKey,
|
|
57
|
+
before: config.before || [],
|
|
58
|
+
after: config.after || [],
|
|
59
|
+
behavior: config.behavior || 'sync'
|
|
60
|
+
});
|
|
61
|
+
// Set the metadata of the method to define a custom Feature with name
|
|
62
|
+
existedMeta.set(name, existedMetaValue);
|
|
63
|
+
// Update the metadata of the container with the new Stage definition
|
|
64
|
+
A_Context_class_1.A_Context
|
|
65
|
+
.meta(target)
|
|
66
|
+
.set(metaKey, existedMeta);
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=A-Abstraction-Extend.decorator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"A-Abstraction-Extend.decorator.js","sourceRoot":"","sources":["../../../../src/global/A-Abstraction/A-Abstraction-Extend.decorator.ts"],"names":[],"mappings":";;AA2BA,oDA2EC;AAjGD,uFAA8E;AAI9E,8EAAqE;AAErE,qGAAsG;AACtG,qGAAsG;AAEtG,+DAA2D;AAC3D,sFAA4E;AAG5E;;;;;;;;GAQG;AACH,SAAgB,oBAAoB;AAChC;;GAEG;AACH,IAAkC;AAClC;;;GAGG;AACH,SAAuD,EAAE;IAEzD,OAAO,UACH,MAAiC,EACjC,WAAmB,EACnB,UAAmD;;QAEnD,qBAAqB;QACrB,MAAM,aAAa,GAAG,CAAA,MAAC,MAAc,aAAd,MAAM,uBAAN,MAAM,CAAU,WAAW,0CAAE,IAAI,KAAI,MAAM,CAAC,MAAM,CAAC,IAAI,kBAAkB,CAAC;QAEjG,IAAI,CAAC,IAAI;YACL,MAAM,IAAI,wCAAkB,CACxB,wCAAkB,CAAC,yBAAyB,EAC5C,gEAAgE,aAAa,IAAI,CACpF,CAAC;QAEN,kEAAkE;QAClE,IAAI,CAAC,kCAAY,CAAC,oCAAoC,CAAC,MAAM,CAAC,EAAE,CAAC;YAC7D,MAAM,IAAI,wCAAkB,CACxB,wCAAkB,CAAC,yBAAyB,EAC5C,iCAAiC,IAAI,UAAU,aAAa,gEAAgE,CAC/H,CAAC;QACN,CAAC;QAED,IAAI,OAAO,CAAC;QACZ,MAAM,IAAI,GAAsC,2BAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAEvE,QAAQ,IAAI,EAAE,CAAC;YACX,KAAK,kCAAY,CAAC,sBAAsB,CAAC,MAAM,CAAC;gBAC5C,OAAO,GAAG,iDAAyB,CAAC,YAAY,CAAA;gBAChD,MAAM;YACV,KAAK,kCAAY,CAAC,sBAAsB,CAAC,MAAM,CAAC;gBAC5C,OAAO,GAAG,iDAAyB,CAAC,YAAY,CAAA;gBAChD,MAAM;QACd,CAAC;QAED,+CAA+C;QAC/C,MAAM,WAAW,GAEZ,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,qBAAM,EAAE,CAAC;QAEvC,oEAAoE;QACpE,MAAM,gBAAgB,GAAG,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QAGrD,qCAAqC;QACrC,gBAAgB,CAAC,IAAI,CAAC;YAClB,IAAI;YACJ,OAAO,EAAE,WAAW;YACpB,MAAM,EAAE,MAAM,CAAC,MAAM,IAAI,EAAE;YAC3B,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,EAAE;YACzB,QAAQ,EAAE,MAAM,CAAC,QAAQ,IAAI,MAAM;SACtC,CAAC,CAAC;QAEH,sEAAsE;QACtE,WAAW,CAAC,GAAG,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAGxC,sEAAsE;QACtE,2BAAS;aACJ,IAAI,CAAC,MAAM,CAAC;aACZ,GAAG,CACA,OAAO,EACP,WAAW,CACd,CAAC;IACV,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -1,46 +1,73 @@
|
|
|
1
|
-
import { A_Abstraction_Extend } from "
|
|
1
|
+
import { A_Abstraction_Extend } from "./A-Abstraction-Extend.decorator";
|
|
2
2
|
import { A_Feature } from "../A-Feature/A-Feature.class";
|
|
3
|
-
import {
|
|
4
|
-
import { A_Error } from "@adaas/a-utils";
|
|
3
|
+
import { A_TYPES__Abstraction_Init } from "./A-Abstraction.types";
|
|
5
4
|
import { A_Scope } from "../A-Scope/A-Scope.class";
|
|
6
5
|
export declare class A_Abstraction {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
/**
|
|
7
|
+
* The name of the Abstraction e.g. 'deploy', 'start', 'test', etc.
|
|
8
|
+
*/
|
|
9
|
+
protected _name: string;
|
|
10
|
+
/**
|
|
11
|
+
* List of features that are part of this Abstraction
|
|
12
|
+
*/
|
|
13
|
+
protected _features: A_Feature[];
|
|
14
|
+
/**
|
|
15
|
+
* The Feature currently being processed
|
|
16
|
+
*/
|
|
9
17
|
protected _current?: A_Feature;
|
|
18
|
+
/**
|
|
19
|
+
* Actual Index of the current Feature being processed
|
|
20
|
+
*/
|
|
10
21
|
protected _index: number;
|
|
11
|
-
state: A_TYPES__AbstractionState;
|
|
12
|
-
error?: A_Error;
|
|
13
|
-
readonly Scope: A_Scope;
|
|
14
22
|
/**
|
|
15
|
-
*
|
|
23
|
+
* Allows to extends A-Abstraction with additional methods
|
|
16
24
|
*/
|
|
17
25
|
static get Extend(): typeof A_Abstraction_Extend;
|
|
26
|
+
/**
|
|
27
|
+
* A-Abstraction is an object that is common for any application.
|
|
28
|
+
* By providing components and creating abstraction extensions it's possible to create a unique behavior of the whole solution.
|
|
29
|
+
*
|
|
30
|
+
* Every application has basic abstractions like 'start', 'stop', 'deploy', 'test', etc.
|
|
31
|
+
* They can be easily extended with additional logic from both containers and components.
|
|
32
|
+
*
|
|
33
|
+
*
|
|
34
|
+
* @param params
|
|
35
|
+
*/
|
|
18
36
|
constructor(
|
|
19
37
|
/**
|
|
20
38
|
* Parameters to define the A-Abstraction
|
|
21
39
|
*/
|
|
22
|
-
params:
|
|
40
|
+
params: A_TYPES__Abstraction_Init);
|
|
41
|
+
/**
|
|
42
|
+
* Returns the name of the Abstraction
|
|
43
|
+
*/
|
|
44
|
+
get name(): string;
|
|
45
|
+
/**
|
|
46
|
+
* Returns the current Feature being processed
|
|
47
|
+
*/
|
|
23
48
|
get feature(): A_Feature | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* This method checks if the A-Feature is done
|
|
51
|
+
*
|
|
52
|
+
* @returns
|
|
53
|
+
*/
|
|
54
|
+
get isDone(): boolean;
|
|
24
55
|
[Symbol.iterator](): Iterator<A_Feature, any>;
|
|
25
56
|
/**
|
|
26
|
-
* This method moves the
|
|
57
|
+
* This method moves the Abstraction processing to the next Feature in the list
|
|
27
58
|
*
|
|
28
59
|
* @param stage
|
|
29
60
|
*/
|
|
30
61
|
next(stage: any): void;
|
|
31
|
-
completed(): Promise<void>;
|
|
32
62
|
/**
|
|
33
|
-
*
|
|
34
|
-
* Uses to interrupt or end the feature processing
|
|
63
|
+
* Allows to process all stages of the Abstraction
|
|
35
64
|
*
|
|
36
|
-
* @
|
|
65
|
+
* @returns
|
|
37
66
|
*/
|
|
38
|
-
|
|
67
|
+
process(
|
|
39
68
|
/**
|
|
40
|
-
*
|
|
69
|
+
* Allows to override the scope in which the Abstraction will be processed
|
|
41
70
|
*
|
|
42
|
-
* @returns
|
|
43
71
|
*/
|
|
44
|
-
|
|
45
|
-
process(): Promise<void>;
|
|
72
|
+
scope?: A_Scope): Promise<void>;
|
|
46
73
|
}
|