@adaas/a-concept 0.0.33 → 0.0.34
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-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/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-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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A_Namespace.types.js","sourceRoot":"","sources":["../../../../src/global/A-Namespace/A_Namespace.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { A_TYPES__A_DependencyDecoratorConfig } from "../decorators/A-Dependency/A-Dependency.decorator.types";
|
|
2
|
-
import { A_Concept } from "../global/A-Concept/A_Concept.class";
|
|
3
|
-
import { A_Context } from "../global/A-Namespace/A_Namespace.class";
|
|
4
|
-
import { A_TYPES__IContext } from "../global/A-Namespace/A_Namespace.types";
|
|
5
|
-
import { A_Module } from "../global/A_Module.class";
|
|
6
|
-
export declare class A_DependencyManager {
|
|
7
|
-
private dependencies;
|
|
8
|
-
protected Concept: A_Concept;
|
|
9
|
-
ready: Promise<void>;
|
|
10
|
-
constructor(concept: A_Concept, dependencies: Array<A_TYPES__A_DependencyDecoratorConfig>);
|
|
11
|
-
add(dependency: A_TYPES__A_DependencyDecoratorConfig): void;
|
|
12
|
-
resolve<T extends Array<typeof A_Module<any> | typeof A_Context>>(dependencies: [...T]): Promise<{
|
|
13
|
-
[K in keyof T]: InstanceType<T[K]>;
|
|
14
|
-
}>;
|
|
15
|
-
resolve<T extends (A_Module<any> | A_TYPES__IContext)>(dependency: {
|
|
16
|
-
new (...args: any[]): T;
|
|
17
|
-
}): Promise<T>;
|
|
18
|
-
private resolveModule;
|
|
19
|
-
private resolveContext;
|
|
20
|
-
hasModule(moduleConstructor: typeof A_SDK_Module.constructor): boolean;
|
|
21
|
-
useModule(module: A_SDK_Module): void;
|
|
22
|
-
init(): Promise<any>;
|
|
23
|
-
private activateModuleWithDependencies;
|
|
24
|
-
}
|
|
@@ -1,129 +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_DependencyManager = void 0;
|
|
13
|
-
const A_Namespace_class_1 = require("../global/A-Namespace/A_Namespace.class");
|
|
14
|
-
const A_Module_class_1 = require("../global/A_Module.class");
|
|
15
|
-
class A_DependencyManager {
|
|
16
|
-
constructor(concept, dependencies) {
|
|
17
|
-
this.dependencies = [];
|
|
18
|
-
this.Concept = concept;
|
|
19
|
-
this.dependencies = dependencies;
|
|
20
|
-
}
|
|
21
|
-
add(dependency) {
|
|
22
|
-
this.dependencies.push(dependency);
|
|
23
|
-
}
|
|
24
|
-
resolve(param1) {
|
|
25
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
-
let dependencies = [
|
|
27
|
-
...(Array.isArray(param1) ? param1 : [param1])
|
|
28
|
-
];
|
|
29
|
-
const resolvedDependencies = [];
|
|
30
|
-
for (const dependency of dependencies) {
|
|
31
|
-
switch (true) {
|
|
32
|
-
case dependency instanceof A_Module_class_1.A_Module:
|
|
33
|
-
resolvedDependencies.push(yield this.resolveModule(dependency));
|
|
34
|
-
break;
|
|
35
|
-
case dependency instanceof A_Namespace_class_1.A_Context:
|
|
36
|
-
resolvedDependencies.push(yield this.resolveContext(dependency));
|
|
37
|
-
break;
|
|
38
|
-
default:
|
|
39
|
-
throw new Error(`[!] A-Concept Dependency Manager: Unknown dependency type.`);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return Array.isArray(param1) ? resolvedDependencies : resolvedDependencies[0];
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
resolveModule(module) {
|
|
46
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
47
|
-
const resolvedDependencies = yield this.resolveDependencies(module.dependencies);
|
|
48
|
-
return yield module.init(resolvedDependencies);
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
resolveContext(context) {
|
|
52
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
53
|
-
const resolvedDependencies = yield this.resolveDependencies(context.dependencies);
|
|
54
|
-
return yield context.init(resolvedDependencies);
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
hasModule(moduleConstructor) {
|
|
58
|
-
const targetModule = this.modules.get(moduleConstructor);
|
|
59
|
-
return !!targetModule;
|
|
60
|
-
}
|
|
61
|
-
useModule(module) {
|
|
62
|
-
const existedModule = this.modules.get(A_SDK_Module.constructor);
|
|
63
|
-
if (!existedModule) {
|
|
64
|
-
module.useContext(this.context);
|
|
65
|
-
this.modules.set(A_SDK_Module.constructor, module);
|
|
66
|
-
}
|
|
67
|
-
this.context.Logger.warning(`[!] A-Express Module of type ${module.constructor} already included.`);
|
|
68
|
-
}
|
|
69
|
-
init() {
|
|
70
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
-
if (!this.ready) {
|
|
72
|
-
this.ready = new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
73
|
-
try {
|
|
74
|
-
for (const dependency of this.dependencies) {
|
|
75
|
-
// await this.activateModuleWithDependencies(instance);
|
|
76
|
-
const { source } = dependency;
|
|
77
|
-
const targetInstance = new source();
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Then we have to ensure that all modules are loaded even if some has async behavior
|
|
81
|
-
* To do this we have to wait for all modules to be ready before resolving the promise
|
|
82
|
-
*
|
|
83
|
-
* TODO: maybe it's not a case
|
|
84
|
-
*/
|
|
85
|
-
// this.readyStateInterval = setInterval(() => {
|
|
86
|
-
// if (!this.checkingReadyState()) {
|
|
87
|
-
// clearInterval(this.readyStateInterval);
|
|
88
|
-
// resolve();
|
|
89
|
-
// }
|
|
90
|
-
// }, 1000);
|
|
91
|
-
return resolve();
|
|
92
|
-
}
|
|
93
|
-
catch (error) {
|
|
94
|
-
this.context.Logger.error(`[!] A-SDK Dependency Manager activation failed with Error: `, error);
|
|
95
|
-
reject(error);
|
|
96
|
-
}
|
|
97
|
-
}));
|
|
98
|
-
}
|
|
99
|
-
return this.activationPromise;
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
// Recursively activate a module and its dependencies
|
|
103
|
-
activateModuleWithDependencies(module_1) {
|
|
104
|
-
return __awaiter(this, arguments, void 0, function* (module, path = []) {
|
|
105
|
-
if (this.activatedModules.has(module.constructor)) {
|
|
106
|
-
// Module is already activated
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
if (path.includes(module.constructor)) {
|
|
110
|
-
throw new Error(`Circular dependency detected: ${[...path, module.constructor].join(' -> ')}`);
|
|
111
|
-
}
|
|
112
|
-
// Recursively activate dependencies first
|
|
113
|
-
for (const dependency of module.dependencies) {
|
|
114
|
-
const dependencyModule = this.modules.get(dependency);
|
|
115
|
-
if (!dependencyModule) {
|
|
116
|
-
this.context.Logger.warning(`[!] Missing dependency: ${dependency.constructor} for module ${module.constructor}`, ` Module ${dependency.constructor} initialization will be skipped...`);
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
yield this.activateModuleWithDependencies(dependencyModule, [...path, module.constructor]);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
// Activate the module itself
|
|
123
|
-
yield module.load();
|
|
124
|
-
this.activatedModules.add(module.constructor);
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
exports.A_DependencyManager = A_DependencyManager;
|
|
129
|
-
//# sourceMappingURL=A_DependencyManager.class.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A_DependencyManager.class.js","sourceRoot":"","sources":["../../../src/managers/A_DependencyManager.class.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,+EAAoE;AAEpE,6DAAoD;AAGpD,MAAa,mBAAmB;IAQ5B,YACI,OAAkB,EAClB,YAAyD;QARrD,iBAAY,GA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6BAA6B;YAC7B,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;YAEpB,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QAClD,CAAC;KAAA;CAKJ;AA7KD,kDA6KC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { A_Component } from "../global/A-Component/A-Component.class";
|
|
2
|
-
export declare const A_COMPONENT_STORAGE__Definition__Extensions: unique symbol;
|
|
3
|
-
export declare const A_COMPONENT_STORAGE__Definition__Feature: unique symbol;
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* This storage is used to store the containers metadata, definitions and configurations
|
|
7
|
-
*/
|
|
8
|
-
export declare const A_COMPONENT_Storage: Map<typeof A_Component | {
|
|
9
|
-
new (...args: any[]): any;
|
|
10
|
-
}, Map<Symbol | string, any>>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// =================================================================================================
|
|
3
|
-
// ========== Component Storage ====================================================================
|
|
4
|
-
// =================================================================================================
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.A_COMPONENT_Storage = exports.A_COMPONENT_STORAGE__Definition__Feature = exports.A_COMPONENT_STORAGE__Definition__Extensions = void 0;
|
|
7
|
-
// -------------------------------------------------------------------------------
|
|
8
|
-
// ----- A Concept -> Component Declaration -> Symbol Declaration Keys ---------------
|
|
9
|
-
// -------------------------------------------------------------------------------
|
|
10
|
-
exports.A_COMPONENT_STORAGE__Definition__Extensions = Symbol('a-container-extensions');
|
|
11
|
-
exports.A_COMPONENT_STORAGE__Definition__Feature = Symbol('a-container-feature');
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* This storage is used to store the containers metadata, definitions and configurations
|
|
15
|
-
*/
|
|
16
|
-
exports.A_COMPONENT_Storage = new Map();
|
|
17
|
-
//# sourceMappingURL=A_Component.storage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A_Component.storage.js","sourceRoot":"","sources":["../../../src/storage/A_Component.storage.ts"],"names":[],"mappings":";AAAA,oGAAoG;AACpG,oGAAoG;AACpG,oGAAoG;;;AAKpG,kFAAkF;AAClF,uFAAuF;AACvF,kFAAkF;AACrE,QAAA,2CAA2C,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAC/E,QAAA,wCAAwC,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAItF;;;GAGG;AACU,QAAA,mBAAmB,GAM5B,IAAI,GAAG,EAAE,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const A_CONCEPT_STORAGE__MODULE_DECLARATION_Config: unique symbol;
|
|
2
|
-
export declare const A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootRun: unique symbol;
|
|
3
|
-
export declare const A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootLoad: unique symbol;
|
|
4
|
-
export declare const A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootBuild: unique symbol;
|
|
5
|
-
export declare const A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootPublish: unique symbol;
|
|
6
|
-
export declare const A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootTest: unique symbol;
|
|
7
|
-
/**
|
|
8
|
-
* Storage to keep the module declarations across all modules
|
|
9
|
-
*/
|
|
10
|
-
export declare const A_CONCEPT_ModulesDeclarationStorage: WeakMap<any, Map<string | Symbol, any>>;
|
|
11
|
-
/**
|
|
12
|
-
* Storage to keep the lifecycle declarations across all modules
|
|
13
|
-
*/
|
|
14
|
-
export declare const A_CONCEPT_LifecycleDeclarationsStorage: Map<Symbol, any>;
|
|
15
|
-
/**
|
|
16
|
-
* The simplest way to store the decorators
|
|
17
|
-
* If any extra API is needed, it can be added here or replaced with a new class
|
|
18
|
-
*/
|
|
19
|
-
export declare const A_CONCEPT_Storage: WeakMap<object, any>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// --------------------------------------------------------------
|
|
3
|
-
// ----- A Concept -> Module Declaration -> Main Config ---------
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.A_CONCEPT_Storage = exports.A_CONCEPT_LifecycleDeclarationsStorage = exports.A_CONCEPT_ModulesDeclarationStorage = exports.A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootTest = exports.A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootPublish = exports.A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootBuild = exports.A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootLoad = exports.A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootRun = exports.A_CONCEPT_STORAGE__MODULE_DECLARATION_Config = void 0;
|
|
6
|
-
// --------------------------------------------------------------
|
|
7
|
-
exports.A_CONCEPT_STORAGE__MODULE_DECLARATION_Config = Symbol('a-concept-modules-declaration');
|
|
8
|
-
// -------------------------------------------------------------------------------
|
|
9
|
-
// ----- A Concept -> Module Declaration -> Concept Lifecycle Extension_ ---------
|
|
10
|
-
// -------------------------------------------------------------------------------
|
|
11
|
-
exports.A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootRun = Symbol('a-concept-modules-declaration-lifecycle-root-run');
|
|
12
|
-
exports.A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootLoad = Symbol('a-concept-modules-declaration-lifecycle-root-load');
|
|
13
|
-
exports.A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootBuild = Symbol('a-concept-modules-declaration-lifecycle-root-build');
|
|
14
|
-
exports.A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootPublish = Symbol('a-concept-modules-declaration-lifecycle-root-publish');
|
|
15
|
-
exports.A_CONCEPT_STORAGE__MODULE_DECLARATION_Lifecycle_RootTest = Symbol('a-concept-modules-declaration-lifecycle-root-test');
|
|
16
|
-
/**
|
|
17
|
-
* Storage to keep the module declarations across all modules
|
|
18
|
-
*/
|
|
19
|
-
exports.A_CONCEPT_ModulesDeclarationStorage = new WeakMap();
|
|
20
|
-
/**
|
|
21
|
-
* Storage to keep the lifecycle declarations across all modules
|
|
22
|
-
*/
|
|
23
|
-
exports.A_CONCEPT_LifecycleDeclarationsStorage = new Map();
|
|
24
|
-
/**
|
|
25
|
-
* The simplest way to store the decorators
|
|
26
|
-
* If any extra API is needed, it can be added here or replaced with a new class
|
|
27
|
-
*/
|
|
28
|
-
exports.A_CONCEPT_Storage = new WeakMap();
|
|
29
|
-
//# sourceMappingURL=A_Concept.storage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A_Concept.storage.js","sourceRoot":"","sources":["../../../src/storage/A_Concept.storage.ts"],"names":[],"mappings":";AAEA,iEAAiE;AACjE,iEAAiE;;;AAIjE,iEAAiE;AACpD,QAAA,4CAA4C,GAAG,MAAM,CAAC,+BAA+B,CAAC,CAAC;AAIpG,kFAAkF;AAClF,mFAAmF;AACnF,kFAAkF;AACrE,QAAA,uDAAuD,GAAG,MAAM,CAAC,kDAAkD,CAAC,CAAC;AACrH,QAAA,wDAAwD,GAAG,MAAM,CAAC,mDAAmD,CAAC,CAAC;AACvH,QAAA,yDAAyD,GAAG,MAAM,CAAC,oDAAoD,CAAC,CAAC;AACzH,QAAA,2DAA2D,GAAG,MAAM,CAAC,sDAAsD,CAAC,CAAC;AAC7H,QAAA,wDAAwD,GAAG,MAAM,CAAC,mDAAmD,CAAC,CAAC;AAKpI;;GAEG;AACU,QAAA,mCAAmC,GAG5C,IAAI,OAAO,EAAE,CAAC;AAIlB;;GAEG;AACU,QAAA,sCAAsC,GAAqB,IAAI,GAAG,EAAE,CAAC;AAMlF;;;GAGG;AACU,QAAA,iBAAiB,GAAG,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { A_Container } from "../global/A-Container/A-Container.class";
|
|
2
|
-
export declare const A_CONTAINER_STORAGE__Definition__Lifecycle: unique symbol;
|
|
3
|
-
export declare const A_CONTAINER_STORAGE__Definition__Feature: unique symbol;
|
|
4
|
-
/**
|
|
5
|
-
* This storage is used to store the containers metadata, definitions and configurations
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
export declare const A_CONTAINER_Storage: WeakMap<typeof A_Container.constructor, Map<Symbol | string, any>>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// =================================================================================================
|
|
3
|
-
// ========== Container Storage ====================================================================
|
|
4
|
-
// =================================================================================================
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.A_CONTAINER_Storage = exports.A_CONTAINER_STORAGE__Definition__Feature = exports.A_CONTAINER_STORAGE__Definition__Lifecycle = void 0;
|
|
7
|
-
// -------------------------------------------------------------------------------
|
|
8
|
-
// ----- A Concept -> Container Declaration -> Symbol Declaration Keys ---------------
|
|
9
|
-
// -------------------------------------------------------------------------------
|
|
10
|
-
exports.A_CONTAINER_STORAGE__Definition__Lifecycle = Symbol('a-container-lifecycle');
|
|
11
|
-
exports.A_CONTAINER_STORAGE__Definition__Feature = Symbol('a-container-feature');
|
|
12
|
-
/**
|
|
13
|
-
* This storage is used to store the containers metadata, definitions and configurations
|
|
14
|
-
*
|
|
15
|
-
*/
|
|
16
|
-
exports.A_CONTAINER_Storage = new WeakMap();
|
|
17
|
-
//# sourceMappingURL=A_Container.storage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A_Container.storage.js","sourceRoot":"","sources":["../../../src/storage/A_Container.storage.ts"],"names":[],"mappings":";AAAA,oGAAoG;AACpG,oGAAoG;AACpG,oGAAoG;;;AAIpG,kFAAkF;AAClF,uFAAuF;AACvF,kFAAkF;AACrE,QAAA,0CAA0C,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC;AAC7E,QAAA,wCAAwC,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAItF;;;GAGG;AACU,QAAA,mBAAmB,GAAuE,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { A_TYPES__A_InjectDecoratorStorageInstruction } from "../decorators/A-Inject/A-Inject.decorator.types";
|
|
2
|
-
export declare const A_STORAGE__A_Inject_MethodArgumentsKey: unique symbol;
|
|
3
|
-
/**
|
|
4
|
-
* This storage is used to store the containers metadata, definitions and configurations
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
export declare const A_STORAGE__A_Inject_Instructions: WeakMap<{
|
|
8
|
-
new (...args: any[]): any;
|
|
9
|
-
}, Map<Symbol | string, A_TYPES__A_InjectDecoratorStorageInstruction>>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// =================================================================================================
|
|
3
|
-
// ========== A-Inject Storage ====================================================================
|
|
4
|
-
// =================================================================================================
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.A_STORAGE__A_Inject_Instructions = exports.A_STORAGE__A_Inject_MethodArgumentsKey = void 0;
|
|
7
|
-
exports.A_STORAGE__A_Inject_MethodArgumentsKey = Symbol('a-inject-method-arguments');
|
|
8
|
-
/**
|
|
9
|
-
* This storage is used to store the containers metadata, definitions and configurations
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
exports.A_STORAGE__A_Inject_Instructions = new WeakMap();
|
|
13
|
-
//# sourceMappingURL=A_Inject.storage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A_Inject.storage.js","sourceRoot":"","sources":["../../../src/storage/A_Inject.storage.ts"],"names":[],"mappings":";AAGA,oGAAoG;AACpG,mGAAmG;AACnG,oGAAoG;;;AAIvF,QAAA,sCAAsC,GAAG,MAAM,CAAC,2BAA2B,CAAC,CAAC;AAG1F;;;GAGG;AACU,QAAA,gCAAgC,GAWzC,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { A_Module } from "../global/A_Module.class";
|
|
2
|
-
export type A_DependencyManagerConstructorDependency = {
|
|
3
|
-
/**
|
|
4
|
-
* The name of the dependency
|
|
5
|
-
*/
|
|
6
|
-
behavior: 'sync' | 'async';
|
|
7
|
-
/**
|
|
8
|
-
* The source of the dependency
|
|
9
|
-
* Could be:
|
|
10
|
-
* - a string representing the path to the module
|
|
11
|
-
* - a module class
|
|
12
|
-
* - a module class constructor
|
|
13
|
-
*/
|
|
14
|
-
source: string | A_Module | typeof A_Module;
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"A_DependencyManager.types.js","sourceRoot":"","sources":["../../../src/types/A_DependencyManager.types.ts"],"names":[],"mappings":""}
|