auto-claude: subtask-5-3 - Add JSDoc to supabase/client.ts
This commit is contained in:
+5
-5
@@ -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"
|
||||||
}
|
}
|
||||||
@@ -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!,
|
||||||
|
|||||||
Reference in New Issue
Block a user