stock-bot/libs/core/di/src/index.ts

33 lines
1.1 KiB
TypeScript

// Export only what's actually used
export { ServiceApplication } from './service-application';
export { ServiceContainerBuilder } from './container/builder';
export { OperationContext } from './operation-context';
export {
createHttpSecurity,
httpSecurityOptions,
authenticatedServiceFetch,
getVerifiedHttpPrincipal,
getCredentialHttpPrincipal,
getResearchHttpPrincipal,
} from './http/security';
export type { HttpSecurity, HttpSecurityOptions } from './http/security';
export { calculatePoolSize, getServicePoolSize, getHandlerPoolSize } from './pool-size-calculator';
export { ServiceLifecycleManager } from './utils/lifecycle';
export { HandlerScanner } from './scanner/handler-scanner';
export type { IServiceContainer } from '@stock-bot/services';
// Export schemas
export {
appConfigSchema,
redisConfigSchema,
mongodbConfigSchema,
postgresConfigSchema,
questdbConfigSchema,
proxyConfigSchema,
browserConfigSchema,
queueConfigSchema,
} from './config/schemas';
export type { ServiceDefinitions, ServiceCradle } from './container/types';
export type { HandlerInitializationContext } from './service-application';