Feat : Setup cloudflare worker for cloud endpoint
This commit is contained in:
8
cloud/src/stubs/usageDb.js
Normal file
8
cloud/src/stubs/usageDb.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// Stub for cloud worker - no-op async functions
|
||||
export async function saveRequestUsage() {}
|
||||
export function trackPendingRequest() {}
|
||||
export async function appendRequestLog() {}
|
||||
export async function getUsageDb() { return { data: { history: [] } }; }
|
||||
export async function getUsageHistory() { return []; }
|
||||
export async function getUsageStats() { return {}; }
|
||||
export async function getRecentLogs() { return []; }
|
||||
Reference in New Issue
Block a user