@wizecorp/stratusjs
Version:
Stratus React Framework
17 lines • 806 B
JavaScript
// Core service system
export { ServiceContainer } from './ServiceContainer';
export { ServiceProvider, useServiceContainer, useService, useOptionalService } from './ServiceContext';
// Built-in services
export { HttpService, HttpError } from './built-in/HttpService';
export { LocalStorageService, SessionStorageService, MemoryStorageService } from './built-in/StorageService';
export { AuthService } from './built-in/AuthService';
// Service tokens (for dependency injection)
export const SERVICE_TOKENS = {
HTTP: Symbol('HttpService'),
STORAGE: Symbol('StorageService'),
AUTH: Symbol('AuthService'),
LOCAL_STORAGE: Symbol('LocalStorageService'),
SESSION_STORAGE: Symbol('SessionStorageService'),
MEMORY_STORAGE: Symbol('MemoryStorageService')
};
//# sourceMappingURL=index.js.map