Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
temp: flow everything to main db, no replica
Gergő Móricz3ac51ccab39f
diff --git a/apps/api/src/services/supabase.ts b/apps/api/src/services/supabase.tsindex 5eb11d1af..ec204b638 100644--- a/apps/api/src/services/supabase.ts+++ b/apps/api/src/services/supabase.ts@@ -69,20 +69,22 @@ export const supabase_service: SupabaseClient = new Proxy(serv, {},}) as unknown as SupabaseClient;-export const supabase_rr_service: SupabaseClient = new Proxy(serv, {- get: function (target, prop, receiver) {- const client = target.getRRClient();- // If the Supabase client is not initialized, intercept property access to provide meaningful error feedback.- if (client === null) {- return () => {- throw new Error("Supabase RR client is not configured.");- };- }- // Direct access to SupabaseService properties takes precedence.- if (prop in target) {- return Reflect.get(target, prop, receiver);- }- // Otherwise, delegate access to the Supabase client.- return Reflect.get(client, prop, receiver);- },-}) as unknown as SupabaseClient;+// export const supabase_rr_service: SupabaseClient = new Proxy(serv, {+// get: function (target, prop, receiver) {+// const client = target.getRRClient();+// // If the Supabase client is not initialized, intercept property access to provide meaningful error feedback.+// if (client === null) {+// return () => {+// throw new Error("Supabase RR client is not configured.");+// };+// }+// // Direct access to SupabaseService properties takes precedence.+// if (prop in target) {+// return Reflect.get(target, prop, receiver);+// }+// // Otherwise, delegate access to the Supabase client.+// return Reflect.get(client, prop, receiver);+// },+// }) as unknown as SupabaseClient;++export const supabase_rr_service = supabase_service;