Files
OmniRoute/src/models/index.ts
Webman 4e11887085 fix(barrel): migrate open-sse, src/shared, src/sse, src/models, src/domain off the @/lib/localDb barrel import (#11795 Phase 4) (#12053)
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.
2026-08-30 02:31:09 -03:00

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";