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:
diegosouzapw
2026-05-27 19:14:38 -03:00
parent 1721cf7b32
commit 44e49f635b

View File

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