mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-05 06:42:12 +03:00
chore(db): re-export quota modules in localDb (B/F2)
Adds re-export blocks for quotaPools (7 functions), quotaConsumption (4 functions with gcQuotaConsumption alias), and providerPlans (4 functions with getProviderPlan/listProviderPlans/etc. aliases). Zero logic added to localDb.ts — Hard Rule #2 maintained.
This commit is contained in:
@@ -508,3 +508,26 @@ export {
|
||||
} from "./db/freeProxies";
|
||||
|
||||
export type { FreeProxyRecord, FreeProxyStats } from "./db/freeProxies";
|
||||
|
||||
// Quota Sharing — Group B (planos 16+22)
|
||||
export {
|
||||
listPools,
|
||||
getPool,
|
||||
createPool,
|
||||
updatePool,
|
||||
deletePool,
|
||||
upsertAllocations,
|
||||
listAllocationsForApiKey,
|
||||
} from "./db/quotaPools";
|
||||
export {
|
||||
getBucket,
|
||||
incrementBucket,
|
||||
getPair,
|
||||
gcOlderThan as gcQuotaConsumption,
|
||||
} from "./db/quotaConsumption";
|
||||
export {
|
||||
getPlan as getProviderPlan,
|
||||
listPlans as listProviderPlans,
|
||||
upsertPlan as upsertProviderPlan,
|
||||
deletePlan as deleteProviderPlan,
|
||||
} from "./db/providerPlans";
|
||||
|
||||
Reference in New Issue
Block a user