refactored di into more composable parts
This commit is contained in:
parent
177fe30586
commit
26ebc77fe6
22 changed files with 908 additions and 281 deletions
|
|
@ -3,7 +3,7 @@ export * from './operation-context';
|
|||
export * from './pool-size-calculator';
|
||||
export * from './types';
|
||||
|
||||
// Awilix container exports
|
||||
// Legacy exports for backward compatibility
|
||||
export {
|
||||
createServiceContainer,
|
||||
createServiceContainerFromConfig,
|
||||
|
|
@ -14,6 +14,24 @@ export {
|
|||
type ServiceContainerOptions,
|
||||
} from './awilix-container';
|
||||
|
||||
// New modular structure exports
|
||||
export * from './container/types';
|
||||
export { ServiceContainerBuilder } from './container/builder';
|
||||
export {
|
||||
createServiceContainerAsync,
|
||||
createServiceContainer as createServiceContainerNew,
|
||||
createServiceContainerFromConfig as createServiceContainerFromConfigNew
|
||||
} from './container/factory';
|
||||
|
||||
// Configuration exports
|
||||
export * from './config/schemas';
|
||||
|
||||
// Factory exports
|
||||
export * from './factories';
|
||||
|
||||
// Utility exports
|
||||
export { ServiceLifecycleManager } from './utils/lifecycle';
|
||||
|
||||
// Service application framework
|
||||
export {
|
||||
ServiceApplication,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue