mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-14 19:02:17 +03:00
Resynced onto the release tip after #12051/#12052 landed. One real conflict in open-sse/services/combo.ts at both LKGP-clear call sites (handleComboChat + round-robin path): the release tip already has #12013's clearStaleLKGP() helper, which this PR's branch predates — kept the current helper call at both sites, discarding the pre-refactor inline pattern. typecheck:core and the open-sse test suite (vitest, 9/9 on volumeDetector) both green after resync. Thanks for the well-scoped Phase 4 migration.
31 lines
896 B
TypeScript
Executable File
31 lines
896 B
TypeScript
Executable File
// Database Models - Export all from the owning db modules
|
|
export {
|
|
getProviderConnections,
|
|
getProviderConnectionsCount,
|
|
getProviderConnectionById,
|
|
createProviderConnection,
|
|
updateProviderConnection,
|
|
deleteProviderConnection,
|
|
deleteProviderConnections,
|
|
getProviderNodes,
|
|
getProviderNodesCount,
|
|
getProviderNodeById,
|
|
resolveProviderNodeForConnection,
|
|
createProviderNode,
|
|
updateProviderNode,
|
|
deleteProviderNode,
|
|
deleteProviderConnectionsByProvider,
|
|
} from "@/lib/db/providers";
|
|
export {
|
|
getModelAliases,
|
|
setModelAlias,
|
|
deleteModelAlias,
|
|
deleteModelAliasesForProvider,
|
|
getMitmAlias,
|
|
setMitmAliasAll,
|
|
getHiddenModelsByProvider,
|
|
} from "@/lib/db/models";
|
|
export { getApiKeys, createApiKey, deleteApiKey, validateApiKey } from "@/lib/db/apiKeys";
|
|
export { isCloudEnabled } from "@/lib/db/settings";
|
|
export { resolveProxyForProvider } from "@/lib/db/proxies";
|