feature: supabase sdk references#40
Conversation
397502e to
d097278
Compare
9f1371e to
2a58756
Compare
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
c45198e to
b947cb2
Compare
|
Hey sdk team, I've gave this another look by comparing the information from the reference files and our documentation. Below is the changelog report with the changes for each file and the sources I used for each one. sdk-client-browser.md — Renamed sdk-client-config.md — Added missing
sdk-client-server.md — Renamed
sdk-error-handling.md — Changed
sdk-framework-nextjs.md — Changed proxy from
sdk-perf-queries.md — Added SQL prerequisite for sdk-perf-realtime.md — Fixed subscribe callback from
sdk-query-crud.md — Removed incorrect/correct framing for insert (insert without
sdk-query-filters.md — Added sdk-query-joins.md — Changed filter from alias name (
sdk-query-rpc.md — Added missing sdk-ts-generation.md — Changed sdk-ts-usage.md — Fixed |
b947cb2 to
ec3277b
Compare
* rebase and house keeping * fix supabase sdk reference files after docs review * update agents.md
Summary
Adds 13 SDK reference files covering supabase-js client usage:
sdk-client-*): Browser singleton viacreateBrowserClient, server client with cookie handling viacreateServerClient, and configuration optionssdk-ts-*): Type generation from database schema and usage withTables/Enums/QueryDatahelperssdk-query-*): CRUD operations, filters/modifiers, relation joins, and RPC calls to Postgres functionssdk-error-handling):{ data, error }pattern, Edge Function errors, retry with custom fetchsdk-perf-*): Query optimization (select specific columns, parallel queries) and realtime subscription cleanupsdk-framework-nextjs): Next.js App Router setup with middleware, Server Components vs Client Components, Server ActionsUses
@supabase/ssr(not deprecated@supabase/auth-helpers-nextjs),getClaims(), andproxy.tspatterns. UpdatesSKILL.md,AGENTS.md, and_sections.md.