feat(image): 新建 knowai-core:1.0.0 镜像并完成推送
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
- 搭建 api、auth、utils 等逻辑模块 - 通过 tsc、eslint、vitest 测试验证 BREAKING CHANGE: 新镜像分支
This commit is contained in:
22
auth/index.ts
Normal file
22
auth/index.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* 认证模块入口文件
|
||||
*/
|
||||
|
||||
// 导出类型定义
|
||||
export type {
|
||||
AuthEventType,
|
||||
AuthEventListener,
|
||||
StorageAdapter,
|
||||
AuthService,
|
||||
SessionManager
|
||||
} from './types';
|
||||
|
||||
// 导出实现类
|
||||
export { DefaultAuthService } from './auth-service';
|
||||
export { DefaultSessionManager } from './session-manager';
|
||||
export { AuthEventManager, authEventManager } from './event-manager';
|
||||
export { MemoryStorageAdapter, createStorageAdapter } from './storage-adapter';
|
||||
|
||||
// 导出工厂函数
|
||||
export { createAuthService } from './auth-service';
|
||||
export { createSessionManager } from './session-manager';
|
||||
Reference in New Issue
Block a user