@zudojs/core 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/application/application.d.ts +25 -0
- package/dist/application/application.d.ts.map +1 -0
- package/dist/application/application.js +86 -0
- package/dist/application/application.js.map +1 -0
- package/dist/application/applicationContext.context.d.ts +40 -0
- package/dist/application/applicationContext.context.d.ts.map +1 -0
- package/dist/application/applicationContext.context.js +43 -0
- package/dist/application/applicationContext.context.js.map +1 -0
- package/dist/application/applicationState.state.d.ts +5 -0
- package/dist/application/applicationState.state.d.ts.map +1 -0
- package/dist/application/applicationState.state.js +2 -0
- package/dist/application/applicationState.state.js.map +1 -0
- package/dist/application/index.d.ts +10 -0
- package/dist/application/index.d.ts.map +1 -0
- package/dist/application/index.js +10 -0
- package/dist/application/index.js.map +1 -0
- package/dist/configuration/configurationManager.manager.d.ts +68 -0
- package/dist/configuration/configurationManager.manager.d.ts.map +1 -0
- package/dist/configuration/configurationManager.manager.js +157 -0
- package/dist/configuration/configurationManager.manager.js.map +1 -0
- package/dist/configuration/core/configuration.d.ts +53 -0
- package/dist/configuration/core/configuration.d.ts.map +1 -0
- package/dist/configuration/core/configuration.js +206 -0
- package/dist/configuration/core/configuration.js.map +1 -0
- package/dist/configuration/core/configurationKey.key.d.ts +43 -0
- package/dist/configuration/core/configurationKey.key.d.ts.map +1 -0
- package/dist/configuration/core/configurationKey.key.js +27 -0
- package/dist/configuration/core/configurationKey.key.js.map +1 -0
- package/dist/configuration/core/configurationSource.source.d.ts +114 -0
- package/dist/configuration/core/configurationSource.source.d.ts.map +1 -0
- package/dist/configuration/core/configurationSource.source.js +55 -0
- package/dist/configuration/core/configurationSource.source.js.map +1 -0
- package/dist/configuration/core/index.d.ts +12 -0
- package/dist/configuration/core/index.d.ts.map +1 -0
- package/dist/configuration/core/index.js +9 -0
- package/dist/configuration/core/index.js.map +1 -0
- package/dist/configuration/error/configurationError.error.d.ts +108 -0
- package/dist/configuration/error/configurationError.error.d.ts.map +1 -0
- package/dist/configuration/error/configurationError.error.js +168 -0
- package/dist/configuration/error/configurationError.error.js.map +1 -0
- package/dist/configuration/error/configurationRedactor.redactor.d.ts +111 -0
- package/dist/configuration/error/configurationRedactor.redactor.d.ts.map +1 -0
- package/dist/configuration/error/configurationRedactor.redactor.js +176 -0
- package/dist/configuration/error/configurationRedactor.redactor.js.map +1 -0
- package/dist/configuration/error/index.d.ts +10 -0
- package/dist/configuration/error/index.d.ts.map +1 -0
- package/dist/configuration/error/index.js +8 -0
- package/dist/configuration/error/index.js.map +1 -0
- package/dist/configuration/events/configurationEvents.events.d.ts +174 -0
- package/dist/configuration/events/configurationEvents.events.d.ts.map +1 -0
- package/dist/configuration/events/configurationEvents.events.js +99 -0
- package/dist/configuration/events/configurationEvents.events.js.map +1 -0
- package/dist/configuration/events/index.d.ts +8 -0
- package/dist/configuration/events/index.d.ts.map +1 -0
- package/dist/configuration/events/index.js +7 -0
- package/dist/configuration/events/index.js.map +1 -0
- package/dist/configuration/index.d.ts +30 -0
- package/dist/configuration/index.d.ts.map +1 -0
- package/dist/configuration/index.js +29 -0
- package/dist/configuration/index.js.map +1 -0
- package/dist/configuration/loader/configurationLoader.loader.d.ts +113 -0
- package/dist/configuration/loader/configurationLoader.loader.d.ts.map +1 -0
- package/dist/configuration/loader/configurationLoader.loader.js +155 -0
- package/dist/configuration/loader/configurationLoader.loader.js.map +1 -0
- package/dist/configuration/loader/index.d.ts +8 -0
- package/dist/configuration/loader/index.d.ts.map +1 -0
- package/dist/configuration/loader/index.js +7 -0
- package/dist/configuration/loader/index.js.map +1 -0
- package/dist/configuration/registry/configurationProvider.provider.d.ts +130 -0
- package/dist/configuration/registry/configurationProvider.provider.d.ts.map +1 -0
- package/dist/configuration/registry/configurationProvider.provider.js +113 -0
- package/dist/configuration/registry/configurationProvider.provider.js.map +1 -0
- package/dist/configuration/registry/configurationRegistry.registry.d.ts +143 -0
- package/dist/configuration/registry/configurationRegistry.registry.d.ts.map +1 -0
- package/dist/configuration/registry/configurationRegistry.registry.js +157 -0
- package/dist/configuration/registry/configurationRegistry.registry.js.map +1 -0
- package/dist/configuration/registry/index.d.ts +10 -0
- package/dist/configuration/registry/index.d.ts.map +1 -0
- package/dist/configuration/registry/index.js +8 -0
- package/dist/configuration/registry/index.js.map +1 -0
- package/dist/configuration/schema/configurationSchema.schema.d.ts +159 -0
- package/dist/configuration/schema/configurationSchema.schema.d.ts.map +1 -0
- package/dist/configuration/schema/configurationSchema.schema.js +155 -0
- package/dist/configuration/schema/configurationSchema.schema.js.map +1 -0
- package/dist/configuration/schema/configurationValidation.validator.d.ts +82 -0
- package/dist/configuration/schema/configurationValidation.validator.d.ts.map +1 -0
- package/dist/configuration/schema/configurationValidation.validator.js +110 -0
- package/dist/configuration/schema/configurationValidation.validator.js.map +1 -0
- package/dist/configuration/schema/index.d.ts +10 -0
- package/dist/configuration/schema/index.d.ts.map +1 -0
- package/dist/configuration/schema/index.js +8 -0
- package/dist/configuration/schema/index.js.map +1 -0
- package/dist/container/container.d.ts +43 -0
- package/dist/container/container.d.ts.map +1 -0
- package/dist/container/container.js +91 -0
- package/dist/container/container.js.map +1 -0
- package/dist/container/index.d.ts +8 -0
- package/dist/container/index.d.ts.map +1 -0
- package/dist/container/index.js +8 -0
- package/dist/container/index.js.map +1 -0
- package/dist/container/provider.d.ts +28 -0
- package/dist/container/provider.d.ts.map +1 -0
- package/dist/container/provider.js +2 -0
- package/dist/container/provider.js.map +1 -0
- package/dist/container/scope.d.ts +24 -0
- package/dist/container/scope.d.ts.map +1 -0
- package/dist/container/scope.js +2 -0
- package/dist/container/scope.js.map +1 -0
- package/dist/container/token.d.ts +18 -0
- package/dist/container/token.d.ts.map +1 -0
- package/dist/container/token.js +10 -0
- package/dist/container/token.js.map +1 -0
- package/dist/context/core/context.d.ts +95 -0
- package/dist/context/core/context.d.ts.map +1 -0
- package/dist/context/core/context.js +103 -0
- package/dist/context/core/context.js.map +1 -0
- package/dist/context/core/contextKey.key.d.ts +60 -0
- package/dist/context/core/contextKey.key.d.ts.map +1 -0
- package/dist/context/core/contextKey.key.js +58 -0
- package/dist/context/core/contextKey.key.js.map +1 -0
- package/dist/context/core/executionContext.context.d.ts +131 -0
- package/dist/context/core/executionContext.context.d.ts.map +1 -0
- package/dist/context/core/executionContext.context.js +81 -0
- package/dist/context/core/executionContext.context.js.map +1 -0
- package/dist/context/core/index.d.ts +9 -0
- package/dist/context/core/index.d.ts.map +1 -0
- package/dist/context/core/index.js +9 -0
- package/dist/context/core/index.js.map +1 -0
- package/dist/context/index.d.ts +8 -0
- package/dist/context/index.d.ts.map +1 -0
- package/dist/context/index.js +8 -0
- package/dist/context/index.js.map +1 -0
- package/dist/context/provider/contextProvider.provider.d.ts +61 -0
- package/dist/context/provider/contextProvider.provider.d.ts.map +1 -0
- package/dist/context/provider/contextProvider.provider.js +44 -0
- package/dist/context/provider/contextProvider.provider.js.map +1 -0
- package/dist/context/provider/contextStorage.storage.d.ts +54 -0
- package/dist/context/provider/contextStorage.storage.d.ts.map +1 -0
- package/dist/context/provider/contextStorage.storage.js +74 -0
- package/dist/context/provider/contextStorage.storage.js.map +1 -0
- package/dist/context/provider/index.d.ts +8 -0
- package/dist/context/provider/index.d.ts.map +1 -0
- package/dist/context/provider/index.js +8 -0
- package/dist/context/provider/index.js.map +1 -0
- package/dist/context/snapshot/contextSnapshot.snapshot.d.ts +48 -0
- package/dist/context/snapshot/contextSnapshot.snapshot.d.ts.map +1 -0
- package/dist/context/snapshot/contextSnapshot.snapshot.js +33 -0
- package/dist/context/snapshot/contextSnapshot.snapshot.js.map +1 -0
- package/dist/context/snapshot/index.d.ts +8 -0
- package/dist/context/snapshot/index.d.ts.map +1 -0
- package/dist/context/snapshot/index.js +8 -0
- package/dist/context/snapshot/index.js.map +1 -0
- package/dist/context/values/contextValues.values.d.ts +84 -0
- package/dist/context/values/contextValues.values.d.ts.map +1 -0
- package/dist/context/values/contextValues.values.js +120 -0
- package/dist/context/values/contextValues.values.js.map +1 -0
- package/dist/context/values/index.d.ts +7 -0
- package/dist/context/values/index.d.ts.map +1 -0
- package/dist/context/values/index.js +7 -0
- package/dist/context/values/index.js.map +1 -0
- package/dist/contracts/adapter.d.ts +44 -0
- package/dist/contracts/adapter.d.ts.map +1 -0
- package/dist/contracts/adapter.js +2 -0
- package/dist/contracts/adapter.js.map +1 -0
- package/dist/contracts/disposable.d.ts +23 -0
- package/dist/contracts/disposable.d.ts.map +1 -0
- package/dist/contracts/disposable.js +2 -0
- package/dist/contracts/disposable.js.map +1 -0
- package/dist/contracts/handler.d.ts +32 -0
- package/dist/contracts/handler.d.ts.map +1 -0
- package/dist/contracts/handler.js +9 -0
- package/dist/contracts/handler.js.map +1 -0
- package/dist/contracts/index.d.ts +7 -0
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/index.js +7 -0
- package/dist/contracts/index.js.map +1 -0
- package/dist/errors/errorCode.code.d.ts +78 -0
- package/dist/errors/errorCode.code.d.ts.map +1 -0
- package/dist/errors/errorCode.code.js +84 -0
- package/dist/errors/errorCode.code.js.map +1 -0
- package/dist/errors/exceptions.d.ts +52 -0
- package/dist/errors/exceptions.d.ts.map +1 -0
- package/dist/errors/exceptions.js +125 -0
- package/dist/errors/exceptions.js.map +1 -0
- package/dist/errors/frameworkError.error.d.ts +51 -0
- package/dist/errors/frameworkError.error.d.ts.map +1 -0
- package/dist/errors/frameworkError.error.js +54 -0
- package/dist/errors/frameworkError.error.js.map +1 -0
- package/dist/errors/index.d.ts +10 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +9 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +75 -0
- package/dist/index.js.map +1 -0
- package/dist/lifecycle/core/index.d.ts +9 -0
- package/dist/lifecycle/core/index.d.ts.map +1 -0
- package/dist/lifecycle/core/index.js +9 -0
- package/dist/lifecycle/core/index.js.map +1 -0
- package/dist/lifecycle/core/lifecycle.d.ts +44 -0
- package/dist/lifecycle/core/lifecycle.d.ts.map +1 -0
- package/dist/lifecycle/core/lifecycle.js +179 -0
- package/dist/lifecycle/core/lifecycle.js.map +1 -0
- package/dist/lifecycle/core/lifecycleHook.hook.d.ts +59 -0
- package/dist/lifecycle/core/lifecycleHook.hook.d.ts.map +1 -0
- package/dist/lifecycle/core/lifecycleHook.hook.js +37 -0
- package/dist/lifecycle/core/lifecycleHook.hook.js.map +1 -0
- package/dist/lifecycle/core/lifecycleRegistry.registry.d.ts +101 -0
- package/dist/lifecycle/core/lifecycleRegistry.registry.d.ts.map +1 -0
- package/dist/lifecycle/core/lifecycleRegistry.registry.js +115 -0
- package/dist/lifecycle/core/lifecycleRegistry.registry.js.map +1 -0
- package/dist/lifecycle/core/lifecycleState.state.d.ts +2 -0
- package/dist/lifecycle/core/lifecycleState.state.d.ts.map +1 -0
- package/dist/lifecycle/core/lifecycleState.state.js +2 -0
- package/dist/lifecycle/core/lifecycleState.state.js.map +1 -0
- package/dist/lifecycle/index.d.ts +10 -0
- package/dist/lifecycle/index.d.ts.map +1 -0
- package/dist/lifecycle/index.js +10 -0
- package/dist/lifecycle/index.js.map +1 -0
- package/dist/lifecycle/manager/index.d.ts +7 -0
- package/dist/lifecycle/manager/index.d.ts.map +1 -0
- package/dist/lifecycle/manager/index.js +7 -0
- package/dist/lifecycle/manager/index.js.map +1 -0
- package/dist/lifecycle/manager/lifecycleManager.manager.d.ts +33 -0
- package/dist/lifecycle/manager/lifecycleManager.manager.d.ts.map +1 -0
- package/dist/lifecycle/manager/lifecycleManager.manager.js +157 -0
- package/dist/lifecycle/manager/lifecycleManager.manager.js.map +1 -0
- package/dist/lifecycle/scope/index.d.ts +8 -0
- package/dist/lifecycle/scope/index.d.ts.map +1 -0
- package/dist/lifecycle/scope/index.js +8 -0
- package/dist/lifecycle/scope/index.js.map +1 -0
- package/dist/lifecycle/scope/lifecycleScope.scope.d.ts +49 -0
- package/dist/lifecycle/scope/lifecycleScope.scope.d.ts.map +1 -0
- package/dist/lifecycle/scope/lifecycleScope.scope.js +234 -0
- package/dist/lifecycle/scope/lifecycleScope.scope.js.map +1 -0
- package/dist/logging/console/consoleLogger.logger.d.ts +59 -0
- package/dist/logging/console/consoleLogger.logger.d.ts.map +1 -0
- package/dist/logging/console/consoleLogger.logger.js +180 -0
- package/dist/logging/console/consoleLogger.logger.js.map +1 -0
- package/dist/logging/console/index.d.ts +8 -0
- package/dist/logging/console/index.d.ts.map +1 -0
- package/dist/logging/console/index.js +8 -0
- package/dist/logging/console/index.js.map +1 -0
- package/dist/logging/console/loggerFactory.factory.d.ts +45 -0
- package/dist/logging/console/loggerFactory.factory.d.ts.map +1 -0
- package/dist/logging/console/loggerFactory.factory.js +37 -0
- package/dist/logging/console/loggerFactory.factory.js.map +1 -0
- package/dist/logging/core/index.d.ts +11 -0
- package/dist/logging/core/index.d.ts.map +1 -0
- package/dist/logging/core/index.js +11 -0
- package/dist/logging/core/index.js.map +1 -0
- package/dist/logging/core/logEntry.entry.d.ts +73 -0
- package/dist/logging/core/logEntry.entry.d.ts.map +1 -0
- package/dist/logging/core/logEntry.entry.js +38 -0
- package/dist/logging/core/logEntry.entry.js.map +1 -0
- package/dist/logging/core/logLevel.level.d.ts +29 -0
- package/dist/logging/core/logLevel.level.d.ts.map +1 -0
- package/dist/logging/core/logLevel.level.js +34 -0
- package/dist/logging/core/logLevel.level.js.map +1 -0
- package/dist/logging/core/logger.d.ts +80 -0
- package/dist/logging/core/logger.d.ts.map +1 -0
- package/dist/logging/core/logger.js +39 -0
- package/dist/logging/core/logger.js.map +1 -0
- package/dist/logging/core/loggerContext.context.d.ts +62 -0
- package/dist/logging/core/loggerContext.context.d.ts.map +1 -0
- package/dist/logging/core/loggerContext.context.js +19 -0
- package/dist/logging/core/loggerContext.context.js.map +1 -0
- package/dist/logging/core/loggerOptions.options.d.ts +69 -0
- package/dist/logging/core/loggerOptions.options.d.ts.map +1 -0
- package/dist/logging/core/loggerOptions.options.js +10 -0
- package/dist/logging/core/loggerOptions.options.js.map +1 -0
- package/dist/logging/index.d.ts +8 -0
- package/dist/logging/index.d.ts.map +1 -0
- package/dist/logging/index.js +8 -0
- package/dist/logging/index.js.map +1 -0
- package/dist/modules/index.d.ts +20 -0
- package/dist/modules/index.d.ts.map +1 -0
- package/dist/modules/index.js +52 -0
- package/dist/modules/index.js.map +1 -0
- package/dist/modules/module.d.ts +171 -0
- package/dist/modules/module.d.ts.map +1 -0
- package/dist/modules/module.js +99 -0
- package/dist/modules/module.js.map +1 -0
- package/dist/modules/moduleContext.context.d.ts +170 -0
- package/dist/modules/moduleContext.context.d.ts.map +1 -0
- package/dist/modules/moduleContext.context.js +82 -0
- package/dist/modules/moduleContext.context.js.map +1 -0
- package/dist/modules/moduleDefinition.definition.d.ts +112 -0
- package/dist/modules/moduleDefinition.definition.d.ts.map +1 -0
- package/dist/modules/moduleDefinition.definition.js +101 -0
- package/dist/modules/moduleDefinition.definition.js.map +1 -0
- package/dist/modules/moduleDependency/index.d.ts +10 -0
- package/dist/modules/moduleDependency/index.d.ts.map +1 -0
- package/dist/modules/moduleDependency/index.js +10 -0
- package/dist/modules/moduleDependency/index.js.map +1 -0
- package/dist/modules/moduleDependency/moduleDependency.graph.d.ts +43 -0
- package/dist/modules/moduleDependency/moduleDependency.graph.d.ts.map +1 -0
- package/dist/modules/moduleDependency/moduleDependency.graph.js +175 -0
- package/dist/modules/moduleDependency/moduleDependency.graph.js.map +1 -0
- package/dist/modules/moduleDependency/moduleDependency.ordering.d.ts +38 -0
- package/dist/modules/moduleDependency/moduleDependency.ordering.d.ts.map +1 -0
- package/dist/modules/moduleDependency/moduleDependency.ordering.js +112 -0
- package/dist/modules/moduleDependency/moduleDependency.ordering.js.map +1 -0
- package/dist/modules/moduleDependency/moduleDependency.type.d.ts +66 -0
- package/dist/modules/moduleDependency/moduleDependency.type.d.ts.map +1 -0
- package/dist/modules/moduleDependency/moduleDependency.type.js +2 -0
- package/dist/modules/moduleDependency/moduleDependency.type.js.map +1 -0
- package/dist/modules/moduleError/index.d.ts +11 -0
- package/dist/modules/moduleError/index.d.ts.map +1 -0
- package/dist/modules/moduleError/index.js +11 -0
- package/dist/modules/moduleError/index.js.map +1 -0
- package/dist/modules/moduleError/moduleError.base.d.ts +119 -0
- package/dist/modules/moduleError/moduleError.base.d.ts.map +1 -0
- package/dist/modules/moduleError/moduleError.base.js +105 -0
- package/dist/modules/moduleError/moduleError.base.js.map +1 -0
- package/dist/modules/moduleError/moduleError.dependency.d.ts +45 -0
- package/dist/modules/moduleError/moduleError.dependency.d.ts.map +1 -0
- package/dist/modules/moduleError/moduleError.dependency.js +55 -0
- package/dist/modules/moduleError/moduleError.dependency.js.map +1 -0
- package/dist/modules/moduleError/moduleError.helpers.d.ts +22 -0
- package/dist/modules/moduleError/moduleError.helpers.d.ts.map +1 -0
- package/dist/modules/moduleError/moduleError.helpers.js +32 -0
- package/dist/modules/moduleError/moduleError.helpers.js.map +1 -0
- package/dist/modules/moduleError/moduleError.lifecycle.d.ts +61 -0
- package/dist/modules/moduleError/moduleError.lifecycle.d.ts.map +1 -0
- package/dist/modules/moduleError/moduleError.lifecycle.js +107 -0
- package/dist/modules/moduleError/moduleError.lifecycle.js.map +1 -0
- package/dist/modules/moduleError/moduleError.registration.d.ts +21 -0
- package/dist/modules/moduleError/moduleError.registration.d.ts.map +1 -0
- package/dist/modules/moduleError/moduleError.registration.js +39 -0
- package/dist/modules/moduleError/moduleError.registration.js.map +1 -0
- package/dist/modules/moduleLifecycle/index.d.ts +10 -0
- package/dist/modules/moduleLifecycle/index.d.ts.map +1 -0
- package/dist/modules/moduleLifecycle/index.js +10 -0
- package/dist/modules/moduleLifecycle/index.js.map +1 -0
- package/dist/modules/moduleLifecycle/moduleLifecycle.lifecycle.d.ts +41 -0
- package/dist/modules/moduleLifecycle/moduleLifecycle.lifecycle.d.ts.map +1 -0
- package/dist/modules/moduleLifecycle/moduleLifecycle.lifecycle.js +116 -0
- package/dist/modules/moduleLifecycle/moduleLifecycle.lifecycle.js.map +1 -0
- package/dist/modules/moduleLifecycle/moduleLifecycle.stateMachine.d.ts +21 -0
- package/dist/modules/moduleLifecycle/moduleLifecycle.stateMachine.d.ts.map +1 -0
- package/dist/modules/moduleLifecycle/moduleLifecycle.stateMachine.js +107 -0
- package/dist/modules/moduleLifecycle/moduleLifecycle.stateMachine.js.map +1 -0
- package/dist/modules/moduleLifecycle/moduleLifecycle.type.d.ts +94 -0
- package/dist/modules/moduleLifecycle/moduleLifecycle.type.d.ts.map +1 -0
- package/dist/modules/moduleLifecycle/moduleLifecycle.type.js +11 -0
- package/dist/modules/moduleLifecycle/moduleLifecycle.type.js.map +1 -0
- package/dist/modules/moduleLoader/index.d.ts +9 -0
- package/dist/modules/moduleLoader/index.d.ts.map +1 -0
- package/dist/modules/moduleLoader/index.js +9 -0
- package/dist/modules/moduleLoader/index.js.map +1 -0
- package/dist/modules/moduleLoader/moduleLoader.loader.d.ts +36 -0
- package/dist/modules/moduleLoader/moduleLoader.loader.d.ts.map +1 -0
- package/dist/modules/moduleLoader/moduleLoader.loader.js +164 -0
- package/dist/modules/moduleLoader/moduleLoader.loader.js.map +1 -0
- package/dist/modules/moduleLoader/moduleLoader.type.d.ts +57 -0
- package/dist/modules/moduleLoader/moduleLoader.type.d.ts.map +1 -0
- package/dist/modules/moduleLoader/moduleLoader.type.js +11 -0
- package/dist/modules/moduleLoader/moduleLoader.type.js.map +1 -0
- package/dist/modules/moduleMetadata.metadata.d.ts +36 -0
- package/dist/modules/moduleMetadata.metadata.d.ts.map +1 -0
- package/dist/modules/moduleMetadata.metadata.js +105 -0
- package/dist/modules/moduleMetadata.metadata.js.map +1 -0
- package/dist/modules/moduleRegistry/index.d.ts +8 -0
- package/dist/modules/moduleRegistry/index.d.ts.map +1 -0
- package/dist/modules/moduleRegistry/index.js +8 -0
- package/dist/modules/moduleRegistry/index.js.map +1 -0
- package/dist/modules/moduleRegistry/moduleRegistry.registry.d.ts +35 -0
- package/dist/modules/moduleRegistry/moduleRegistry.registry.d.ts.map +1 -0
- package/dist/modules/moduleRegistry/moduleRegistry.registry.js +155 -0
- package/dist/modules/moduleRegistry/moduleRegistry.registry.js.map +1 -0
- package/dist/modules/moduleRegistry/moduleRegistry.type.d.ts +134 -0
- package/dist/modules/moduleRegistry/moduleRegistry.type.d.ts.map +1 -0
- package/dist/modules/moduleRegistry/moduleRegistry.type.js +2 -0
- package/dist/modules/moduleRegistry/moduleRegistry.type.js.map +1 -0
- package/dist/runtime/index.d.ts +24 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +42 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/runtime/runtime.d.ts +89 -0
- package/dist/runtime/runtime.d.ts.map +1 -0
- package/dist/runtime/runtime.js +179 -0
- package/dist/runtime/runtime.js.map +1 -0
- package/dist/runtime/runtimeBootstrap/index.d.ts +10 -0
- package/dist/runtime/runtimeBootstrap/index.d.ts.map +1 -0
- package/dist/runtime/runtimeBootstrap/index.js +9 -0
- package/dist/runtime/runtimeBootstrap/index.js.map +1 -0
- package/dist/runtime/runtimeBootstrap/pipeline/index.d.ts +8 -0
- package/dist/runtime/runtimeBootstrap/pipeline/index.d.ts.map +1 -0
- package/dist/runtime/runtimeBootstrap/pipeline/index.js +8 -0
- package/dist/runtime/runtimeBootstrap/pipeline/index.js.map +1 -0
- package/dist/runtime/runtimeBootstrap/pipeline/runtimeBootstrap.invoke.d.ts +6 -0
- package/dist/runtime/runtimeBootstrap/pipeline/runtimeBootstrap.invoke.d.ts.map +1 -0
- package/dist/runtime/runtimeBootstrap/pipeline/runtimeBootstrap.invoke.js +27 -0
- package/dist/runtime/runtimeBootstrap/pipeline/runtimeBootstrap.invoke.js.map +1 -0
- package/dist/runtime/runtimeBootstrap/pipeline/runtimeBootstrap.pipeline.d.ts +19 -0
- package/dist/runtime/runtimeBootstrap/pipeline/runtimeBootstrap.pipeline.d.ts.map +1 -0
- package/dist/runtime/runtimeBootstrap/pipeline/runtimeBootstrap.pipeline.js +107 -0
- package/dist/runtime/runtimeBootstrap/pipeline/runtimeBootstrap.pipeline.js.map +1 -0
- package/dist/runtime/runtimeBootstrap/runtimeBootstrap.core.d.ts +25 -0
- package/dist/runtime/runtimeBootstrap/runtimeBootstrap.core.d.ts.map +1 -0
- package/dist/runtime/runtimeBootstrap/runtimeBootstrap.core.js +122 -0
- package/dist/runtime/runtimeBootstrap/runtimeBootstrap.core.js.map +1 -0
- package/dist/runtime/runtimeBootstrap/runtimeBootstrap.type.d.ts +78 -0
- package/dist/runtime/runtimeBootstrap/runtimeBootstrap.type.d.ts.map +1 -0
- package/dist/runtime/runtimeBootstrap/runtimeBootstrap.type.js +2 -0
- package/dist/runtime/runtimeBootstrap/runtimeBootstrap.type.js.map +1 -0
- package/dist/runtime/runtimeContext/index.d.ts +10 -0
- package/dist/runtime/runtimeContext/index.d.ts.map +1 -0
- package/dist/runtime/runtimeContext/index.js +9 -0
- package/dist/runtime/runtimeContext/index.js.map +1 -0
- package/dist/runtime/runtimeContext/runtimeContext.core.d.ts +38 -0
- package/dist/runtime/runtimeContext/runtimeContext.core.d.ts.map +1 -0
- package/dist/runtime/runtimeContext/runtimeContext.core.js +99 -0
- package/dist/runtime/runtimeContext/runtimeContext.core.js.map +1 -0
- package/dist/runtime/runtimeContext/runtimeContext.factory.d.ts +22 -0
- package/dist/runtime/runtimeContext/runtimeContext.factory.d.ts.map +1 -0
- package/dist/runtime/runtimeContext/runtimeContext.factory.js +43 -0
- package/dist/runtime/runtimeContext/runtimeContext.factory.js.map +1 -0
- package/dist/runtime/runtimeContext/runtimeContext.type.d.ts +68 -0
- package/dist/runtime/runtimeContext/runtimeContext.type.d.ts.map +1 -0
- package/dist/runtime/runtimeContext/runtimeContext.type.js +2 -0
- package/dist/runtime/runtimeContext/runtimeContext.type.js.map +1 -0
- package/dist/runtime/runtimeEnvironment/detection/index.d.ts +9 -0
- package/dist/runtime/runtimeEnvironment/detection/index.d.ts.map +1 -0
- package/dist/runtime/runtimeEnvironment/detection/index.js +9 -0
- package/dist/runtime/runtimeEnvironment/detection/index.js.map +1 -0
- package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.detection.d.ts +8 -0
- package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.detection.d.ts.map +1 -0
- package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.detection.js +92 -0
- package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.detection.js.map +1 -0
- package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.env.d.ts +4 -0
- package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.env.d.ts.map +1 -0
- package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.env.js +51 -0
- package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.env.js.map +1 -0
- package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.os.d.ts +4 -0
- package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.os.d.ts.map +1 -0
- package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.os.js +26 -0
- package/dist/runtime/runtimeEnvironment/detection/runtimeEnvironment.os.js.map +1 -0
- package/dist/runtime/runtimeEnvironment/index.d.ts +10 -0
- package/dist/runtime/runtimeEnvironment/index.d.ts.map +1 -0
- package/dist/runtime/runtimeEnvironment/index.js +9 -0
- package/dist/runtime/runtimeEnvironment/index.js.map +1 -0
- package/dist/runtime/runtimeEnvironment/runtimeEnvironment.core.d.ts +41 -0
- package/dist/runtime/runtimeEnvironment/runtimeEnvironment.core.d.ts.map +1 -0
- package/dist/runtime/runtimeEnvironment/runtimeEnvironment.core.js +105 -0
- package/dist/runtime/runtimeEnvironment/runtimeEnvironment.core.js.map +1 -0
- package/dist/runtime/runtimeEnvironment/runtimeEnvironment.type.d.ts +108 -0
- package/dist/runtime/runtimeEnvironment/runtimeEnvironment.type.d.ts.map +1 -0
- package/dist/runtime/runtimeEnvironment/runtimeEnvironment.type.js +2 -0
- package/dist/runtime/runtimeEnvironment/runtimeEnvironment.type.js.map +1 -0
- package/dist/runtime/runtimeError/index.d.ts +29 -0
- package/dist/runtime/runtimeError/index.d.ts.map +1 -0
- package/dist/runtime/runtimeError/index.js +47 -0
- package/dist/runtime/runtimeError/index.js.map +1 -0
- package/dist/runtime/runtimeError/runtimeError.base.d.ts +30 -0
- package/dist/runtime/runtimeError/runtimeError.base.d.ts.map +1 -0
- package/dist/runtime/runtimeError/runtimeError.base.js +81 -0
- package/dist/runtime/runtimeError/runtimeError.base.js.map +1 -0
- package/dist/runtime/runtimeError/runtimeError.lifecycle.d.ts +35 -0
- package/dist/runtime/runtimeError/runtimeError.lifecycle.d.ts.map +1 -0
- package/dist/runtime/runtimeError/runtimeError.lifecycle.js +77 -0
- package/dist/runtime/runtimeError/runtimeError.lifecycle.js.map +1 -0
- package/dist/runtime/runtimeError/runtimeError.specialized.d.ts +35 -0
- package/dist/runtime/runtimeError/runtimeError.specialized.d.ts.map +1 -0
- package/dist/runtime/runtimeError/runtimeError.specialized.js +79 -0
- package/dist/runtime/runtimeError/runtimeError.specialized.js.map +1 -0
- package/dist/runtime/runtimeError/runtimeError.type.d.ts +74 -0
- package/dist/runtime/runtimeError/runtimeError.type.d.ts.map +1 -0
- package/dist/runtime/runtimeError/runtimeError.type.js +28 -0
- package/dist/runtime/runtimeError/runtimeError.type.js.map +1 -0
- package/dist/runtime/runtimeLogger.d.ts +5 -0
- package/dist/runtime/runtimeLogger.d.ts.map +1 -0
- package/dist/runtime/runtimeLogger.js +18 -0
- package/dist/runtime/runtimeLogger.js.map +1 -0
- package/dist/runtime/runtimeManager/index.d.ts +12 -0
- package/dist/runtime/runtimeManager/index.d.ts.map +1 -0
- package/dist/runtime/runtimeManager/index.js +11 -0
- package/dist/runtime/runtimeManager/index.js.map +1 -0
- package/dist/runtime/runtimeManager/runtimeManager.core.d.ts +31 -0
- package/dist/runtime/runtimeManager/runtimeManager.core.d.ts.map +1 -0
- package/dist/runtime/runtimeManager/runtimeManager.core.js +136 -0
- package/dist/runtime/runtimeManager/runtimeManager.core.js.map +1 -0
- package/dist/runtime/runtimeManager/runtimeManager.error.d.ts +14 -0
- package/dist/runtime/runtimeManager/runtimeManager.error.d.ts.map +1 -0
- package/dist/runtime/runtimeManager/runtimeManager.error.js +21 -0
- package/dist/runtime/runtimeManager/runtimeManager.error.js.map +1 -0
- package/dist/runtime/runtimeManager/runtimeManager.factory.d.ts +7 -0
- package/dist/runtime/runtimeManager/runtimeManager.factory.d.ts.map +1 -0
- package/dist/runtime/runtimeManager/runtimeManager.factory.js +8 -0
- package/dist/runtime/runtimeManager/runtimeManager.factory.js.map +1 -0
- package/dist/runtime/runtimeManager/runtimeManager.lifecycle.d.ts +16 -0
- package/dist/runtime/runtimeManager/runtimeManager.lifecycle.d.ts.map +1 -0
- package/dist/runtime/runtimeManager/runtimeManager.lifecycle.js +49 -0
- package/dist/runtime/runtimeManager/runtimeManager.lifecycle.js.map +1 -0
- package/dist/runtime/runtimeManager/runtimeManager.type.d.ts +54 -0
- package/dist/runtime/runtimeManager/runtimeManager.type.d.ts.map +1 -0
- package/dist/runtime/runtimeManager/runtimeManager.type.js +2 -0
- package/dist/runtime/runtimeManager/runtimeManager.type.js.map +1 -0
- package/dist/runtime/runtimeOptions/index.d.ts +10 -0
- package/dist/runtime/runtimeOptions/index.d.ts.map +1 -0
- package/dist/runtime/runtimeOptions/index.js +9 -0
- package/dist/runtime/runtimeOptions/index.js.map +1 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.defaults.d.ts +6 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.defaults.d.ts.map +1 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.defaults.js +37 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.defaults.js.map +1 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.resolver.d.ts +10 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.resolver.d.ts.map +1 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.resolver.js +80 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.resolver.js.map +1 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.type.d.ts +94 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.type.d.ts.map +1 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.type.js +2 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.type.js.map +1 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.validation.d.ts +26 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.validation.d.ts.map +1 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.validation.js +59 -0
- package/dist/runtime/runtimeOptions/runtimeOptions.validation.js.map +1 -0
- package/dist/runtime/runtimeShutdown/index.d.ts +10 -0
- package/dist/runtime/runtimeShutdown/index.d.ts.map +1 -0
- package/dist/runtime/runtimeShutdown/index.js +9 -0
- package/dist/runtime/runtimeShutdown/index.js.map +1 -0
- package/dist/runtime/runtimeShutdown/pipeline/index.d.ts +7 -0
- package/dist/runtime/runtimeShutdown/pipeline/index.d.ts.map +1 -0
- package/dist/runtime/runtimeShutdown/pipeline/index.js +7 -0
- package/dist/runtime/runtimeShutdown/pipeline/index.js.map +1 -0
- package/dist/runtime/runtimeShutdown/pipeline/runtimeShutdown.pipeline.d.ts +9 -0
- package/dist/runtime/runtimeShutdown/pipeline/runtimeShutdown.pipeline.d.ts.map +1 -0
- package/dist/runtime/runtimeShutdown/pipeline/runtimeShutdown.pipeline.js +67 -0
- package/dist/runtime/runtimeShutdown/pipeline/runtimeShutdown.pipeline.js.map +1 -0
- package/dist/runtime/runtimeShutdown/runtimeShutdown.core.d.ts +35 -0
- package/dist/runtime/runtimeShutdown/runtimeShutdown.core.d.ts.map +1 -0
- package/dist/runtime/runtimeShutdown/runtimeShutdown.core.js +147 -0
- package/dist/runtime/runtimeShutdown/runtimeShutdown.core.js.map +1 -0
- package/dist/runtime/runtimeShutdown/runtimeShutdown.type.d.ts +74 -0
- package/dist/runtime/runtimeShutdown/runtimeShutdown.type.d.ts.map +1 -0
- package/dist/runtime/runtimeShutdown/runtimeShutdown.type.js +2 -0
- package/dist/runtime/runtimeShutdown/runtimeShutdown.type.js.map +1 -0
- package/dist/runtime/runtimeState.state.d.ts +60 -0
- package/dist/runtime/runtimeState.state.d.ts.map +1 -0
- package/dist/runtime/runtimeState.state.js +157 -0
- package/dist/runtime/runtimeState.state.js.map +1 -0
- package/package.json +85 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurationEvents.events.d.ts","sourceRoot":"","sources":["../../../src/configuration/events/configurationEvents.events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAEvF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAEpG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAEpF;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,yBAAyB,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,kBAAkB;IACxE,QAAQ,CAAC,IAAI,EAAE,4BAA4B,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB;IAClE,QAAQ,CAAC,IAAI,EAAE,sBAAsB,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,uBAAuB,CAAC;IAEzC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,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gB,iCAAiC,CAC/C,KAAK,EAAE,yBAAyB,EAChC,qBAAqB,EAAE,aAAa,GACnC,2BAA2B,CAM7B;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,yBAAyB,EAChC,qBAAqB,EAAE,aAAa,EACpC,aAAa,EAAE,aAAa,EAC5B,IAAI,EAAE,uBAAuB,EAC7B,UAAU,EAAE,6BAA6B,GACxC,0BAA0B,CAS5B"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration event type names.
|
|
3
|
+
*/
|
|
4
|
+
export const ConfigurationEventType = Object.freeze({
|
|
5
|
+
INITIALIZING: "configuration.initializing",
|
|
6
|
+
LOADED: "configuration.loaded",
|
|
7
|
+
VALIDATED: "configuration.validated",
|
|
8
|
+
READY: "configuration.ready",
|
|
9
|
+
FAILED: "configuration.failed",
|
|
10
|
+
RELOADING: "configuration.reloading",
|
|
11
|
+
RELOADED: "configuration.reloaded",
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* Creates the base metadata shared by configuration events.
|
|
15
|
+
*/
|
|
16
|
+
export function createConfigurationEventBase(type, state) {
|
|
17
|
+
return {
|
|
18
|
+
type,
|
|
19
|
+
timestamp: new Date(),
|
|
20
|
+
state,
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Creates a configuration initializing event.
|
|
25
|
+
*/
|
|
26
|
+
export function createConfigurationInitializingEvent(state) {
|
|
27
|
+
return {
|
|
28
|
+
...createConfigurationEventBase(ConfigurationEventType.INITIALIZING, state),
|
|
29
|
+
type: ConfigurationEventType.INITIALIZING,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Creates a configuration loaded event.
|
|
34
|
+
*/
|
|
35
|
+
export function createConfigurationLoadedEvent(state, result) {
|
|
36
|
+
return {
|
|
37
|
+
...createConfigurationEventBase(ConfigurationEventType.LOADED, state),
|
|
38
|
+
type: ConfigurationEventType.LOADED,
|
|
39
|
+
result,
|
|
40
|
+
configuration: result.configuration,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Creates a configuration validated event.
|
|
45
|
+
*/
|
|
46
|
+
export function createConfigurationValidatedEvent(state, configuration, validation) {
|
|
47
|
+
return {
|
|
48
|
+
...createConfigurationEventBase(ConfigurationEventType.VALIDATED, state),
|
|
49
|
+
type: ConfigurationEventType.VALIDATED,
|
|
50
|
+
configuration,
|
|
51
|
+
validation,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Creates a configuration ready event.
|
|
56
|
+
*/
|
|
57
|
+
export function createConfigurationReadyEvent(state, configuration, validation) {
|
|
58
|
+
return {
|
|
59
|
+
...createConfigurationEventBase(ConfigurationEventType.READY, state),
|
|
60
|
+
type: ConfigurationEventType.READY,
|
|
61
|
+
configuration,
|
|
62
|
+
validation,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Creates a configuration failed event.
|
|
67
|
+
*/
|
|
68
|
+
export function createConfigurationFailedEvent(state, error, previousConfiguration) {
|
|
69
|
+
return {
|
|
70
|
+
...createConfigurationEventBase(ConfigurationEventType.FAILED, state),
|
|
71
|
+
type: ConfigurationEventType.FAILED,
|
|
72
|
+
error,
|
|
73
|
+
previousConfiguration,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Creates a configuration reloading event.
|
|
78
|
+
*/
|
|
79
|
+
export function createConfigurationReloadingEvent(state, previousConfiguration) {
|
|
80
|
+
return {
|
|
81
|
+
...createConfigurationEventBase(ConfigurationEventType.RELOADING, state),
|
|
82
|
+
type: ConfigurationEventType.RELOADING,
|
|
83
|
+
previousConfiguration,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Creates a configuration reloaded event.
|
|
88
|
+
*/
|
|
89
|
+
export function createConfigurationReloadedEvent(state, previousConfiguration, configuration, load, validation) {
|
|
90
|
+
return {
|
|
91
|
+
...createConfigurationEventBase(ConfigurationEventType.RELOADED, state),
|
|
92
|
+
type: ConfigurationEventType.RELOADED,
|
|
93
|
+
previousConfiguration,
|
|
94
|
+
configuration,
|
|
95
|
+
load,
|
|
96
|
+
validation,
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=configurationEvents.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurationEvents.events.js","sourceRoot":"","sources":["../../../src/configuration/events/configurationEvents.events.ts"],"names":[],"mappings":"AA4JA;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,CAAC;IAClD,YAAY,EAAE,4BAA4B;IAE1C,MAAM,EAAE,sBAAsB;IAE9B,SAAS,EAAE,yBAAyB;IAEpC,KAAK,EAAE,qBAAqB;IAE5B,MAAM,EAAE,sBAAsB;IAE9B,SAAS,EAAE,yBAAyB;IAEpC,QAAQ,EAAE,wBAAwB;CAC1B,CAAC,CAAC;AAeZ;;GAEG;AACH,MAAM,UAAU,4BAA4B,CAC1C,IAAY,EACZ,KAAgC;IAEhC,OAAO;QACL,IAAI;QACJ,SAAS,EAAE,IAAI,IAAI,EAAE;QACrB,KAAK;KACN,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,oCAAoC,CAClD,KAAgC;IAEhC,OAAO;QACL,GAAG,4BAA4B,CAAC,sBAAsB,CAAC,YAAY,EAAE,KAAK,CAAC;QAC3E,IAAI,EAAE,sBAAsB,CAAC,YAAY;KAC1C,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,8BAA8B,CAC5C,KAAgC,EAChC,MAA+B;IAE/B,OAAO;QACL,GAAG,4BAA4B,CAAC,sBAAsB,CAAC,MAAM,EAAE,KAAK,CAAC;QACrE,IAAI,EAAE,sBAAsB,CAAC,MAAM;QACnC,MAAM;QAC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BAAqB;QACrB,aAAa;QACb,IAAI;QACJ,UAAU;KACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @zudojs/core/configuration/events
|
|
3
|
+
*
|
|
4
|
+
* Configuration lifecycle events.
|
|
5
|
+
*/
|
|
6
|
+
export { ConfigurationEventType, createConfigurationEventBase, createConfigurationInitializingEvent, createConfigurationLoadedEvent, createConfigurationValidatedEvent, createConfigurationReadyEvent, createConfigurationFailedEvent, createConfigurationReloadingEvent, createConfigurationReloadedEvent, } from "./configurationEvents.events.js";
|
|
7
|
+
export type { ConfigurationEvent, ConfigurationInitializingEvent, ConfigurationLoadedEvent, ConfigurationValidatedEvent, ConfigurationReadyEvent, ConfigurationFailedEvent, ConfigurationReloadingEvent, ConfigurationReloadedEvent, ConfigurationLifecycleEvent, ConfigurationEventTypeValue, ConfigurationEventListener, } from "./configurationEvents.events.js";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/configuration/events/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,sBAAsB,EACtB,4BAA4B,EAC5B,oCAAoC,EACpC,8BAA8B,EAC9B,iCAAiC,EACjC,6BAA6B,EAC7B,8BAA8B,EAC9B,iCAAiC,EACjC,gCAAgC,GACjC,MAAM,iCAAiC,CAAC;AAEzC,YAAY,EACV,kBAAkB,EAClB,8BAA8B,EAC9B,wBAAwB,EACxB,2BAA2B,EAC3B,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @zudojs/core/configuration/events
|
|
3
|
+
*
|
|
4
|
+
* Configuration lifecycle events.
|
|
5
|
+
*/
|
|
6
|
+
export { ConfigurationEventType, createConfigurationEventBase, createConfigurationInitializingEvent, createConfigurationLoadedEvent, createConfigurationValidatedEvent, createConfigurationReadyEvent, createConfigurationFailedEvent, createConfigurationReloadingEvent, createConfigurationReloadedEvent, } from "./configurationEvents.events.js";
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/configuration/events/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,sBAAsB,EACtB,4BAA4B,EAC5B,oCAAoC,EACpC,8BAA8B,EAC9B,iCAAiC,EACjC,6BAA6B,EAC7B,8BAA8B,EAC9B,iCAAiC,EACjC,gCAAgC,GACjC,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core configuration container.
|
|
3
|
+
*/
|
|
4
|
+
export * from "./core/index.js";
|
|
5
|
+
/**
|
|
6
|
+
* Strongly typed configuration keys.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./loader/index.js";
|
|
9
|
+
/**
|
|
10
|
+
* Configuration schemas and schema registry.
|
|
11
|
+
*/
|
|
12
|
+
export * from "./schema/index.js";
|
|
13
|
+
/**
|
|
14
|
+
* Configuration provider.
|
|
15
|
+
*/
|
|
16
|
+
export * from "./registry/index.js";
|
|
17
|
+
/**
|
|
18
|
+
* Configuration errors.
|
|
19
|
+
*/
|
|
20
|
+
export * from "./error/index.js";
|
|
21
|
+
/**
|
|
22
|
+
* Configuration manager.
|
|
23
|
+
*/
|
|
24
|
+
export { ConfigurationManager, ConfigurationManagerState, createConfigurationManager, } from "./configurationManager.manager.js";
|
|
25
|
+
export type { ConfigurationManagerOptions, ConfigurationManagerResult, } from "./configurationManager.manager.js";
|
|
26
|
+
/**
|
|
27
|
+
* Configuration lifecycle events.
|
|
28
|
+
*/
|
|
29
|
+
export * from "./events/index.js";
|
|
30
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/configuration/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,iBAAiB,CAAC;AAEhC;;GAEG;AACH,cAAc,mBAAmB,CAAC;AAElC;;GAEG;AACH,cAAc,mBAAmB,CAAC;AAElC;;GAEG;AACH,cAAc,qBAAqB,CAAC;AAEpC;;GAEG;AACH,cAAc,kBAAkB,CAAC;AAEjC;;GAEG;AACH,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,mCAAmC,CAAC;AAE3C,YAAY,EACV,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,mCAAmC,CAAC;AAE3C;;GAEG;AACH,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core configuration container.
|
|
3
|
+
*/
|
|
4
|
+
export * from "./core/index.js";
|
|
5
|
+
/**
|
|
6
|
+
* Strongly typed configuration keys.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./loader/index.js";
|
|
9
|
+
/**
|
|
10
|
+
* Configuration schemas and schema registry.
|
|
11
|
+
*/
|
|
12
|
+
export * from "./schema/index.js";
|
|
13
|
+
/**
|
|
14
|
+
* Configuration provider.
|
|
15
|
+
*/
|
|
16
|
+
export * from "./registry/index.js";
|
|
17
|
+
/**
|
|
18
|
+
* Configuration errors.
|
|
19
|
+
*/
|
|
20
|
+
export * from "./error/index.js";
|
|
21
|
+
/**
|
|
22
|
+
* Configuration manager.
|
|
23
|
+
*/
|
|
24
|
+
export { ConfigurationManager, ConfigurationManagerState, createConfigurationManager, } from "./configurationManager.manager.js";
|
|
25
|
+
/**
|
|
26
|
+
* Configuration lifecycle events.
|
|
27
|
+
*/
|
|
28
|
+
export * from "./events/index.js";
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/configuration/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,iBAAiB,CAAC;AAEhC;;GAEG;AACH,cAAc,mBAAmB,CAAC;AAElC;;GAEG;AACH,cAAc,mBAAmB,CAAC;AAElC;;GAEG;AACH,cAAc,qBAAqB,CAAC;AAEpC;;GAEG;AACH,cAAc,kBAAkB,CAAC;AAEjC;;GAEG;AACH,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,mCAAmC,CAAC;AAO3C;;GAEG;AACH,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Configuration } from "../core/configuration.js";
|
|
2
|
+
import type { ConfigurationSource } from "../core/configurationSource.source.js";
|
|
3
|
+
/**
|
|
4
|
+
* Options for loading configuration.
|
|
5
|
+
*/
|
|
6
|
+
export interface ConfigurationLoaderOptions {
|
|
7
|
+
/**
|
|
8
|
+
* Configuration sources to load.
|
|
9
|
+
*/
|
|
10
|
+
readonly sources?: readonly ConfigurationSource[];
|
|
11
|
+
/**
|
|
12
|
+
* Whether sources should be loaded sequentially.
|
|
13
|
+
*
|
|
14
|
+
* Defaults to true.
|
|
15
|
+
*
|
|
16
|
+
* Sequential loading makes priority behavior predictable
|
|
17
|
+
* and allows future sources to depend on earlier sources.
|
|
18
|
+
*/
|
|
19
|
+
readonly sequential?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Result returned by the configuration loader.
|
|
23
|
+
*/
|
|
24
|
+
export interface ConfigurationLoadResult {
|
|
25
|
+
/**
|
|
26
|
+
* Final merged configuration.
|
|
27
|
+
*/
|
|
28
|
+
readonly configuration: Configuration;
|
|
29
|
+
/**
|
|
30
|
+
* Sources successfully loaded.
|
|
31
|
+
*/
|
|
32
|
+
readonly sources: readonly ConfigurationSource[];
|
|
33
|
+
/**
|
|
34
|
+
* Number of configuration entries loaded.
|
|
35
|
+
*/
|
|
36
|
+
readonly entryCount: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Loads and combines configuration from multiple sources.
|
|
40
|
+
*
|
|
41
|
+
* The loader is intentionally independent of the actual
|
|
42
|
+
* configuration source implementation.
|
|
43
|
+
*/
|
|
44
|
+
export declare class ConfigurationLoader {
|
|
45
|
+
private readonly sources;
|
|
46
|
+
private readonly sequential;
|
|
47
|
+
constructor(options?: ConfigurationLoaderOptions);
|
|
48
|
+
/**
|
|
49
|
+
* Loads all registered configuration sources.
|
|
50
|
+
*
|
|
51
|
+
* Sources are ordered by ascending priority.
|
|
52
|
+
* Higher priority sources are therefore applied later
|
|
53
|
+
* and override lower priority values.
|
|
54
|
+
*/
|
|
55
|
+
load(): Promise<ConfigurationLoadResult>;
|
|
56
|
+
/**
|
|
57
|
+
* Loads sources sequentially.
|
|
58
|
+
*
|
|
59
|
+
* This is the default behavior.
|
|
60
|
+
*/
|
|
61
|
+
private loadSequentially;
|
|
62
|
+
/**
|
|
63
|
+
* Loads sources concurrently.
|
|
64
|
+
*
|
|
65
|
+
* Even though loading happens concurrently, entries are
|
|
66
|
+
* applied according to source priority to preserve
|
|
67
|
+
* deterministic precedence.
|
|
68
|
+
*/
|
|
69
|
+
private loadConcurrently;
|
|
70
|
+
/**
|
|
71
|
+
* Loads a single configuration source.
|
|
72
|
+
*/
|
|
73
|
+
private loadSource;
|
|
74
|
+
/**
|
|
75
|
+
* Applies source entries to the configuration.
|
|
76
|
+
*/
|
|
77
|
+
private applyEntries;
|
|
78
|
+
/**
|
|
79
|
+
* Returns sources ordered by priority.
|
|
80
|
+
*
|
|
81
|
+
* Lower priority sources are loaded first.
|
|
82
|
+
* Higher priority sources override them.
|
|
83
|
+
*/
|
|
84
|
+
private getSortedSources;
|
|
85
|
+
/**
|
|
86
|
+
* Adds a configuration source.
|
|
87
|
+
*/
|
|
88
|
+
addSource(source: ConfigurationSource): void;
|
|
89
|
+
/**
|
|
90
|
+
* Returns all registered sources.
|
|
91
|
+
*/
|
|
92
|
+
getSources(): readonly ConfigurationSource[];
|
|
93
|
+
/**
|
|
94
|
+
* Removes a source by name.
|
|
95
|
+
*/
|
|
96
|
+
removeSource(name: string): boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Clears all registered sources.
|
|
99
|
+
*/
|
|
100
|
+
clearSources(): void;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Error thrown when a configuration source cannot be loaded.
|
|
104
|
+
*/
|
|
105
|
+
export declare class ConfigurationLoadError extends Error {
|
|
106
|
+
readonly source: ConfigurationSource;
|
|
107
|
+
constructor(source: ConfigurationSource, cause: unknown);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Creates a ConfigurationLoader.
|
|
111
|
+
*/
|
|
112
|
+
export declare function createConfigurationLoader(options?: ConfigurationLoaderOptions): ConfigurationLoader;
|
|
113
|
+
//# sourceMappingURL=configurationLoader.loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurationLoader.loader.d.ts","sourceRoot":"","sources":["../../../src/configuration/loader/configurationLoader.loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,uCAAuC,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAElD;;;;;;;OAOG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAEjD;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;GAKG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAwB;IAEhD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAU;IAErC,YAAmB,OAAO,GAAE,0BAA+B,EAI1D;IAED;;;;;;OAMG;IACU,IAAI,IAAI,OAAO,CAAC,uBAAuB,CAAC,CAQpD;IAED;;;;OAIG;YACW,gBAAgB;IAsB9B;;;;;;OAMG;YACW,gBAAgB;IA+B9B;;OAEG;YACW,UAAU;IAYxB;;OAEG;IACH,OAAO,CAAC,YAAY;IAuBpB;;;;;OAKG;IACH,OAAO,CAAC,gBAAgB;IAIxB;;OAEG;IACI,SAAS,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAElD;IAED;;OAEG;IACI,UAAU,IAAI,SAAS,mBAAmB,EAAE,CAElD;IAED;;OAEG;IACI,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAUzC;IAED;;OAEG;IACI,YAAY,IAAI,IAAI,CAE1B;CACF;AAED;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,KAAK;IAC/C,SAAgB,MAAM,EAAE,mBAAmB,CAAC;IAE5C,YAAmB,MAAM,EAAE,mBAAmB,EAAE,KAAK,EAAE,OAAO,EAQ7D;CACF;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,GAAE,0BAA+B,GACvC,mBAAmB,CAErB"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { Configuration } from "../core/configuration.js";
|
|
2
|
+
/**
|
|
3
|
+
* Loads and combines configuration from multiple sources.
|
|
4
|
+
*
|
|
5
|
+
* The loader is intentionally independent of the actual
|
|
6
|
+
* configuration source implementation.
|
|
7
|
+
*/
|
|
8
|
+
export class ConfigurationLoader {
|
|
9
|
+
sources;
|
|
10
|
+
sequential;
|
|
11
|
+
constructor(options = {}) {
|
|
12
|
+
this.sources = [...(options.sources ?? [])];
|
|
13
|
+
this.sequential = options.sequential ?? true;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Loads all registered configuration sources.
|
|
17
|
+
*
|
|
18
|
+
* Sources are ordered by ascending priority.
|
|
19
|
+
* Higher priority sources are therefore applied later
|
|
20
|
+
* and override lower priority values.
|
|
21
|
+
*/
|
|
22
|
+
async load() {
|
|
23
|
+
const sources = this.getSortedSources();
|
|
24
|
+
if (this.sequential) {
|
|
25
|
+
return this.loadSequentially(sources);
|
|
26
|
+
}
|
|
27
|
+
return this.loadConcurrently(sources);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Loads sources sequentially.
|
|
31
|
+
*
|
|
32
|
+
* This is the default behavior.
|
|
33
|
+
*/
|
|
34
|
+
async loadSequentially(sources) {
|
|
35
|
+
let configuration = new Configuration();
|
|
36
|
+
let entryCount = 0;
|
|
37
|
+
for (const source of sources) {
|
|
38
|
+
const entries = await this.loadSource(source);
|
|
39
|
+
configuration = this.applyEntries(configuration, entries, source);
|
|
40
|
+
entryCount += entries.length;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
configuration,
|
|
44
|
+
sources: [...sources],
|
|
45
|
+
entryCount,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Loads sources concurrently.
|
|
50
|
+
*
|
|
51
|
+
* Even though loading happens concurrently, entries are
|
|
52
|
+
* applied according to source priority to preserve
|
|
53
|
+
* deterministic precedence.
|
|
54
|
+
*/
|
|
55
|
+
async loadConcurrently(sources) {
|
|
56
|
+
const loaded = await Promise.all(sources.map(async (source) => ({
|
|
57
|
+
source,
|
|
58
|
+
entries: await this.loadSource(source),
|
|
59
|
+
})));
|
|
60
|
+
let configuration = new Configuration();
|
|
61
|
+
let entryCount = 0;
|
|
62
|
+
for (const result of loaded) {
|
|
63
|
+
configuration = this.applyEntries(configuration, result.entries, result.source);
|
|
64
|
+
entryCount += result.entries.length;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
configuration,
|
|
68
|
+
sources: [...sources],
|
|
69
|
+
entryCount,
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Loads a single configuration source.
|
|
74
|
+
*/
|
|
75
|
+
async loadSource(source) {
|
|
76
|
+
try {
|
|
77
|
+
const entries = await source.load();
|
|
78
|
+
return entries;
|
|
79
|
+
}
|
|
80
|
+
catch (error) {
|
|
81
|
+
throw new ConfigurationLoadError(source, error);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Applies source entries to the configuration.
|
|
86
|
+
*/
|
|
87
|
+
applyEntries(configuration, entries, source) {
|
|
88
|
+
let result = configuration;
|
|
89
|
+
for (const entry of entries) {
|
|
90
|
+
const path = entry.path.trim();
|
|
91
|
+
if (!path) {
|
|
92
|
+
throw new ConfigurationLoadError(source, new Error("Configuration entry path cannot be empty."));
|
|
93
|
+
}
|
|
94
|
+
result = result.with(path, entry.value, source.type);
|
|
95
|
+
}
|
|
96
|
+
return result;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Returns sources ordered by priority.
|
|
100
|
+
*
|
|
101
|
+
* Lower priority sources are loaded first.
|
|
102
|
+
* Higher priority sources override them.
|
|
103
|
+
*/
|
|
104
|
+
getSortedSources() {
|
|
105
|
+
return [...this.sources].sort((a, b) => a.priority - b.priority);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Adds a configuration source.
|
|
109
|
+
*/
|
|
110
|
+
addSource(source) {
|
|
111
|
+
this.sources.push(source);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Returns all registered sources.
|
|
115
|
+
*/
|
|
116
|
+
getSources() {
|
|
117
|
+
return [...this.sources];
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Removes a source by name.
|
|
121
|
+
*/
|
|
122
|
+
removeSource(name) {
|
|
123
|
+
const index = this.sources.findIndex((source) => source.name === name);
|
|
124
|
+
if (index === -1) {
|
|
125
|
+
return false;
|
|
126
|
+
}
|
|
127
|
+
this.sources.splice(index, 1);
|
|
128
|
+
return true;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Clears all registered sources.
|
|
132
|
+
*/
|
|
133
|
+
clearSources() {
|
|
134
|
+
this.sources.length = 0;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Error thrown when a configuration source cannot be loaded.
|
|
139
|
+
*/
|
|
140
|
+
export class ConfigurationLoadError extends Error {
|
|
141
|
+
source;
|
|
142
|
+
constructor(source, cause) {
|
|
143
|
+
const message = cause instanceof Error ? cause.message : String(cause);
|
|
144
|
+
super(`Failed to load configuration source "${source.name}": ${message}`);
|
|
145
|
+
this.source = source;
|
|
146
|
+
this.cause = cause;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Creates a ConfigurationLoader.
|
|
151
|
+
*/
|
|
152
|
+
export function createConfigurationLoader(options = {}) {
|
|
153
|
+
return new ConfigurationLoader(options);
|
|
154
|
+
}
|
|
155
|
+
//# sourceMappingURL=configurationLoader.loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurationLoader.loader.js","sourceRoot":"","sources":["../../../src/configuration/loader/configurationLoader.loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AA+CzD;;;;;GAKG;AACH,MAAM,OAAO,mBAAmB;IACb,OAAO,CAAwB;IAE/B,UAAU,CAAU;IAErC,YAAmB,OAAO,GAA+B,EAAE;QACzD,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC;QAE5C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,IAAI,CAAC;IAC/C,CAAC;IAED;;;;;;O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s/core/configuration/loader
|
|
3
|
+
*
|
|
4
|
+
* Configuration loading pipeline.
|
|
5
|
+
*/
|
|
6
|
+
export { ConfigurationLoader, ConfigurationLoadError, createConfigurationLoader, } from "./configurationLoader.loader.js";
|
|
7
|
+
export type { ConfigurationLoaderOptions, ConfigurationLoadResult, } from "./configurationLoader.loader.js";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/configuration/loader/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC;AAEzC,YAAY,EACV,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/configuration/loader/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { Configuration } from "../core/configuration.js";
|
|
2
|
+
import type { ConfigurationKey } from "../core/configurationKey.key.js";
|
|
3
|
+
import type { ConfigurationSource } from "../core/configurationSource.source.js";
|
|
4
|
+
/**
|
|
5
|
+
* Provides access to application configuration.
|
|
6
|
+
*
|
|
7
|
+
* The provider separates consumers of configuration from
|
|
8
|
+
* the mechanism used to build and load that configuration.
|
|
9
|
+
*/
|
|
10
|
+
export interface ConfigurationProvider {
|
|
11
|
+
/**
|
|
12
|
+
* Returns the current configuration.
|
|
13
|
+
*/
|
|
14
|
+
getConfiguration(): Configuration;
|
|
15
|
+
/**
|
|
16
|
+
* Retrieves a configuration value.
|
|
17
|
+
*/
|
|
18
|
+
get<T = unknown>(path: string): T | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves a required configuration value.
|
|
21
|
+
*
|
|
22
|
+
* Throws when the requested value does not exist.
|
|
23
|
+
*/
|
|
24
|
+
require<T = unknown>(path: string): T;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieves a typed configuration value using a key.
|
|
27
|
+
*/
|
|
28
|
+
getByKey<T>(key: ConfigurationKey<T>): T | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves a required typed configuration value.
|
|
31
|
+
*/
|
|
32
|
+
requireByKey<T>(key: ConfigurationKey<T>): T;
|
|
33
|
+
/**
|
|
34
|
+
* Checks whether a configuration value exists.
|
|
35
|
+
*/
|
|
36
|
+
has(path: string): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Reloads configuration from registered sources.
|
|
39
|
+
*/
|
|
40
|
+
reload(): Promise<Configuration>;
|
|
41
|
+
/**
|
|
42
|
+
* Returns the configuration sources currently
|
|
43
|
+
* registered with the provider.
|
|
44
|
+
*/
|
|
45
|
+
getSources(): readonly ConfigurationSource[];
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Options used to create a ConfigurationProvider.
|
|
49
|
+
*/
|
|
50
|
+
export interface ConfigurationProviderOptions {
|
|
51
|
+
/**
|
|
52
|
+
* Initial configuration.
|
|
53
|
+
*/
|
|
54
|
+
readonly configuration?: Configuration;
|
|
55
|
+
/**
|
|
56
|
+
* Sources used to build the configuration.
|
|
57
|
+
*/
|
|
58
|
+
readonly sources?: readonly ConfigurationSource[];
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Default implementation of ConfigurationProvider.
|
|
62
|
+
*
|
|
63
|
+
* Responsible for coordinating configuration sources while
|
|
64
|
+
* keeping the rest of the application independent from them.
|
|
65
|
+
*/
|
|
66
|
+
export declare class DefaultConfigurationProvider implements ConfigurationProvider {
|
|
67
|
+
private configuration;
|
|
68
|
+
private readonly sources;
|
|
69
|
+
constructor(options?: ConfigurationProviderOptions);
|
|
70
|
+
/**
|
|
71
|
+
* Returns the current configuration.
|
|
72
|
+
*/
|
|
73
|
+
getConfiguration(): Configuration;
|
|
74
|
+
/**
|
|
75
|
+
* Retrieves a configuration value.
|
|
76
|
+
*/
|
|
77
|
+
get<T = unknown>(path: string): T | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* Retrieves a required configuration value.
|
|
80
|
+
*/
|
|
81
|
+
require<T = unknown>(path: string): T;
|
|
82
|
+
/**
|
|
83
|
+
* Retrieves a typed configuration value.
|
|
84
|
+
*/
|
|
85
|
+
getByKey<T>(key: ConfigurationKey<T>): T | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Retrieves a required typed configuration value.
|
|
88
|
+
*/
|
|
89
|
+
requireByKey<T>(key: ConfigurationKey<T>): T;
|
|
90
|
+
/**
|
|
91
|
+
* Checks whether a configuration value exists.
|
|
92
|
+
*/
|
|
93
|
+
has(path: string): boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Reloads configuration from all registered sources.
|
|
96
|
+
*
|
|
97
|
+
* Sources are loaded according to priority. Higher priority
|
|
98
|
+
* sources override values from lower priority sources.
|
|
99
|
+
*/
|
|
100
|
+
reload(): Promise<Configuration>;
|
|
101
|
+
/**
|
|
102
|
+
* Returns the registered configuration sources.
|
|
103
|
+
*/
|
|
104
|
+
getSources(): readonly ConfigurationSource[];
|
|
105
|
+
/**
|
|
106
|
+
* Updates the provider with a new configuration.
|
|
107
|
+
*
|
|
108
|
+
* This is used by ConfigurationManager to push loaded
|
|
109
|
+
* configuration into the provider.
|
|
110
|
+
*/
|
|
111
|
+
setConfiguration(configuration: Configuration): void;
|
|
112
|
+
/**
|
|
113
|
+
* Registers an additional configuration source.
|
|
114
|
+
*
|
|
115
|
+
* The source is not loaded automatically.
|
|
116
|
+
* Call reload() when the provider should rebuild its configuration.
|
|
117
|
+
*/
|
|
118
|
+
addSource(source: ConfigurationSource): void;
|
|
119
|
+
/**
|
|
120
|
+
* Removes a configuration source by name.
|
|
121
|
+
*
|
|
122
|
+
* Returns true when a source was removed.
|
|
123
|
+
*/
|
|
124
|
+
removeSource(name: string): boolean;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Creates the default configuration provider.
|
|
128
|
+
*/
|
|
129
|
+
export declare function createConfigurationProvider(options?: ConfigurationProviderOptions): ConfigurationProvider;
|
|
130
|
+
//# sourceMappingURL=configurationProvider.provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurationProvider.provider.d.ts","sourceRoot":"","sources":["../../../src/configuration/registry/configurationProvider.provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAEjF;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,gBAAgB,IAAI,aAAa,CAAC;IAElC;;OAEG;IACH,GAAG,CAAC,CAAC,GAAG,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC;IAE9C;;;;OAIG;IACH,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,CAAC,EAAE,GAAG,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAErD;;OAEG;IACH,YAAY,CAAC,CAAC,EAAE,GAAG,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAE7C;;OAEG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAE3B;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,aAAa,CAAC,CAAC;IAEjC;;;OAGG;IACH,UAAU,IAAI,SAAS,mBAAmB,EAAE,CAAC;CAC9C;AAED;;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