auto-claude: subtask-5-3 - Add JSDoc to supabase/client.ts

This commit is contained in:
2026-01-25 12:07:50 +01:00
parent 54caa12821
commit c23bcafacb
2 changed files with 14 additions and 5 deletions
+5 -5
View File
@@ -3,23 +3,23 @@
"spec": "018-add-jsdoc-documentation-to-utility-modules-and-cus", "spec": "018-add-jsdoc-documentation-to-utility-modules-and-cus",
"state": "building", "state": "building",
"subtasks": { "subtasks": {
"completed": 10, "completed": 19,
"total": 21, "total": 21,
"in_progress": 1, "in_progress": 1,
"failed": 0 "failed": 0
}, },
"phase": { "phase": {
"current": "Document Remaining Utilities", "current": "Document Library Modules",
"id": null, "id": null,
"total": 5 "total": 4
}, },
"workers": { "workers": {
"active": 0, "active": 0,
"max": 1 "max": 1
}, },
"session": { "session": {
"number": 3, "number": 12,
"started_at": "2026-01-25T11:52:33.491759" "started_at": "2026-01-25T11:52:33.491759"
}, },
"last_update": "2026-01-25T11:54:37.749955" "last_update": "2026-01-25T12:07:15.359150"
} }
+9
View File
@@ -1,5 +1,14 @@
/**
* Supabase Browser Client
* Client-side Supabase client for authentication and database access
*/
import { createBrowserClient } from '@supabase/ssr'; import { createBrowserClient } from '@supabase/ssr';
/**
* Creates a Supabase browser client instance
* @returns Supabase client configured with environment variables
*/
export function createClient() { export function createClient() {
return createBrowserClient( return createBrowserClient(
process.env.NEXT_PUBLIC_SUPABASE_URL!, process.env.NEXT_PUBLIC_SUPABASE_URL!,