@adaas/a-concept 0.0.33 → 0.0.35
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/README.md +156 -8
- package/dist/index.d.ts +3 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/src/base/A-Config/A-Config.container.d.ts +5 -2
- package/dist/src/base/A-Config/A-Config.container.js +7 -2
- package/dist/src/base/A-Config/A-Config.container.js.map +1 -1
- package/dist/src/base/A-Config/components/ConfigReader.component.js +1 -1
- package/dist/src/base/A-Config/components/ConfigReader.component.js.map +1 -1
- package/dist/src/base/A-Config/components/FileConfigReader.component.js.map +1 -1
- package/dist/src/base/A-Errors/A-Errors.context.js.map +1 -1
- package/dist/src/base/A-Logger/A-Logger.component.js.map +1 -1
- package/dist/src/decorators/A-Abstraction/{A-Abstraction.decorator.d.ts → A-Abstraction-Extend.decorator.d.ts} +1 -1
- package/dist/src/decorators/A-Abstraction/{A-Abstraction.decorator.js → A-Abstraction-Extend.decorator.js} +6 -6
- package/dist/src/decorators/A-Abstraction/A-Abstraction-Extend.decorator.js.map +1 -0
- package/dist/src/decorators/A-Abstraction/A-Abstraction.decorator.types.d.ts +1 -1
- package/dist/src/decorators/A-Connect/A-Connect.decorator.js.map +1 -1
- package/dist/src/decorators/A-Entity/A-Entity.decorator.types.d.ts +1 -1
- package/dist/src/decorators/A-Feature/A-Feature-Define.decorator.d.ts +3 -3
- package/dist/src/decorators/A-Feature/A-Feature-Define.decorator.js +20 -4
- package/dist/src/decorators/A-Feature/A-Feature-Define.decorator.js.map +1 -1
- package/dist/src/decorators/A-Feature/A-Feature.decorator.types.d.ts +3 -2
- package/dist/src/decorators/A-Inject/A-Inject.decorator.d.ts +1 -1
- package/dist/src/decorators/A-Inject/A-Inject.decorator.js +23 -2
- package/dist/src/decorators/A-Inject/A-Inject.decorator.js.map +1 -1
- package/dist/src/decorators/A-Inject/A-Inject.decorator.types.d.ts +3 -3
- package/dist/src/global/A-Abstraction/A-Abstraction.class.d.ts +40 -0
- package/dist/src/global/A-Abstraction/A-Abstraction.class.js +113 -0
- package/dist/src/global/A-Abstraction/A-Abstraction.class.js.map +1 -0
- package/dist/src/global/A-Abstraction/A-Abstraction.types.d.ts +13 -0
- package/dist/src/global/A-Abstraction/A-Abstraction.types.js +11 -0
- package/dist/src/global/A-Abstraction/A-Abstraction.types.js.map +1 -0
- package/dist/src/global/A-Channel/A-Channel.class.js +0 -1
- package/dist/src/global/A-Channel/A-Channel.class.js.map +1 -1
- package/dist/src/global/A-Channel/A-Channel.types.d.ts +2 -1
- package/dist/src/global/A-Component/A-Component.class.d.ts +5 -30
- package/dist/src/global/A-Component/A-Component.class.js +6 -10
- package/dist/src/global/A-Component/A-Component.class.js.map +1 -1
- package/dist/src/global/A-Component/A-Component.meta.d.ts +9 -2
- package/dist/src/global/A-Component/A-Component.meta.js +10 -1
- package/dist/src/global/A-Component/A-Component.meta.js.map +1 -1
- package/dist/src/global/A-Concept/A_Concept.class.d.ts +16 -17
- package/dist/src/global/A-Concept/A_Concept.class.js +31 -65
- package/dist/src/global/A-Concept/A_Concept.class.js.map +1 -1
- package/dist/src/global/A-Concept/A_Concept.meta.d.ts +10 -0
- package/dist/src/global/A-Concept/A_Concept.meta.js +20 -0
- package/dist/src/global/A-Concept/A_Concept.meta.js.map +1 -1
- package/dist/src/global/A-Concept/A_Concept.types.d.ts +2 -2
- package/dist/src/global/A-Container/A-Container.class.d.ts +7 -50
- package/dist/src/global/A-Container/A-Container.class.js +9 -19
- package/dist/src/global/A-Container/A-Container.class.js.map +1 -1
- package/dist/src/global/A-Container/A-Container.meta.d.ts +15 -0
- package/dist/src/global/A-Container/A-Container.meta.js +20 -0
- package/dist/src/global/A-Container/A-Container.meta.js.map +1 -1
- package/dist/src/global/A-Context/A-Context.class.d.ts +20 -20
- package/dist/src/global/A-Context/A-Context.class.js +57 -15
- package/dist/src/global/A-Context/A-Context.class.js.map +1 -1
- package/dist/src/global/A-Entity/A-Entity.class.d.ts +10 -18
- package/dist/src/global/A-Entity/A-Entity.class.js +21 -31
- package/dist/src/global/A-Entity/A-Entity.class.js.map +1 -1
- package/dist/src/global/A-Entity/A-Entity.meta.js.map +1 -1
- package/dist/src/global/A-Entity/A-Entity.types.d.ts +3 -2
- package/dist/src/global/A-Entity/A-Entity.types.js +1 -0
- package/dist/src/global/A-Entity/A-Entity.types.js.map +1 -1
- package/dist/src/global/A-Feature/A-Feature.class.d.ts +2 -1
- package/dist/src/global/A-Feature/A-Feature.class.js +14 -4
- package/dist/src/global/A-Feature/A-Feature.class.js.map +1 -1
- package/dist/src/global/A-Feature/A-Feature.types.d.ts +9 -0
- package/dist/src/global/A-Feature/A-Feature.types.js.map +1 -1
- package/dist/src/global/A-Fragment/A-Fragment.class.d.ts +1 -3
- package/dist/src/global/A-Meta/A-Meta.class.d.ts +1 -0
- package/dist/src/global/A-Meta/A-Meta.class.js +3 -6
- package/dist/src/global/A-Meta/A-Meta.class.js.map +1 -1
- package/dist/src/global/A-Scope/A-Scope.class.d.ts +4 -2
- package/dist/src/global/A-Scope/A-Scope.class.js +23 -16
- package/dist/src/global/A-Scope/A-Scope.class.js.map +1 -1
- package/dist/src/global/A-Scope/A-Scope.types.d.ts +0 -8
- package/dist/src/global/A-Stage/A-Stage.class.d.ts +3 -3
- package/dist/src/global/A-Stage/A-Stage.class.js +11 -10
- package/dist/src/global/A-Stage/A-Stage.class.js.map +1 -1
- package/dist/src/global/A-Stage/A-Stage.types.d.ts +1 -1
- package/dist/src/global/A-Stage/A-Stage.types.js.map +1 -1
- package/dist/src/helpers/StepsManager.class.d.ts +1 -0
- package/dist/src/helpers/StepsManager.class.js +10 -7
- package/dist/src/helpers/StepsManager.class.js.map +1 -1
- package/docs/a-concept-logo.png +0 -0
- package/docs/a-logo-docs.png +0 -0
- package/examples/fe-be/channels/Test.channel.ts +6 -3
- package/examples/multi-container/containers/Schedule.container.ts +1 -6
- package/examples/simple/components/A.component.ts +7 -0
- package/examples/simple/components/B.component.ts +9 -0
- package/examples/simple/concept.ts +38 -60
- package/examples/simple/containers/Main.container.ts +24 -11
- package/examples/simple/entities/EntityA.entity.ts +3 -5
- package/examples/simple-http-server/components/http-request-handler.component.ts +6 -4
- package/examples/simple-http-server/concept.ts +24 -21
- package/examples/simple-http-server/containers/http-server.container.ts +4 -3
- package/index.ts +4 -1
- package/package.json +6 -2
- package/src/base/A-Config/A-Config.container.ts +12 -4
- package/src/base/A-Config/components/ConfigReader.component.ts +4 -5
- package/src/base/A-Config/components/FileConfigReader.component.ts +0 -2
- package/src/base/A-Errors/A-Error.entity.ts +1 -1
- package/src/base/A-Errors/A-Errors.context.ts +2 -1
- package/src/base/A-Logger/A-Logger.component.ts +0 -1
- package/src/decorators/A-Abstraction/{A-Abstraction.decorator.ts → A-Abstraction-Extend.decorator.ts} +5 -6
- package/src/decorators/A-Abstraction/A-Abstraction.decorator.types.ts +1 -1
- package/src/decorators/A-Connect/A-Connect.decorator.ts +1 -1
- package/src/decorators/A-Entity/A-Entity.decorator.types.ts +1 -1
- package/src/decorators/A-Feature/A-Feature-Define.decorator.ts +37 -10
- package/src/decorators/A-Feature/A-Feature.decorator.types.ts +12 -12
- package/src/decorators/A-Inject/A-Inject.decorator.ts +31 -4
- package/src/decorators/A-Inject/A-Inject.decorator.types.ts +4 -3
- package/src/global/A-Abstraction/A-Abstraction.class.ts +130 -0
- package/src/global/A-Abstraction/A-Abstraction.types.ts +22 -0
- package/src/global/A-Channel/A-Channel.class.ts +0 -2
- package/src/global/A-Channel/A-Channel.types.ts +2 -1
- package/src/global/A-Component/A-Component.class.ts +12 -52
- package/src/global/A-Component/A-Component.meta.ts +19 -2
- package/src/global/A-Concept/A_Concept.class.ts +45 -126
- package/src/global/A-Concept/A_Concept.meta.ts +68 -0
- package/src/global/A-Concept/A_Concept.types.ts +2 -2
- package/src/global/A-Container/A-Container.class.ts +11 -90
- package/src/global/A-Container/A-Container.meta.ts +33 -0
- package/src/global/A-Context/A-Context.class.ts +134 -56
- package/src/global/A-Entity/A-Entity.class.ts +22 -69
- package/src/global/A-Entity/A-Entity.meta.ts +3 -2
- package/src/global/A-Entity/A-Entity.types.ts +2 -1
- package/src/global/A-Feature/A-Feature.class.ts +18 -7
- package/src/global/A-Feature/A-Feature.types.ts +10 -2
- package/src/global/A-Fragment/A-Fragment.class.ts +1 -1
- package/src/global/A-Meta/A-Meta.class.ts +5 -8
- package/src/global/A-Scope/A-Scope.class.ts +38 -21
- package/src/global/A-Scope/A-Scope.types.ts +2 -2
- package/src/global/A-Stage/A-Stage.class.ts +20 -20
- package/src/global/A-Stage/A-Stage.types.ts +2 -3
- package/src/helpers/StepsManager.class.ts +11 -7
- package/trace-require.js +46 -0
- package/tsconfig.build.json +57 -0
- package/dist/examples/fe-be/channels/Test.channel.d.ts +0 -6
- package/dist/examples/fe-be/channels/Test.channel.js +0 -14
- package/dist/examples/fe-be/channels/Test.channel.js.map +0 -1
- package/dist/examples/fe-be/components/BE-Controller.component.d.ts +0 -4
- package/dist/examples/fe-be/components/BE-Controller.component.js +0 -24
- package/dist/examples/fe-be/components/BE-Controller.component.js.map +0 -1
- package/dist/examples/fe-be/components/FE.component.d.ts +0 -4
- package/dist/examples/fe-be/components/FE.component.js +0 -31
- package/dist/examples/fe-be/components/FE.component.js.map +0 -1
- package/dist/examples/fe-be/components/UserActions.component.d.ts +0 -5
- package/dist/examples/fe-be/components/UserActions.component.js +0 -25
- package/dist/examples/fe-be/components/UserActions.component.js.map +0 -1
- package/dist/examples/fe-be/concept.d.ts +0 -0
- package/dist/examples/fe-be/concept.js +0 -2
- package/dist/examples/fe-be/concept.js.map +0 -1
- package/dist/examples/fe-be/containers/ServerApp.container.d.ts +0 -3
- package/dist/examples/fe-be/containers/ServerApp.container.js +0 -8
- package/dist/examples/fe-be/containers/ServerApp.container.js.map +0 -1
- package/dist/examples/fe-be/containers/WebApp.container.d.ts +0 -3
- package/dist/examples/fe-be/containers/WebApp.container.js +0 -8
- package/dist/examples/fe-be/containers/WebApp.container.js.map +0 -1
- package/dist/examples/multi-container/channels/Direct.channel.d.ts +0 -9
- package/dist/examples/multi-container/channels/Direct.channel.js +0 -32
- package/dist/examples/multi-container/channels/Direct.channel.js.map +0 -1
- package/dist/examples/multi-container/concept.d.ts +0 -0
- package/dist/examples/multi-container/concept.js +0 -2
- package/dist/examples/multi-container/concept.js.map +0 -1
- package/dist/examples/multi-container/containers/Command.container.d.ts +0 -11
- package/dist/examples/multi-container/containers/Command.container.js +0 -51
- package/dist/examples/multi-container/containers/Command.container.js.map +0 -1
- package/dist/examples/multi-container/containers/Schedule.container.d.ts +0 -15
- package/dist/examples/multi-container/containers/Schedule.container.js +0 -67
- package/dist/examples/multi-container/containers/Schedule.container.js.map +0 -1
- package/dist/examples/sdk/concept.d.ts +0 -0
- package/dist/examples/sdk/concept.js +0 -21
- package/dist/examples/sdk/concept.js.map +0 -1
- package/dist/examples/sdk/orders.api.d.ts +0 -0
- package/dist/examples/sdk/orders.api.js +0 -16
- package/dist/examples/sdk/orders.api.js.map +0 -1
- package/dist/examples/sdk/users.api.d.ts +0 -0
- package/dist/examples/sdk/users.api.js +0 -16
- package/dist/examples/sdk/users.api.js.map +0 -1
- package/dist/examples/simple/components/A.component.d.ts +0 -9
- package/dist/examples/simple/components/A.component.js +0 -60
- package/dist/examples/simple/components/A.component.js.map +0 -1
- package/dist/examples/simple/components/B.component.d.ts +0 -13
- package/dist/examples/simple/components/B.component.js +0 -88
- package/dist/examples/simple/components/B.component.js.map +0 -1
- package/dist/examples/simple/concept.d.ts +0 -1
- package/dist/examples/simple/concept.js +0 -82
- package/dist/examples/simple/concept.js.map +0 -1
- package/dist/examples/simple/containers/Main.container.d.ts +0 -11
- package/dist/examples/simple/containers/Main.container.js +0 -86
- package/dist/examples/simple/containers/Main.container.js.map +0 -1
- package/dist/examples/simple/context/Fragment_A.context.d.ts +0 -6
- package/dist/examples/simple/context/Fragment_A.context.js +0 -16
- package/dist/examples/simple/context/Fragment_A.context.js.map +0 -1
- package/dist/examples/simple/context/Fragment_B.context.d.ts +0 -6
- package/dist/examples/simple/context/Fragment_B.context.js +0 -16
- package/dist/examples/simple/context/Fragment_B.context.js.map +0 -1
- package/dist/examples/simple/entities/EntityA.entity.d.ts +0 -8
- package/dist/examples/simple/entities/EntityA.entity.js +0 -22
- package/dist/examples/simple/entities/EntityA.entity.js.map +0 -1
- package/dist/examples/simple-http-server/components/http-error-handler.component.d.ts +0 -10
- package/dist/examples/simple-http-server/components/http-error-handler.component.js +0 -65
- package/dist/examples/simple-http-server/components/http-error-handler.component.js.map +0 -1
- package/dist/examples/simple-http-server/components/http-request-handler.component.d.ts +0 -3
- package/dist/examples/simple-http-server/components/http-request-handler.component.js +0 -8
- package/dist/examples/simple-http-server/components/http-request-handler.component.js.map +0 -1
- package/dist/examples/simple-http-server/concept.d.ts +0 -1
- package/dist/examples/simple-http-server/concept.js +0 -35
- package/dist/examples/simple-http-server/concept.js.map +0 -1
- package/dist/examples/simple-http-server/containers/http-server.container.d.ts +0 -11
- package/dist/examples/simple-http-server/containers/http-server.container.js +0 -73
- package/dist/examples/simple-http-server/containers/http-server.container.js.map +0 -1
- package/dist/examples/simple-http-server/containers/http-server.controller.d.ts +0 -7
- package/dist/examples/simple-http-server/containers/http-server.controller.js +0 -37
- package/dist/examples/simple-http-server/containers/http-server.controller.js.map +0 -1
- package/dist/examples/simple-http-server/containers/http-server.router.d.ts +0 -6
- package/dist/examples/simple-http-server/containers/http-server.router.js +0 -39
- package/dist/examples/simple-http-server/containers/http-server.router.js.map +0 -1
- package/dist/examples/simple-http-server/contexts/http-request.context.d.ts +0 -12
- package/dist/examples/simple-http-server/contexts/http-request.context.js +0 -49
- package/dist/examples/simple-http-server/contexts/http-request.context.js.map +0 -1
- package/dist/examples/simple-http-server/contexts/http-server.context.types.d.ts +0 -0
- package/dist/examples/simple-http-server/contexts/http-server.context.types.js +0 -2
- package/dist/examples/simple-http-server/contexts/http-server.context.types.js.map +0 -1
- package/dist/examples/simple-http-server/contexts/http-server.namespace.d.ts +0 -10
- package/dist/examples/simple-http-server/contexts/http-server.namespace.js +0 -26
- package/dist/examples/simple-http-server/contexts/http-server.namespace.js.map +0 -1
- package/dist/examples/simple-http-server/controllers/orders.controller.d.ts +0 -5
- package/dist/examples/simple-http-server/controllers/orders.controller.js +0 -32
- package/dist/examples/simple-http-server/controllers/orders.controller.js.map +0 -1
- package/dist/examples/simple-http-server/controllers/users.controller.d.ts +0 -0
- package/dist/examples/simple-http-server/controllers/users.controller.js +0 -87
- package/dist/examples/simple-http-server/controllers/users.controller.js.map +0 -1
- package/dist/examples/simple-http-server/modules/simple-http-server.context.d.ts +0 -5
- package/dist/examples/simple-http-server/modules/simple-http-server.context.js +0 -25
- package/dist/examples/simple-http-server/modules/simple-http-server.context.js.map +0 -1
- package/dist/examples/simple-http-server/modules/simple-http-server.module.d.ts +0 -16
- package/dist/examples/simple-http-server/modules/simple-http-server.module.js +0 -8
- package/dist/examples/simple-http-server/modules/simple-http-server.module.js.map +0 -1
- package/dist/examples/simple-http-server/modules/simple-http-server.types.d.ts +0 -2
- package/dist/examples/simple-http-server/modules/simple-http-server.types.js +0 -3
- package/dist/examples/simple-http-server/modules/simple-http-server.types.js.map +0 -1
- package/dist/examples/simple-http-server/test.d.ts +0 -68
- package/dist/examples/simple-http-server/test.js +0 -162
- package/dist/examples/simple-http-server/test.js.map +0 -1
- package/dist/src/containers/A-Config/A-Config.container.d.ts +0 -7
- package/dist/src/containers/A-Config/A-Config.container.js +0 -65
- package/dist/src/containers/A-Config/A-Config.container.js.map +0 -1
- package/dist/src/containers/A-Config/A-Config.namespace.d.ts +0 -28
- package/dist/src/containers/A-Config/A-Config.namespace.js +0 -54
- package/dist/src/containers/A-Config/A-Config.namespace.js.map +0 -1
- package/dist/src/containers/A-Config/A-Config.types.d.ts +0 -12
- package/dist/src/containers/A-Config/A-Config.types.js +0 -3
- package/dist/src/containers/A-Config/A-Config.types.js.map +0 -1
- package/dist/src/containers/A-Config/components/ConfigReader.component.d.ts +0 -18
- package/dist/src/containers/A-Config/components/ConfigReader.component.js +0 -37
- package/dist/src/containers/A-Config/components/ConfigReader.component.js.map +0 -1
- package/dist/src/containers/A-Config/components/ENVConfigReader.component.d.ts +0 -10
- package/dist/src/containers/A-Config/components/ENVConfigReader.component.js +0 -37
- package/dist/src/containers/A-Config/components/ENVConfigReader.component.js.map +0 -1
- package/dist/src/containers/A-Config/components/FileConfigReader.component.d.ts +0 -11
- package/dist/src/containers/A-Config/components/FileConfigReader.component.js +0 -47
- package/dist/src/containers/A-Config/components/FileConfigReader.component.js.map +0 -1
- package/dist/src/containers/A-Errors/A-Errors.container.d.ts +0 -5
- package/dist/src/containers/A-Errors/A-Errors.container.js +0 -32
- package/dist/src/containers/A-Errors/A-Errors.container.js.map +0 -1
- package/dist/src/containers/A-Errors/A-Errors.namespace.d.ts +0 -40
- package/dist/src/containers/A-Errors/A-Errors.namespace.js +0 -76
- package/dist/src/containers/A-Errors/A-Errors.namespace.js.map +0 -1
- package/dist/src/containers/A-Errors/A-Errors.types.d.ts +0 -5
- package/dist/src/containers/A-Errors/A-Errors.types.js +0 -3
- package/dist/src/containers/A-Errors/A-Errors.types.js.map +0 -1
- package/dist/src/containers/A-Logger/A-Logger.container.d.ts +0 -6
- package/dist/src/containers/A-Logger/A-Logger.container.js +0 -41
- package/dist/src/containers/A-Logger/A-Logger.container.js.map +0 -1
- package/dist/src/containers/A-Logger/A-Logger.namespace.d.ts +0 -17
- package/dist/src/containers/A-Logger/A-Logger.namespace.js +0 -22
- package/dist/src/containers/A-Logger/A-Logger.namespace.js.map +0 -1
- package/dist/src/containers/A-Logger/A-Logger.types.d.ts +0 -0
- package/dist/src/containers/A-Logger/A-Logger.types.js +0 -2
- package/dist/src/containers/A-Logger/A-Logger.types.js.map +0 -1
- package/dist/src/containers/A-Logger/components/Logger.component.d.ts +0 -29
- package/dist/src/containers/A-Logger/components/Logger.component.js +0 -128
- package/dist/src/containers/A-Logger/components/Logger.component.js.map +0 -1
- package/dist/src/decorators/A-Abstraction/A-Abstraction.decorator.js.map +0 -1
- package/dist/src/decorators/A-ConceptLifecycle/A-ConceptLifecycle.decorator.types.d.ts +0 -34
- package/dist/src/decorators/A-ConceptLifecycle/A-ConceptLifecycle.decorator.types.js +0 -3
- package/dist/src/decorators/A-ConceptLifecycle/A-ConceptLifecycle.decorator.types.js.map +0 -1
- package/dist/src/decorators/A-ConceptLifecycle/A-Load/A-Load.decorator.d.ts +0 -11
- package/dist/src/decorators/A-ConceptLifecycle/A-Load/A-Load.decorator.js +0 -36
- package/dist/src/decorators/A-ConceptLifecycle/A-Load/A-Load.decorator.js.map +0 -1
- package/dist/src/decorators/A-ConceptLifecycle/A-Load/A-Load.decorator.types.d.ts +0 -7
- package/dist/src/decorators/A-ConceptLifecycle/A-Load/A-Load.decorator.types.js +0 -3
- package/dist/src/decorators/A-ConceptLifecycle/A-Load/A-Load.decorator.types.js.map +0 -1
- package/dist/src/decorators/A-ConceptLifecycle/A-Run/A-Run.decorator.d.ts +0 -17
- package/dist/src/decorators/A-ConceptLifecycle/A-Run/A-Run.decorator.js +0 -42
- package/dist/src/decorators/A-ConceptLifecycle/A-Run/A-Run.decorator.js.map +0 -1
- package/dist/src/decorators/A-ConceptLifecycle/A-Run/A-Run.decorator.types.d.ts +0 -8
- package/dist/src/decorators/A-ConceptLifecycle/A-Run/A-Run.decorator.types.js +0 -3
- package/dist/src/decorators/A-ConceptLifecycle/A-Run/A-Run.decorator.types.js.map +0 -1
- package/dist/src/decorators/A-ConceptLifecycle/index.d.ts +0 -7
- package/dist/src/decorators/A-ConceptLifecycle/index.js +0 -11
- package/dist/src/decorators/A-ConceptLifecycle/index.js.map +0 -1
- package/dist/src/decorators/A-Define/Feature/Feature.decorator.d.ts +0 -16
- package/dist/src/decorators/A-Define/Feature/Feature.decorator.js +0 -36
- package/dist/src/decorators/A-Define/Feature/Feature.decorator.js.map +0 -1
- package/dist/src/decorators/A-Define/Feature/Feature.decorator.types.d.ts +0 -8
- package/dist/src/decorators/A-Define/Feature/Feature.decorator.types.js +0 -3
- package/dist/src/decorators/A-Define/Feature/Feature.decorator.types.js.map +0 -1
- package/dist/src/decorators/A-Define/Lifecycle/Lifecycle.decorator.d.ts +0 -14
- package/dist/src/decorators/A-Define/Lifecycle/Lifecycle.decorator.js +0 -24
- package/dist/src/decorators/A-Define/Lifecycle/Lifecycle.decorator.js.map +0 -1
- package/dist/src/decorators/A-Define/Lifecycle/Lifecycle.decorator.types.d.ts +0 -8
- package/dist/src/decorators/A-Define/Lifecycle/Lifecycle.decorator.types.js +0 -3
- package/dist/src/decorators/A-Define/Lifecycle/Lifecycle.decorator.types.js.map +0 -1
- package/dist/src/decorators/A-Define/index.d.ts +0 -7
- package/dist/src/decorators/A-Define/index.js +0 -10
- package/dist/src/decorators/A-Define/index.js.map +0 -1
- package/dist/src/decorators/A-Extend/A-Extend.decorator.d.ts +0 -18
- package/dist/src/decorators/A-Extend/A-Extend.decorator.js +0 -37
- package/dist/src/decorators/A-Extend/A-Extend.decorator.js.map +0 -1
- package/dist/src/decorators/A-Extend/A-Extend.decorator.types.d.ts +0 -21
- package/dist/src/decorators/A-Extend/A-Extend.decorator.types.js +0 -3
- package/dist/src/decorators/A-Extend/A-Extend.decorator.types.js.map +0 -1
- package/dist/src/decorators/A-Feature/A-Feature.decorator.d.ts +0 -0
- package/dist/src/decorators/A-Feature/A-Feature.decorator.js +0 -11
- package/dist/src/decorators/A-Feature/A-Feature.decorator.js.map +0 -1
- package/dist/src/decorators/A-Stage/A-Stage.decorator.d.ts +0 -13
- package/dist/src/decorators/A-Stage/A-Stage.decorator.js +0 -52
- package/dist/src/decorators/A-Stage/A-Stage.decorator.js.map +0 -1
- package/dist/src/decorators/A-Stage/A-Stage.decorator.types.d.ts +0 -2
- package/dist/src/decorators/A-Stage/A-Stage.decorator.types.js +0 -3
- package/dist/src/decorators/A-Stage/A-Stage.decorator.types.js.map +0 -1
- package/dist/src/decorators/A_ConceptMethods.decorator.d.ts +0 -0
- package/dist/src/decorators/A_ConceptMethods.decorator.js +0 -2
- package/dist/src/decorators/A_ConceptMethods.decorator.js.map +0 -1
- package/dist/src/decorators/A_Lazy.decorator.d.ts +0 -5
- package/dist/src/decorators/A_Lazy.decorator.js +0 -20
- package/dist/src/decorators/A_Lazy.decorator.js.map +0 -1
- package/dist/src/global/A-Context/A-ContextFragment.class.d.ts +0 -12
- package/dist/src/global/A-Context/A-ContextFragment.class.js +0 -19
- package/dist/src/global/A-Context/A-ContextFragment.class.js.map +0 -1
- package/dist/src/global/A-Namespace/A_Namespace.class.d.ts +0 -47
- package/dist/src/global/A-Namespace/A_Namespace.class.js +0 -112
- package/dist/src/global/A-Namespace/A_Namespace.class.js.map +0 -1
- package/dist/src/global/A-Namespace/A_Namespace.types.d.ts +0 -19
- package/dist/src/global/A-Namespace/A_Namespace.types.js +0 -3
- package/dist/src/global/A-Namespace/A_Namespace.types.js.map +0 -1
- package/dist/src/managers/A_DependencyManager.class.d.ts +0 -24
- package/dist/src/managers/A_DependencyManager.class.js +0 -129
- package/dist/src/managers/A_DependencyManager.class.js.map +0 -1
- package/dist/src/storage/A_Component.storage.d.ts +0 -10
- package/dist/src/storage/A_Component.storage.js +0 -17
- package/dist/src/storage/A_Component.storage.js.map +0 -1
- package/dist/src/storage/A_Concept.storage.d.ts +0 -19
- package/dist/src/storage/A_Concept.storage.js +0 -29
- package/dist/src/storage/A_Concept.storage.js.map +0 -1
- package/dist/src/storage/A_Container.storage.d.ts +0 -8
- package/dist/src/storage/A_Container.storage.js +0 -17
- package/dist/src/storage/A_Container.storage.js.map +0 -1
- package/dist/src/storage/A_Inject.storage.d.ts +0 -9
- package/dist/src/storage/A_Inject.storage.js +0 -13
- package/dist/src/storage/A_Inject.storage.js.map +0 -1
- package/dist/src/types/A_DependencyManager.types.d.ts +0 -15
- package/dist/src/types/A_DependencyManager.types.js +0 -3
- package/dist/src/types/A_DependencyManager.types.js.map +0 -1
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { A_TYPES__A_FeatureDecoratorConfig, A_TYPES__A_FeatureDecoratorDescriptor } from "./Feature.decorator.types";
|
|
2
|
-
import { A_Container } from "../../../global/A-Container/A-Container.class";
|
|
3
|
-
/**
|
|
4
|
-
* A-Feature decorator
|
|
5
|
-
*
|
|
6
|
-
* This decorator allows to define a custom Feature stage for the Container.
|
|
7
|
-
* These stages are executed in a container-specific order and can be extended by components that are injected into the container.
|
|
8
|
-
* This approach allows to create a flexible and extendable architecture for the application.
|
|
9
|
-
*
|
|
10
|
-
* The main difference between the A-Feature and A-Feature decorators is that A-Feature methods can be inherited and overridden by child classes.
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @param params
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare function A_Feature(config?: Partial<A_TYPES__A_FeatureDecoratorConfig>): (target: A_Container, propertyKey: string, descriptor: A_TYPES__A_FeatureDecoratorDescriptor) => void;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.A_Feature = A_Feature;
|
|
4
|
-
const A_Container_storage_1 = require("../../../storage/A_Container.storage");
|
|
5
|
-
/**
|
|
6
|
-
* A-Feature decorator
|
|
7
|
-
*
|
|
8
|
-
* This decorator allows to define a custom Feature stage for the Container.
|
|
9
|
-
* These stages are executed in a container-specific order and can be extended by components that are injected into the container.
|
|
10
|
-
* This approach allows to create a flexible and extendable architecture for the application.
|
|
11
|
-
*
|
|
12
|
-
* The main difference between the A-Feature and A-Feature decorators is that A-Feature methods can be inherited and overridden by child classes.
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @param params
|
|
16
|
-
* @returns
|
|
17
|
-
*/
|
|
18
|
-
function A_Feature(config = {}) {
|
|
19
|
-
return function (target, propertyKey, descriptor) {
|
|
20
|
-
const existedMeta = A_Container_storage_1.A_CONTAINER_Storage.get(target.constructor) || new Map();
|
|
21
|
-
const inheritMeta = A_Container_storage_1.A_CONTAINER_Storage.get(Object.getPrototypeOf(target.constructor)) || new Map();
|
|
22
|
-
const inheritedFeature = inheritMeta.get(A_Container_storage_1.A_CONTAINER_STORAGE__Definition__Feature) || new Map();
|
|
23
|
-
const feature = existedMeta.get(A_Container_storage_1.A_CONTAINER_STORAGE__Definition__Feature) || new Map(inheritedFeature);
|
|
24
|
-
feature.set(propertyKey, {
|
|
25
|
-
handler: propertyKey,
|
|
26
|
-
config: Object.assign({ name: propertyKey }, config)
|
|
27
|
-
});
|
|
28
|
-
// targetInstructions.push({
|
|
29
|
-
// handler: propertyKey,
|
|
30
|
-
// config: A_CommonHelper.deepCloneAndMerge(config, A_CONSTANTS__DEFAULT_CONCEPT_Feature_METHOD_DECLARATION_CONFIG)
|
|
31
|
-
// });
|
|
32
|
-
existedMeta.set(A_Container_storage_1.A_CONTAINER_STORAGE__Definition__Feature, feature);
|
|
33
|
-
A_Container_storage_1.A_CONTAINER_Storage.set(target.constructor, existedMeta);
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=Feature.decorator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Feature.decorator.js","sourceRoot":"","sources":["../../../../../src/decorators/A-Define/Feature/Feature.decorator.ts"],"names":[],"mappings":";;AAyBA,8BAiCC;AAnDD,sFAA6H;AAK7H;;;;;;;;;;;;GAYG;AACH,SAAgB,SAAS,CACrB,SAAqD,EAAE;IAEvD,OAAO,UACH,MAAmB,EACnB,WAAmB,EACnB,UAAiD;QAEjD,MAAM,WAAW,GAAG,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAC7E,MAAM,WAAW,GAAG,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAGpG,MAAM,gBAAgB,GAAG,WAAW,CAAC,GAAG,CAAC,8DAAwC,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAChG,MAAM,OAAO,GAA+D,WAAW,CAAC,GAAG,CAAC,8DAAwC,CAAC,IAAI,IAAI,GAAG,CAAC,gBAAgB,CAAC,CAAA;QAGlK,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE;YACrB,OAAO,EAAE,WAAW;YACpB,MAAM,kBACF,IAAI,EAAE,WAAW,IACd,MAAM,CACZ;SACJ,CAAC,CAAC;QAEH,4BAA4B;QAC5B,4BAA4B;QAC5B,uHAAuH;QACvH,MAAM;QAGN,WAAW,CAAC,GAAG,CAAC,8DAAwC,EAAE,OAAO,CAAC,CAAC;QACnE,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IAC7D,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type A_TYPES__A_FeatureDecoratorDescriptor = TypedPropertyDescriptor<() => any> | TypedPropertyDescriptor<(...args: any[]) => any> | TypedPropertyDescriptor<(...args: any[]) => Promise<any>> | TypedPropertyDescriptor<() => Promise<any>>;
|
|
2
|
-
export type A_TYPES__A_FeatureDecoratorConfig = {
|
|
3
|
-
name: string;
|
|
4
|
-
};
|
|
5
|
-
export type A_TYPES__A_FeatureDecoratorStorageInstruction = {
|
|
6
|
-
handler: string;
|
|
7
|
-
config: A_TYPES__A_FeatureDecoratorConfig;
|
|
8
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Feature.decorator.types.js","sourceRoot":"","sources":["../../../../../src/decorators/A-Define/Feature/Feature.decorator.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A-Lifecycle decorator
|
|
3
|
-
*
|
|
4
|
-
* This decorator allows to define a custom lifecycle stage for the Container.
|
|
5
|
-
* These stages are executed in a container-specific order and can be extended by components that are injected into the container.
|
|
6
|
-
* This approach allows to create a flexible and extendable architecture for the application.
|
|
7
|
-
*
|
|
8
|
-
* The main difference between the A-Lifecycle and A-Feature decorators is that A-Lifecycle methods can be inherited and overridden by child classes.
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* @param params
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare function A_Lifecycle(): any;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.A_Lifecycle = A_Lifecycle;
|
|
4
|
-
const A_Container_storage_1 = require("../../../storage/A_Container.storage");
|
|
5
|
-
function A_Lifecycle(config = {}) {
|
|
6
|
-
return function (target, propertyKey, descriptor) {
|
|
7
|
-
const existedMeta = A_Container_storage_1.A_CONTAINER_Storage.get(target.constructor) || new Map();
|
|
8
|
-
const inheritMeta = A_Container_storage_1.A_CONTAINER_Storage.get(Object.getPrototypeOf(target.constructor)) || new Map();
|
|
9
|
-
const inheritedLifecycle = inheritMeta.get(A_Container_storage_1.A_CONTAINER_STORAGE__Definition__Lifecycle) || new Map();
|
|
10
|
-
const lifecycle = existedMeta.get(A_Container_storage_1.A_CONTAINER_STORAGE__Definition__Lifecycle) || new Map(inheritedLifecycle);
|
|
11
|
-
lifecycle.set(propertyKey, {
|
|
12
|
-
handler: propertyKey,
|
|
13
|
-
config: Object.assign(Object.assign({}, config), { name: `${target.constructor.name}.${propertyKey || config.name}` })
|
|
14
|
-
// config: A_CommonHelper.deepCloneAndMerge(config, A_CONSTANTS__DEFAULT_CONCEPT_LIFECYCLE_METHOD_DECLARATION_CONFIG)
|
|
15
|
-
});
|
|
16
|
-
// targetInstructions.push({
|
|
17
|
-
// handler: propertyKey,
|
|
18
|
-
// config: A_CommonHelper.deepCloneAndMerge(config, A_CONSTANTS__DEFAULT_CONCEPT_LIFECYCLE_METHOD_DECLARATION_CONFIG)
|
|
19
|
-
// });
|
|
20
|
-
existedMeta.set(A_Container_storage_1.A_CONTAINER_STORAGE__Definition__Lifecycle, lifecycle);
|
|
21
|
-
A_Container_storage_1.A_CONTAINER_Storage.set(target.constructor, existedMeta);
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=Lifecycle.decorator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Lifecycle.decorator.js","sourceRoot":"","sources":["../../../../../src/decorators/A-Define/Lifecycle/Lifecycle.decorator.ts"],"names":[],"mappings":";;AA2BA,kCAkCC;AAtDD,sFAA+H;AAoB/H,SAAgB,WAAW,CACvB,SAAuD,EAAE;IAEzD,OAAO,UACH,MAAmB,EACnB,WAAmB,EACnB,UAAmD;QAEnD,MAAM,WAAW,GAAG,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAC7E,MAAM,WAAW,GAAG,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAEpG,MAAM,kBAAkB,GAAG,WAAW,CAAC,GAAG,CAAC,gEAA0C,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QACpG,MAAM,SAAS,GAAiE,WAAW,CAAC,GAAG,CAAC,gEAA0C,CAAC,IAAI,IAAI,GAAG,CAAC,kBAAkB,CAAC,CAAA;QAG1K,SAAS,CAAC,GAAG,CAAC,WAAW,EAAE;YACvB,OAAO,EAAE,WAAW;YACpB,MAAM,kCACC,MAAM,KACT,IAAI,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,IAAI,WAAW,IAAI,MAAM,CAAC,IAAI,EAAE,GACnE;YAED,qHAAqH;SACxH,CAAC,CAAC;QAEH,4BAA4B;QAC5B,4BAA4B;QAC5B,yHAAyH;QACzH,MAAM;QAGN,WAAW,CAAC,GAAG,CAAC,gEAA0C,EAAE,SAAS,CAAC,CAAC;QACvE,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IAC7D,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type A_TYPES__A_LifecycleDecoratorDescriptor = TypedPropertyDescriptor<() => any> | TypedPropertyDescriptor<(...args: any[]) => any> | TypedPropertyDescriptor<(...args: any[]) => Promise<any>> | TypedPropertyDescriptor<() => Promise<any>>;
|
|
2
|
-
export type A_TYPES__A_LifecycleDecoratorConfig = {
|
|
3
|
-
name: string;
|
|
4
|
-
};
|
|
5
|
-
export type A_TYPES__A_LifecycleDecoratorStorageInstruction = {
|
|
6
|
-
handler: string;
|
|
7
|
-
config: A_TYPES__A_LifecycleDecoratorConfig;
|
|
8
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Lifecycle.decorator.types.js","sourceRoot":"","sources":["../../../../../src/decorators/A-Define/Lifecycle/Lifecycle.decorator.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.A_Define = void 0;
|
|
4
|
-
const Feature_decorator_1 = require("./Feature/Feature.decorator");
|
|
5
|
-
const Lifecycle_decorator_1 = require("./Lifecycle/Lifecycle.decorator");
|
|
6
|
-
exports.A_Define = {
|
|
7
|
-
Lifecycle: Lifecycle_decorator_1.A_Lifecycle,
|
|
8
|
-
Feature: Feature_decorator_1.A_Feature
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/decorators/A-Define/index.ts"],"names":[],"mappings":";;;AAAA,mEAAwD;AACxD,yEAA8D;AAQjD,QAAA,QAAQ,GAAc;IAC/B,SAAS,EAAE,iCAAW;IACtB,OAAO,EAAE,6BAAS;CACrB,CAAA"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { A_TYPES__A_ExtendDecoratorConfig, A_TYPES__A_ExtendDecoratorDescriptor } from "./A-Extend.decorator.types";
|
|
2
|
-
import { A_Component } from "../../global/A-Component/A-Component.class";
|
|
3
|
-
/**
|
|
4
|
-
* A-Extend decorator
|
|
5
|
-
*
|
|
6
|
-
* This decorator allows to define a custom Extend stage for the Container.
|
|
7
|
-
* These stages are executed in a container-specific order and can be extended by components that are injected into the container.
|
|
8
|
-
* This approach allows to create a flexible and extendable architecture for the application.
|
|
9
|
-
*
|
|
10
|
-
* The main difference between the A-Extend and A-Extend decorators is that A-Extend methods can be inherited and overridden by child classes.
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @param params
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare function A_Extend(config?: Partial<A_TYPES__A_ExtendDecoratorConfig>): (target: A_Component | {
|
|
17
|
-
new (...args: any[]): any;
|
|
18
|
-
}, propertyKey: string, descriptor: A_TYPES__A_ExtendDecoratorDescriptor) => void;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.A_Extend = A_Extend;
|
|
4
|
-
const A_Component_storage_1 = require("../../storage/A_Component.storage");
|
|
5
|
-
/**
|
|
6
|
-
* A-Extend decorator
|
|
7
|
-
*
|
|
8
|
-
* This decorator allows to define a custom Extend stage for the Container.
|
|
9
|
-
* These stages are executed in a container-specific order and can be extended by components that are injected into the container.
|
|
10
|
-
* This approach allows to create a flexible and extendable architecture for the application.
|
|
11
|
-
*
|
|
12
|
-
* The main difference between the A-Extend and A-Extend decorators is that A-Extend methods can be inherited and overridden by child classes.
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @param params
|
|
16
|
-
* @returns
|
|
17
|
-
*/
|
|
18
|
-
function A_Extend(config = {}) {
|
|
19
|
-
return function (target, propertyKey, descriptor) {
|
|
20
|
-
const existedMeta = A_Component_storage_1.A_COMPONENT_Storage.get(target.constructor) || new Map();
|
|
21
|
-
const inheritMeta = A_Component_storage_1.A_COMPONENT_Storage.get(Object.getPrototypeOf(target.constructor)) || new Map();
|
|
22
|
-
const inheritedExtension = inheritMeta.get(A_Component_storage_1.A_COMPONENT_STORAGE__Definition__Extensions) || new Map();
|
|
23
|
-
const extensionDefinition = existedMeta.get(A_Component_storage_1.A_COMPONENT_STORAGE__Definition__Extensions) || new Map(inheritedExtension);
|
|
24
|
-
extensionDefinition.set(propertyKey, {
|
|
25
|
-
name: config.name || propertyKey,
|
|
26
|
-
handler: propertyKey,
|
|
27
|
-
container: config.container
|
|
28
|
-
? typeof config.container === 'string'
|
|
29
|
-
? config.container
|
|
30
|
-
: config.container.name
|
|
31
|
-
: '*',
|
|
32
|
-
});
|
|
33
|
-
existedMeta.set(A_Component_storage_1.A_COMPONENT_STORAGE__Definition__Extensions, extensionDefinition);
|
|
34
|
-
A_Component_storage_1.A_COMPONENT_Storage.set(target.constructor, existedMeta);
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=A-Extend.decorator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A-Extend.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Extend/A-Extend.decorator.ts"],"names":[],"mappings":";;AA0BA,4BA6BC;AA/CD,sFAAgI;AAKhI;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CACpB,SAAoD,EAAE;IAEtD,OAAO,UACH,MAAkD,EAClD,WAAmB,EACnB,UAAgD;QAGhD,MAAM,WAAW,GAAG,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAC7E,MAAM,WAAW,GAAG,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QAEpG,MAAM,kBAAkB,GAAG,WAAW,CAAC,GAAG,CAAC,iEAA2C,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QACrG,MAAM,mBAAmB,GAA8D,WAAW,CAAC,GAAG,CAAC,iEAA2C,CAAC,IAAI,IAAI,GAAG,CAAC,kBAAkB,CAAC,CAAA;QAElL,mBAAmB,CAAC,GAAG,CAAC,WAAW,EAAE;YACjC,IAAI,EAAE,MAAM,CAAC,IAAI,IAAI,WAAW;YAChC,OAAO,EAAE,WAAW;YACpB,SAAS,EAAE,MAAM,CAAC,SAAS;gBACvB,CAAC,CAAC,OAAO,MAAM,CAAC,SAAS,KAAK,QAAQ;oBAClC,CAAC,CAAC,MAAM,CAAC,SAAS;oBAClB,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI;gBAC3B,CAAC,CAAC,GAAG;SACZ,CAAC,CAAC;QAGH,WAAW,CAAC,GAAG,CAAC,iEAA2C,EAAE,mBAAmB,CAAC,CAAC;QAClF,yCAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IAC7D,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { A_Container } from "../../global/A-Container/A-Container.class";
|
|
2
|
-
export type A_TYPES__A_ExtendDecoratorDescriptor = TypedPropertyDescriptor<() => any> | TypedPropertyDescriptor<(...args: any[]) => any> | TypedPropertyDescriptor<(...args: any[]) => Promise<any>> | TypedPropertyDescriptor<() => Promise<any>>;
|
|
3
|
-
export type A_TYPES__A_ExtendDecoratorConfig = {
|
|
4
|
-
/**
|
|
5
|
-
* Name of the container Lifecycle method to be extended.
|
|
6
|
-
*
|
|
7
|
-
* [!] If not provided will be used the name of the method.
|
|
8
|
-
*/
|
|
9
|
-
name: string;
|
|
10
|
-
/**
|
|
11
|
-
* Container class or container name uses to identify the proper container in case when the name is not unique.
|
|
12
|
-
*
|
|
13
|
-
* [!] If not provided will be applied to all containers with the same name.
|
|
14
|
-
*/
|
|
15
|
-
container: string | typeof A_Container;
|
|
16
|
-
};
|
|
17
|
-
export type A_TYPES__A_ExtendDecoratorStorageInstruction = {
|
|
18
|
-
name: string;
|
|
19
|
-
container: string;
|
|
20
|
-
handler: string;
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A-Extend.decorator.types.js","sourceRoot":"","sources":["../../../../src/decorators/A-Extend/A-Extend.decorator.types.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A-Feature.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Feature/A-Feature.decorator.ts"],"names":[],"mappings":";AAIA,6BAA6B;AAC7B,sBAAsB;AACtB,oBAAoB;AACpB,2BAA2B;AAC3B,uBAAuB;AACvB,QAAQ;AACR,MAAM;AACN,qCAAqC;AACrC,IAAI"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { A_Component } from "../../global/A-Component/A-Component.class";
|
|
2
|
-
import { A_TYPES__A_StageDecoratorConfig, A_TYPES__A_StageDecoratorDescriptor } from "./A-Stage.decorator.types";
|
|
3
|
-
import { A_Container } from "../../global/A-Container/A-Container.class";
|
|
4
|
-
import { A_TYPES__ConceptStage } from "../../global/A-Concept/A_Concept.types";
|
|
5
|
-
/**
|
|
6
|
-
* A_Stage Decorator uses to extend basic A-Concept Stage methods inside Containers.
|
|
7
|
-
*
|
|
8
|
-
* Using this decorator you can define extend a logic and sequence of the Container Stage methods execution.
|
|
9
|
-
*
|
|
10
|
-
* @param params
|
|
11
|
-
* @returns
|
|
12
|
-
*/
|
|
13
|
-
export declare function A_Stage(method: A_TYPES__ConceptStage): (config?: Partial<A_TYPES__A_StageDecoratorConfig>) => (target: A_Container<any> | A_Component, propertyKey: string, descriptor: A_TYPES__A_StageDecoratorDescriptor) => void;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.A_Stage = A_Stage;
|
|
4
|
-
const A_Component_class_1 = require("../../global/A-Component/A-Component.class");
|
|
5
|
-
const A_Component_types_1 = require("../../global/A-Component/A-Component.types");
|
|
6
|
-
const A_Context_class_1 = require("../../global/A-Context/A-Context.class");
|
|
7
|
-
const A_Container_class_1 = require("../../global/A-Container/A-Container.class");
|
|
8
|
-
const A_Container_types_1 = require("../../global/A-Container/A-Container.types");
|
|
9
|
-
/**
|
|
10
|
-
* A_Stage Decorator uses to extend basic A-Concept Stage methods inside Containers.
|
|
11
|
-
*
|
|
12
|
-
* Using this decorator you can define extend a logic and sequence of the Container Stage methods execution.
|
|
13
|
-
*
|
|
14
|
-
* @param params
|
|
15
|
-
* @returns
|
|
16
|
-
*/
|
|
17
|
-
function A_Stage(method) {
|
|
18
|
-
return function A_Stage(config = {}) {
|
|
19
|
-
return function (target, propertyKey, descriptor) {
|
|
20
|
-
const meta = A_Context_class_1.A_Context.meta(target);
|
|
21
|
-
let metaKey;
|
|
22
|
-
const StageKey = `CONCEPT_STAGE::${method}`;
|
|
23
|
-
switch (true) {
|
|
24
|
-
case target instanceof A_Container_class_1.A_Container:
|
|
25
|
-
metaKey = A_Container_types_1.A_TYPES__ContainerMetaKey.STAGES;
|
|
26
|
-
break;
|
|
27
|
-
case target instanceof A_Component_class_1.A_Component:
|
|
28
|
-
metaKey = A_Component_types_1.A_TYPES__ComponentMetaKey.STAGES;
|
|
29
|
-
break;
|
|
30
|
-
default:
|
|
31
|
-
throw new Error(`A-Feature cannot be defined on the ${target} level`);
|
|
32
|
-
}
|
|
33
|
-
// Get the existed metadata or create a new one
|
|
34
|
-
const existedMeta = meta.get(metaKey)
|
|
35
|
-
|| new Map();
|
|
36
|
-
// Set the metadata of the method to define a custom Stage with name
|
|
37
|
-
const existedMetaValue = existedMeta.get(StageKey) || [];
|
|
38
|
-
// Add the new method to the metadata
|
|
39
|
-
existedMetaValue.push({
|
|
40
|
-
name: StageKey,
|
|
41
|
-
handler: propertyKey,
|
|
42
|
-
});
|
|
43
|
-
// Set the metadata of the method to define a custom Feature with name
|
|
44
|
-
existedMeta.set(StageKey, existedMetaValue);
|
|
45
|
-
// Update the metadata of the container with the new Stage definition
|
|
46
|
-
A_Context_class_1.A_Context
|
|
47
|
-
.meta(target)
|
|
48
|
-
.set(metaKey, existedMeta);
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
//# sourceMappingURL=A-Stage.decorator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A-Stage.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/A-Stage/A-Stage.decorator.ts"],"names":[],"mappings":";;AAwBA,0BA2DC;AAnFD,6FAAoF;AAKpF,6FAAkG;AAClG,uFAA8E;AAC9E,6FAAoF;AACpF,6FAAkG;AAQlG;;;;;;;GAOG;AACH,SAAgB,OAAO,CACnB,MAA6B;IAI7B,OAAO,SAAS,OAAO,CACnB,SAAmD,EAAE;QAErD,OAAO,UACH,MAAsC,EACtC,WAAmB,EACnB,UAA+C;YAG/C,MAAM,IAAI,GAAsC,2BAAS,CAAC,IAAI,CAAC,MAAa,CAAC,CAAC;YAE9E,IAAI,OAAO,CAAC;YAEZ,MAAM,QAAQ,GAAG,kBAAkB,MAAM,EAAE,CAAA;YAE3C,QAAQ,IAAI,EAAE,CAAC;gBACX,KAAK,MAAM,YAAY,+BAAW;oBAC9B,OAAO,GAAG,6CAAyB,CAAC,MAAM,CAAA;oBAC1C,MAAM;gBACV,KAAK,MAAM,YAAY,+BAAW;oBAC9B,OAAO,GAAG,6CAAyB,CAAC,MAAM,CAAA;oBAC1C,MAAM;gBACV;oBACI,MAAM,IAAI,KAAK,CAAC,sCAAsC,MAAM,QAAQ,CAAC,CAAC;YAC9E,CAAC;YAED,+CAA+C;YAC/C,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC;mBAC9B,IAAI,GAAG,EAAE,CAAC;YAEjB,oEAAoE;YAEpE,MAAM,gBAAgB,GAAG,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;YAEzD,qCAAqC;YACrC,gBAAgB,CAAC,IAAI,CAAC;gBAClB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,WAAW;aACvB,CAAC,CAAC;YAEH,sEAAsE;YACtE,WAAW,CAAC,GAAG,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC;YAG5C,sEAAsE;YACtE,2BAAS;iBACJ,IAAI,CAAC,MAAa,CAAC;iBACnB,GAAG,CACA,OAAO,EACP,WAAW,CACd,CAAC;QAEV,CAAC,CAAC;IACN,CAAC,CAAA;AACL,CAAC"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export type A_TYPES__A_StageDecoratorDescriptor = TypedPropertyDescriptor<() => any> | TypedPropertyDescriptor<(...args: any[]) => any> | TypedPropertyDescriptor<(...args: any[]) => Promise<any>> | TypedPropertyDescriptor<() => Promise<any>>;
|
|
2
|
-
export type A_TYPES__A_StageDecoratorConfig = {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A-Stage.decorator.types.js","sourceRoot":"","sources":["../../../../src/decorators/A-Stage/A-Stage.decorator.types.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A_ConceptMethods.decorator.js","sourceRoot":"","sources":["../../../src/decorators/A_ConceptMethods.decorator.ts"],"names":[],"mappings":""}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.A_Lazy = A_Lazy;
|
|
4
|
-
function RegisterLazyMethod(target, propertyKey, descriptor) {
|
|
5
|
-
const originalMethod = descriptor.value;
|
|
6
|
-
descriptor.value = function (...args) {
|
|
7
|
-
console.log(`Intercepted call to method: ${propertyKey}`);
|
|
8
|
-
console.log(`Arguments: `, args);
|
|
9
|
-
// You can modify args or do something else here
|
|
10
|
-
const result = originalMethod.apply(this, args);
|
|
11
|
-
// You can also modify the return value
|
|
12
|
-
console.log(`Result: `, result);
|
|
13
|
-
return result;
|
|
14
|
-
};
|
|
15
|
-
return descriptor;
|
|
16
|
-
}
|
|
17
|
-
function A_Lazy(params) {
|
|
18
|
-
return RegisterLazyMethod;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=A_Lazy.decorator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A_Lazy.decorator.js","sourceRoot":"","sources":["../../../src/decorators/A_Lazy.decorator.ts"],"names":[],"mappings":";;AAwBA,wBAMC;AA9BD,SAAS,kBAAkB,CACvB,MAAW,EACX,WAAmB,EACnB,UAA8B;IAE9B,MAAM,cAAc,GAAG,UAAU,CAAC,KAAK,CAAC;IAExC,UAAU,CAAC,KAAK,GAAG,UAAU,GAAG,IAAW;QACvC,OAAO,CAAC,GAAG,CAAC,+BAA+B,WAAW,EAAE,CAAC,CAAC;QAC1D,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;QAEjC,gDAAgD;QAChD,MAAM,MAAM,GAAG,cAAc,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAEhD,uCAAuC;QACvC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;QAChC,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC;IAEF,OAAO,UAAU,CAAC;AACtB,CAAC;AAID,SAAgB,MAAM,CAClB,MAEC;IAED,OAAO,kBAAkB,CAAC;AAC9B,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context Fragments is a set of arguments that can be used to define a Context for the pipeline.
|
|
3
|
-
* In other words it is a dynamic context that will be created on pipeline start and destroyed on pipeline end.
|
|
4
|
-
* During the execution of the pipeline, the Context Fragments can be used to pass the data between the pipeline steps.
|
|
5
|
-
*
|
|
6
|
-
* Or to store the data that is required for the pipeline execution
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
export declare class A_ContextFragment {
|
|
10
|
-
protected args: any[];
|
|
11
|
-
constructor(...args: any[]);
|
|
12
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.A_ContextFragment = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Context Fragments is a set of arguments that can be used to define a Context for the pipeline.
|
|
6
|
-
* In other words it is a dynamic context that will be created on pipeline start and destroyed on pipeline end.
|
|
7
|
-
* During the execution of the pipeline, the Context Fragments can be used to pass the data between the pipeline steps.
|
|
8
|
-
*
|
|
9
|
-
* Or to store the data that is required for the pipeline execution
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
class A_ContextFragment {
|
|
13
|
-
constructor(...args) {
|
|
14
|
-
this.args = [];
|
|
15
|
-
this.args = args;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.A_ContextFragment = A_ContextFragment;
|
|
19
|
-
//# sourceMappingURL=A-ContextFragment.class.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A-ContextFragment.class.js","sourceRoot":"","sources":["../../../../src/global/A-Context/A-ContextFragment.class.ts"],"names":[],"mappings":";;;AAEA;;;;;;;GAOG;AACH,MAAa,iBAAiB;IAI1B,YAAY,GAAG,IAAW;QAFhB,SAAI,GAAU,EAAE,CAAC;QAGvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;CAEJ;AARD,8CAQC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { A_TYPES__NamespaceConstructor, A_TYPES__INamespace } from './A_Namespace.types';
|
|
2
|
-
/**
|
|
3
|
-
* A_Namespace is a base class for all Namespaces in the A
|
|
4
|
-
*
|
|
5
|
-
* Namespace is a shared object within some environment, service or Application.
|
|
6
|
-
* It is used to share some data, configuration, dependencies, etc. between different parts of the application.
|
|
7
|
-
*
|
|
8
|
-
* Namespace allow to :
|
|
9
|
-
* - share some data between different parts of the application,
|
|
10
|
-
* - share some configuration between different parts of the application,
|
|
11
|
-
* - share some dependencies between different parts of the application,
|
|
12
|
-
* - extend the capabilities of the application by adding new features or modifying existing ones into base classes
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
export declare class A_Namespace<_ConstructorConfigType extends A_TYPES__NamespaceConstructor = any> implements A_TYPES__INamespace {
|
|
16
|
-
protected config?: _ConstructorConfigType | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Namespace namespace
|
|
19
|
-
*/
|
|
20
|
-
name: string;
|
|
21
|
-
/**
|
|
22
|
-
* Ready Promise to ensure the SDK is ready to use
|
|
23
|
-
*/
|
|
24
|
-
ready: Promise<void>;
|
|
25
|
-
constructor(config?: _ConstructorConfigType | undefined);
|
|
26
|
-
private hasInherited;
|
|
27
|
-
/**
|
|
28
|
-
* Initializes the Namespace or can be used to reinitialize the Namespace
|
|
29
|
-
*/
|
|
30
|
-
protected init(): Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
* Before init hook to be used in inherited classes
|
|
33
|
-
*
|
|
34
|
-
* @returns
|
|
35
|
-
*/
|
|
36
|
-
protected onBeforeInit(): Promise<void>;
|
|
37
|
-
/**
|
|
38
|
-
* Main initialization method for the SDK
|
|
39
|
-
*/
|
|
40
|
-
protected onInit(): Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
* After init hook to be used in inherited classes
|
|
43
|
-
*
|
|
44
|
-
* @returns
|
|
45
|
-
*/
|
|
46
|
-
protected onAfterInit(): Promise<void>;
|
|
47
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.A_Namespace = void 0;
|
|
13
|
-
const A_Context_class_1 = require("../A-Context/A-Context.class");
|
|
14
|
-
/**
|
|
15
|
-
* A_Namespace is a base class for all Namespaces in the A
|
|
16
|
-
*
|
|
17
|
-
* Namespace is a shared object within some environment, service or Application.
|
|
18
|
-
* It is used to share some data, configuration, dependencies, etc. between different parts of the application.
|
|
19
|
-
*
|
|
20
|
-
* Namespace allow to :
|
|
21
|
-
* - share some data between different parts of the application,
|
|
22
|
-
* - share some configuration between different parts of the application,
|
|
23
|
-
* - share some dependencies between different parts of the application,
|
|
24
|
-
* - extend the capabilities of the application by adding new features or modifying existing ones into base classes
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
class A_Namespace {
|
|
28
|
-
constructor(config) {
|
|
29
|
-
this.config = config;
|
|
30
|
-
/**
|
|
31
|
-
* Register the Namespace in the global Namespace provider
|
|
32
|
-
*/
|
|
33
|
-
this.name = A_Context_class_1.A_Context
|
|
34
|
-
.register(this, config === null || config === void 0 ? void 0 : config.name);
|
|
35
|
-
/**
|
|
36
|
-
* Run Async Initialization
|
|
37
|
-
*/
|
|
38
|
-
this.init();
|
|
39
|
-
}
|
|
40
|
-
hasInherited(cl) {
|
|
41
|
-
return this.constructor === cl
|
|
42
|
-
? false
|
|
43
|
-
: true;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Initializes the Namespace or can be used to reinitialize the Namespace
|
|
47
|
-
*/
|
|
48
|
-
init() {
|
|
49
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
-
if (!this.ready)
|
|
51
|
-
this.ready = new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
52
|
-
try {
|
|
53
|
-
yield this.onBeforeInit();
|
|
54
|
-
yield this.onInit();
|
|
55
|
-
yield this.onAfterInit();
|
|
56
|
-
return resolve();
|
|
57
|
-
}
|
|
58
|
-
catch (error) {
|
|
59
|
-
return reject(error);
|
|
60
|
-
}
|
|
61
|
-
}));
|
|
62
|
-
else
|
|
63
|
-
yield this.ready;
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
// ==============================================================
|
|
67
|
-
// ======================= HOOKS ================================
|
|
68
|
-
// ==============================================================
|
|
69
|
-
/**
|
|
70
|
-
* Before init hook to be used in inherited classes
|
|
71
|
-
*
|
|
72
|
-
* @returns
|
|
73
|
-
*/
|
|
74
|
-
onBeforeInit() {
|
|
75
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
76
|
-
return;
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Main initialization method for the SDK
|
|
81
|
-
*/
|
|
82
|
-
onInit() {
|
|
83
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
84
|
-
// global logger configuration
|
|
85
|
-
if (A_Context_class_1.A_Context.environment === 'server' && !this.hasInherited(A_Namespace)) {
|
|
86
|
-
// eslint-disable-next-line no-use-before-define
|
|
87
|
-
// process.on('uncaughtException', (error) => {
|
|
88
|
-
// // log only in case of A_AUTH_Error
|
|
89
|
-
// if (error instanceof A_Error)
|
|
90
|
-
// this.Logger.error(error);
|
|
91
|
-
// });
|
|
92
|
-
// // eslint-disable-next-line no-use-before-define
|
|
93
|
-
// process.on('unhandledRejection', (error) => {
|
|
94
|
-
// if (error instanceof A_Error)
|
|
95
|
-
// this.Logger.error(error);
|
|
96
|
-
// });
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* After init hook to be used in inherited classes
|
|
102
|
-
*
|
|
103
|
-
* @returns
|
|
104
|
-
*/
|
|
105
|
-
onAfterInit() {
|
|
106
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
-
return;
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
exports.A_Namespace = A_Namespace;
|
|
112
|
-
//# sourceMappingURL=A_Namespace.class.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A_Namespace.class.js","sourceRoot":"","sources":["../../../../src/global/A-Namespace/A_Namespace.class.ts"],"names":[],"mappings":";;;;;;;;;;;;AAKA,kEAAyD;AAGzD;;;;;;;;;;;;GAYG;AACH,MAAa,WAAW;IAcpB,YACc,MAA+B;QAA/B,WAAM,GAAN,MAAM,CAAyB;QAEzC;;WAEG;QACH,IAAI,CAAC,IAAI,GAAG,2BAAS;aAChB,QAAQ,CACL,IAAI,EACJ,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CACf,CAAC;QAEN;;WAEG;QACH,IAAI,CAAC,IAAI,EAAE,CAAC;IAChB,CAAC;IAIO,YAAY,CAAC,EAA2B;QAC5C,OAAO,IAAI,CAAC,WAAW,KAAK,EAAE;YAC1B,CAAC,CAAC,KAAK;YACP,CAAC,CAAC,IAAI,CAAA;IACd,CAAC;IAED;;OAEG;IACa,IAAI;;YAChB,IAAI,CAAC,IAAI,CAAC,KAAK;gBACX,IAAI,CAAC,KAAK,GAAG,IAAI,OAAO,CAAC,CAAO,OAAO,EAAE,MAAM,EAAE,EAAE;oBAC/C,IAAI,CAAC;wBACD,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;wBAE1B,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC;wBAEpB,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;wBAEzB,OAAO,OAAO,EAAE,CAAC;oBACrB,CAAC;oBAAC,OAAO,KAAK,EAAE,CAAC;wBACb,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;oBACzB,CAAC;gBACL,CAAC,CAAA,CAAC,CAAC;;gBAEH,MAAM,IAAI,CAAC,KAAK,CAAC;QACzB,CAAC;KAAA;IAID,iEAAiE;IACjE,iEAAiE;IACjE,iEAAiE;IAEjE;;;;OAIG;IACa,YAAY;;YACxB,OAAO;QACX,CAAC;KAAA;IAED;;OAEG;IACa,MAAM;;YAElB,8BAA8B;YAC9B,IAAI,2BAAS,CAAC,WAAW,KAAK,QAAQ,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,CAAC;gBACxE,gDAAgD;gBAChD,+CAA+C;gBAC/C,0CAA0C;gBAC1C,oCAAoC;gBACpC,oCAAoC;gBACpC,MAAM;gBACN,mDAAmD;gBACnD,gDAAgD;gBAChD,oCAAoC;gBACpC,oCAAoC;gBACpC,MAAM;YACV,CAAC;QACL,CAAC;KAAA;IAED;;;;OAIG;IACa,WAAW;;YACvB,OAAO;QACX,CAAC;KAAA;CACJ;AA1GD,kCA0GC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Namespace Constructor Interface
|
|
3
|
-
*/
|
|
4
|
-
export type A_TYPES__NamespaceConstructor = {
|
|
5
|
-
name?: string;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Namespace Interface
|
|
9
|
-
*/
|
|
10
|
-
export interface A_TYPES__INamespace {
|
|
11
|
-
name: string;
|
|
12
|
-
ready: Promise<void>;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Global Namespace Interface uses for extending the Namespace from other modules or SDKs
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
export interface A_TYPES__IGlobalNamespace extends A_TYPES__INamespace {
|
|
19
|
-
}
|