From 44e49f635bf932d55fc34c1cfcf960230dd9a6a7 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Wed, 27 May 2026 19:14:38 -0300 Subject: [PATCH] chore(db): re-export quota modules in localDb (B/F2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/lib/localDb.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/lib/localDb.ts b/src/lib/localDb.ts index 648c03f658..cc3c766329 100755 --- a/src/lib/localDb.ts +++ b/src/lib/localDb.ts @@ -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";