mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-02 15:52:26 +08:00
Initial commit
This commit is contained in:
23
frontend/src/api/global-models.ts
Normal file
23
frontend/src/api/global-models.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* GlobalModel API 客户端
|
||||
* 统一导出,简化导入路径
|
||||
*/
|
||||
|
||||
export * from './endpoints/global-models'
|
||||
export type {
|
||||
GlobalModelCreate,
|
||||
GlobalModelUpdate,
|
||||
GlobalModelResponse,
|
||||
GlobalModelWithStats,
|
||||
GlobalModelListResponse,
|
||||
} from './endpoints/types'
|
||||
|
||||
// 重新导出为更简洁的函数名
|
||||
export {
|
||||
getGlobalModels as listGlobalModels,
|
||||
getGlobalModel,
|
||||
createGlobalModel,
|
||||
updateGlobalModel,
|
||||
deleteGlobalModel,
|
||||
batchAssignToProviders,
|
||||
} from './endpoints/global-models'
|
||||
Reference in New Issue
Block a user