{ "id": 0, "name": "@supabase/supabase-js", "kind": 0, "flags": {}, "originalName": "", "children": [ { "id": 189, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/Users/copple/Projects/Kade/supabase-js/src/SupabaseClient.ts", "children": [ { "id": 190, "name": "SupabaseClient", "kind": 128, "kindString": "Class", "flags": { "isExported": true }, "comment": { "shortText": "Supabase Client.", "text": "An isomorphic Javascript client for interacting with Postgres.\n" }, "children": [ { "id": 197, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "comment": { "shortText": "Create a new client for use in the browser." }, "signatures": [ { "id": 200, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", "flags": { "isExported": true }, "comment": { "shortText": "Create a new client for use in the browser." }, "parameters": [ { "id": 201, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard." }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 202, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard." }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 203, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "reference", "id": 5, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", "id": 190, "name": "SupabaseClient" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 30, "character": 36 } ] }, { "id": 191, "name": "auth", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, "comment": { "shortText": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies." }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 25, "character": 6 } ], "type": { "type": "reference", "id": 25, "name": "SupabaseAuthClient" } }, { "id": 195, "name": "authUrl", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 29, "character": 19 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 196, "name": "realtime", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 30, "character": 20 } ], "type": { "type": "reference", "name": "RealtimeClient" } }, { "id": 194, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 28, "character": 23 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 193, "name": "restUrl", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 27, "character": 19 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 192, "name": "schema", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 26, "character": 18 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 199, "name": "supabaseKey", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true, "isConstructorProperty": true }, "comment": { "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard." }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 44, "character": 25 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 198, "name": "supabaseUrl", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true, "isConstructorProperty": true }, "comment": { "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard." }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 43, "character": 25 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 230, "name": "_closeChannel", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 231, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 232, "name": "subscription", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "name": "RealtimeSubscription" } } ], "type": { "type": "reference", "typeArguments": [ { "type": "intrinsic", "name": "unknown" } ], "name": "Promise" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 155, "character": 23 } ] }, { "id": 225, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 226, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "type": { "type": "reflection", "declaration": { "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 228, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 229, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 147, "character": 28 } ] } } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 147, "character": 25 } ] }, { "id": 223, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 224, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "type": { "type": "reference", "name": "PostgrestClient" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 140, "character": 30 } ] }, { "id": 221, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 222, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "type": { "type": "reference", "name": "RealtimeClient" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 134, "character": 29 } ] }, { "id": 218, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 219, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 220, "name": "settings", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "id": 5, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", "id": 25, "name": "SupabaseAuthClient" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 121, "character": 33 } ] }, { "id": 204, "name": "from", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 205, "name": "from", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Perform a table operation." }, "typeParameter": [ { "id": 206, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "parameters": [ { "id": 207, "name": "table", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The table name to operate on.\n" }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "reference", "id": 131, "typeArguments": [ { "type": "typeParameter", "name": "T", "default": { "type": "intrinsic", "name": "any" } } ], "name": "SupabaseQueryBuilder" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 70, "character": 6 } ] }, { "id": 216, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 217, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Returns an array of all your subscriptions." }, "type": { "type": "array", "elementType": { "type": "reference", "name": "RealtimeSubscription" } } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 117, "character": 18 } ] }, { "id": 213, "name": "removeSubscription", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 214, "name": "removeSubscription", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Removes an active subscription and returns the number of open connections." }, "parameters": [ { "id": 215, "name": "subscription", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The subscription you want to remove.\n" }, "type": { "type": "reference", "name": "RealtimeSubscription" } } ], "type": { "type": "reference", "typeArguments": [ { "type": "intrinsic", "name": "unknown" } ], "name": "Promise" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 96, "character": 20 } ] }, { "id": 208, "name": "rpc", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 209, "name": "rpc", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Perform a stored procedure call." }, "typeParameter": [ { "id": 210, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "parameters": [ { "id": 211, "name": "fn", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The function name to call." }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 212, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "comment": { "text": "The parameters to pass to the function call.\n" }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "object" } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "unknown", "name": "T" } ], "name": "PostgrestBuilder" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 86, "character": 5 } ] } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [197] }, { "title": "Properties", "kind": 1024, "children": [191, 195, 196, 194, 193, 192, 199, 198] }, { "title": "Methods", "kind": 2048, "children": [230, 225, 223, 221, 218, 204, 216, 213, 208] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 21, "character": 35 } ] }, { "id": 233, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", "flags": { "isConst": true }, "children": [ { "id": 235, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 10, "character": 18 } ], "type": { "type": "intrinsic", "name": "boolean" }, "defaultValue": "true" }, { "id": 237, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 12, "character": 20 } ], "type": { "type": "intrinsic", "name": "boolean" }, "defaultValue": "true" }, { "id": 238, "name": "headers", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 13, "character": 9 } ], "type": { "type": "reflection", "declaration": { "id": 239, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {} } }, "defaultValue": "DEFAULT_HEADERS" }, { "id": 236, "name": "persistSession", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 11, "character": 16 } ], "type": { "type": "intrinsic", "name": "boolean" }, "defaultValue": "true" }, { "id": 234, "name": "schema", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 9, "character": 8 } ], "type": { "type": "intrinsic", "name": "string" }, "defaultValue": "\"public\"" } ], "groups": [ { "title": "Variables", "kind": 32, "children": [235, 237, 238, 236, 234] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 8, "character": 21 } ], "type": { "type": "intrinsic", "name": "object" } } ], "groups": [ { "title": "Classes", "kind": 128, "children": [190] }, { "title": "Object literals", "kind": 2097152, "children": [233] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 1, "character": 0 } ] }, { "id": 240, "name": "\"index\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/Users/copple/Projects/Kade/supabase-js/src/index.ts", "children": [ { "id": 241, "name": "createClient", "kind": 64, "kindString": "Function", "flags": { "isExported": true, "isConst": true }, "comment": { "shortText": "Creates a new Supabase Client." }, "signatures": [ { "id": 242, "name": "createClient", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Creates a new Supabase Client." }, "parameters": [ { "id": 243, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 244, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 245, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "reference", "id": 5, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", "id": 190, "name": "SupabaseClient" } } ], "sources": [ { "fileName": "src/index.ts", "line": 7, "character": 18 } ] } ], "groups": [ { "title": "Functions", "kind": 64, "children": [241] } ], "sources": [ { "fileName": "src/index.ts", "line": 1, "character": 0 } ] }, { "id": 24, "name": "\"lib/SupabaseAuthClient\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseAuthClient.ts", "children": [ { "id": 25, "name": "SupabaseAuthClient", "kind": 128, "kindString": "Class", "flags": { "isExported": true }, "children": [ { "id": 26, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "signatures": [ { "id": 27, "name": "new SupabaseAuthClient", "kind": 16384, "kindString": "Constructor signature", "flags": { "isExported": true }, "parameters": [ { "id": 28, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reflection", "declaration": { "id": 29, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 36, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 8, "character": 20 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 35, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 7, "character": 22 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 31, "name": "headers", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 6, "character": 11 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 32, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 33, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 34, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ] } } ] } }, { "id": 38, "name": "localStorage", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 10, "character": 16 } ], "type": { "type": "reference", "name": "Storage" } }, { "id": 37, "name": "persistSession", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 9, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 30, "name": "url", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 5, "character": 7 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [36, 35, 31, 38, 37, 30] } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 4, "character": 22 } ] } } } ], "type": { "type": "reference", "id": 25, "name": "SupabaseAuthClient" }, "overwrites": { "type": "reference", "name": "GoTrueClient.__constructor" } } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 3, "character": 54 } ], "overwrites": { "type": "reference", "name": "GoTrueClient.__constructor" } }, { "id": 41, "name": "api", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 12, "character": 17 } ], "type": { "type": "reference", "name": "GoTrueApi" }, "inheritedFrom": { "type": "reference", "id": 41, "name": "GoTrueClient.api" } }, { "id": 42, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 13, "character": 30 } ], "type": { "type": "intrinsic", "name": "boolean" }, "inheritedFrom": { "type": "reference", "id": 42, "name": "GoTrueClient.autoRefreshToken" } }, { "id": 40, "name": "currentSession", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "comment": { "shortText": "The session object for the currently logged in user or null." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 11, "character": 28 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] }, "inheritedFrom": { "type": "reference", "id": 40, "name": "GoTrueClient.currentSession" } }, { "id": 39, "name": "currentUser", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "comment": { "shortText": "The currently logged in user or null." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 7, "character": 25 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] }, "inheritedFrom": { "type": "reference", "id": 39, "name": "GoTrueClient.currentUser" } }, { "id": 44, "name": "localStorage", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 15, "character": 26 } ], "type": { "type": "reference", "name": "Storage" }, "inheritedFrom": { "type": "reference", "id": 44, "name": "GoTrueClient.localStorage" } }, { "id": 43, "name": "persistSession", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 14, "character": 28 } ], "type": { "type": "intrinsic", "name": "boolean" }, "inheritedFrom": { "type": "reference", "id": 43, "name": "GoTrueClient.persistSession" } }, { "id": 45, "name": "stateChangeEmmitters", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 16, "character": 34 } ], "type": { "type": "reference", "typeArguments": [ { "type": "intrinsic", "name": "string" }, { "type": "reference", "name": "Subscription" } ], "name": "Map" }, "inheritedFrom": { "type": "reference", "id": 45, "name": "GoTrueClient.stateChangeEmmitters" } }, { "id": 93, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 94, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Gets the session data from a URL string" }, "parameters": [ { "id": 95, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 96, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 97, "name": "storeSession", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "comment": { "text": "Optionally store the session in the browser\n" }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 104, "character": 20 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [97] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 98, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 99, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 106, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 100, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 107, "character": 13 } ], "type": { "type": "intrinsic", "name": "any" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [99, 100] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 105, "character": 16 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 93, "name": "GoTrueClient.getSessionFromUrl" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 103, "character": 21 } ], "inheritedFrom": { "type": "reference", "id": 93, "name": "GoTrueClient.getSessionFromUrl" } }, { "id": 105, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 106, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Receive a notification every time an auth event happens.", "returns": "A subscription object which can be used to unsubcribe itself.\n" }, "parameters": [ { "id": 107, "name": "callback", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reflection", "declaration": { "id": 108, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 109, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 110, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "name": "AuthChangeEvent" } }, { "id": 111, "name": "session", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } } ], "type": { "type": "intrinsic", "name": "void" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 119, "character": 31 } ] } } } ], "type": { "type": "reflection", "declaration": { "id": 112, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 113, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 120, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Subscription" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 114, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 121, "character": 13 } ], "type": { "type": "intrinsic", "name": "any" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [113, 114] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 119, "character": 91 } ] } }, "inheritedFrom": { "type": "reference", "id": 105, "name": "GoTrueClient.onAuthStateChange" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 119, "character": 21 } ], "inheritedFrom": { "type": "reference", "id": 105, "name": "GoTrueClient.onAuthStateChange" } }, { "id": 80, "name": "refreshSession", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 81, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Force refreshes the session including the user data in case it was updated in a different session." }, "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 82, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 83, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 87, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 85, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 89, "character": 13 } ], "type": { "type": "intrinsic", "name": "any" } }, { "id": 84, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 88, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [83, 85, 84] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 86, "character": 30 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 80, "name": "GoTrueClient.refreshSession" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 86, "character": 18 } ], "inheritedFrom": { "type": "reference", "id": 80, "name": "GoTrueClient.refreshSession" } }, { "id": 75, "name": "session", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 76, "name": "session", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Returns the session data, if there is an active session." }, "type": { "type": "reflection", "declaration": { "id": 77, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 78, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 80, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 79, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 81, "character": 13 } ], "type": { "type": "intrinsic", "name": "any" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [78, 79] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 79, "character": 14 } ] } }, "inheritedFrom": { "type": "reference", "id": 75, "name": "GoTrueClient.session" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 79, "character": 11 } ], "inheritedFrom": { "type": "reference", "id": 75, "name": "GoTrueClient.session" } }, { "id": 56, "name": "signIn", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 57, "name": "signIn", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Log in an existing user, or login via a third-party provider." }, "parameters": [ { "id": 58, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The user login details." }, "type": { "type": "reflection", "declaration": { "id": 59, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 60, "name": "email", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "comment": { "text": "The user's email address." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 58, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 61, "name": "password", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "comment": { "text": "The user's password." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 59, "character": 16 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 62, "name": "provider", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "comment": { "text": "One of the providers supported by GoTrue.\n" }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 60, "character": 16 } ], "type": { "type": "reference", "name": "Provider" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [60, 61, 62] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 57, "character": 23 } ] } } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 63, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 64, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 62, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 68, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 66, "character": 13 } ], "type": { "type": "intrinsic", "name": "any" } }, { "id": 66, "name": "provider", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 64, "character": 16 } ], "type": { "type": "reference", "name": "Provider" } }, { "id": 67, "name": "url", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 65, "character": 11 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "string" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 65, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 63, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [64, 68, 66, 67, 65] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 61, "character": 16 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 56, "name": "GoTrueClient.signIn" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 57, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 56, "name": "GoTrueClient.signIn" } }, { "id": 101, "name": "signOut", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 102, "name": "signOut", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Signs out the current user, if there is a logged in user." }, "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 103, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 104, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 113, "character": 13 } ], "type": { "type": "intrinsic", "name": "any" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [104] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 112, "character": 23 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 101, "name": "GoTrueClient.signOut" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 112, "character": 11 } ], "inheritedFrom": { "type": "reference", "id": 101, "name": "GoTrueClient.signOut" } }, { "id": 46, "name": "signUp", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 47, "name": "signUp", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Creates a new user." }, "parameters": [ { "id": 48, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The user login details." }, "type": { "type": "reflection", "declaration": { "id": 49, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 50, "name": "email", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "The user's email address." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 43, "character": 13 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 51, "name": "password", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "The user's password.\n" }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 44, "character": 16 } ], "type": { "type": "intrinsic", "name": "string" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [50, 51] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 42, "character": 23 } ] } } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 52, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 53, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 46, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 55, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 48, "character": 13 } ], "type": { "type": "intrinsic", "name": "any" } }, { "id": 54, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 47, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [53, 55, 54] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 45, "character": 16 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 46, "name": "GoTrueClient.signUp" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 42, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 46, "name": "GoTrueClient.signUp" } }, { "id": 86, "name": "update", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 87, "name": "update", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Updates user data, if there is a logged in user." }, "parameters": [ { "id": 88, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "name": "UserAttributes" } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 89, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 90, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 95, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 92, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 97, "character": 13 } ], "type": { "type": "intrinsic", "name": "any" } }, { "id": 91, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 96, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [90, 92, 91] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 94, "character": 48 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 86, "name": "GoTrueClient.update" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 94, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 86, "name": "GoTrueClient.update" } }, { "id": 69, "name": "user", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 70, "name": "user", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Returns the user data, if there is a logged in user." }, "type": { "type": "reflection", "declaration": { "id": 71, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 72, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 72, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 74, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 74, "character": 13 } ], "type": { "type": "intrinsic", "name": "any" } }, { "id": 73, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 73, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [72, 74, 73] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 71, "character": 11 } ] } }, "inheritedFrom": { "type": "reference", "id": 69, "name": "GoTrueClient.user" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 71, "character": 8 } ], "inheritedFrom": { "type": "reference", "id": 69, "name": "GoTrueClient.user" } } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [26] }, { "title": "Properties", "kind": 1024, "children": [41, 42, 40, 39, 44, 43, 45] }, { "title": "Methods", "kind": 2048, "children": [93, 105, 80, 75, 56, 101, 46, 86, 69] } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 3, "character": 31 } ], "extendedTypes": [ { "type": "reference", "name": "GoTrueClient" } ] } ], "groups": [ { "title": "Classes", "kind": 128, "children": [25] } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 1, "character": 0 } ] }, { "id": 130, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { "id": 131, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", "flags": { "isExported": true }, "typeParameter": [ { "id": 132, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "children": [ { "id": 135, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "signatures": [ { "id": 136, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": { "isExported": true }, "parameters": [ { "id": 137, "name": "url", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 138, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__1", "type": { "type": "reflection", "declaration": { "id": 139, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 140, "name": "headers", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 13, "character": 13 } ], "type": { "type": "reflection", "declaration": { "id": 141, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 142, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 143, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ] } } }, { "id": 145, "name": "realtime", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 15, "character": 14 } ], "type": { "type": "reference", "name": "RealtimeClient" } }, { "id": 144, "name": "schema", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 14, "character": 12 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 146, "name": "table", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 16, "character": 11 } ], "type": { "type": "intrinsic", "name": "string" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [140, 145, 144, 146] } ], "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 11, "character": 16 } ] } } } ], "type": { "type": "reference", "id": 131, "name": "SupabaseQueryBuilder" }, "overwrites": { "type": "reference", "name": "PostgrestQueryBuilder.__constructor" } } ], "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 8, "character": 35 } ], "overwrites": { "type": "reference", "name": "PostgrestQueryBuilder.__constructor" } }, { "id": 134, "name": "_realtime", "kind": 1024, "kindString": "Property", "flags": { "isPrivate": true, "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 8, "character": 19 } ], "type": { "type": "reference", "name": "RealtimeClient" } }, { "id": 133, "name": "_subscription", "kind": 1024, "kindString": "Property", "flags": { "isPrivate": true, "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 7, "character": 23 } ], "type": { "type": "reference", "id": 116, "name": "SupabaseRealtimeClient" } }, { "id": 176, "name": "body", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 38, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "Partial" }, { "type": "array", "elementType": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "Partial" } } ] }, "inheritedFrom": { "type": "reference", "id": 176, "name": "PostgrestBuilder.body" } }, { "id": 171, "name": "headers", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 34, "character": 21 } ], "type": { "type": "reflection", "declaration": { "id": 172, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 173, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 174, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 34, "character": 22 } ] } }, "inheritedFrom": { "type": "reference", "id": 171, "name": "PostgrestBuilder.headers" } }, { "id": 169, "name": "method", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 32, "character": 20 } ], "type": { "type": "union", "types": [ { "type": "stringLiteral", "value": "GET" }, { "type": "stringLiteral", "value": "HEAD" }, { "type": "stringLiteral", "value": "POST" }, { "type": "stringLiteral", "value": "PATCH" }, { "type": "stringLiteral", "value": "DELETE" } ] }, "inheritedFrom": { "type": "reference", "id": 169, "name": "PostgrestBuilder.method" } }, { "id": 175, "name": "schema", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 37, "character": 20 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] }, "inheritedFrom": { "type": "reference", "id": 175, "name": "PostgrestBuilder.schema" } }, { "id": 170, "name": "url", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 33, "character": 17 } ], "type": { "type": "reference", "name": "URL" }, "inheritedFrom": { "type": "reference", "id": 170, "name": "PostgrestBuilder.url" } }, { "id": 167, "name": "delete", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 168, "name": "delete", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs a DELETE on the table." }, "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", "id": 167, "name": "PostgrestQueryBuilder.delete" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 39, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 167, "name": "PostgrestQueryBuilder.delete" } }, { "id": 157, "name": "insert", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 158, "name": "insert", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs an INSERT into the table." }, "parameters": [ { "id": 159, "name": "values", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The values to insert." }, "type": { "type": "union", "types": [ { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "Partial" }, { "type": "array", "elementType": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "Partial" } } ] } }, { "id": 160, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "originalName": "__1", "type": { "type": "reflection", "declaration": { "id": 161, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 163, "name": "onConflict", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint.\n" }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 26, "character": 66 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 162, "name": "upsert", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "If `true`, performs an UPSERT." }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 26, "character": 54 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [163, 162] } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 26, "character": 45 } ] } } } ], "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", "id": 157, "name": "PostgrestQueryBuilder.insert" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 26, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 157, "name": "PostgrestQueryBuilder.insert" } }, { "id": 147, "name": "on", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 148, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Subscribe to realtime changes in your databse." }, "parameters": [ { "id": 149, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes." }, "type": { "type": "union", "types": [ { "type": "stringLiteral", "value": "INSERT" }, { "type": "stringLiteral", "value": "UPDATE" }, { "type": "stringLiteral", "value": "DELETE" }, { "type": "stringLiteral", "value": "*" } ] } }, { "id": 150, "name": "callback", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "A callback that will handle the payload that is sent whenever your database changes.\n" }, "type": { "type": "reflection", "declaration": { "id": 151, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 152, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 153, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "id": 15, "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "SupabaseRealtimePayload" } } ], "type": { "type": "intrinsic", "name": "void" } } ], "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 37, "character": 13 } ] } } } ], "type": { "type": "reference", "id": 116, "name": "SupabaseRealtimeClient" } } ], "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 35, "character": 4 } ] }, { "id": 154, "name": "select", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 155, "name": "select", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs horizontal filtering with SELECT." }, "parameters": [ { "id": 156, "name": "columns", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "comment": { "text": "The columns to retrieve, separated by commas.\n" }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", "id": 154, "name": "PostgrestQueryBuilder.select" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 18, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 154, "name": "PostgrestQueryBuilder.select" } }, { "id": 177, "name": "then", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 178, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "typeParameter": [ { "id": 179, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } }, { "id": 180, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "parameters": [ { "id": 181, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "reflection", "declaration": { "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 183, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 184, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestResponse" } } ], "type": { "type": "union", "types": [ { "type": "typeParameter", "name": "TResult1", "default": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestResponse" } }, { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "TResult1", "default": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestResponse" } } ], "name": "PromiseLike" } ] } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 40, "character": 75 } ] } }, { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 185, "name": "onrejected", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "reflection", "declaration": { "id": 186, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 187, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 188, "name": "reason", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "union", "types": [ { "type": "typeParameter", "name": "TResult2", "default": { "type": "intrinsic", "name": "never" } }, { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "TResult2", "default": { "type": "intrinsic", "name": "never" } } ], "name": "PromiseLike" } ] } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 40, "character": 176 } ] } }, { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "null" } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "union", "types": [ { "type": "typeParameter", "name": "TResult1", "default": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestResponse" } }, { "type": "typeParameter", "name": "TResult2", "default": { "type": "intrinsic", "name": "never" } } ] } ], "name": "PromiseLike" }, "inheritedFrom": { "type": "reference", "id": 177, "name": "PostgrestBuilder.then" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 40, "character": 8 } ], "inheritedFrom": { "type": "reference", "id": 177, "name": "PostgrestBuilder.then" } }, { "id": 164, "name": "update", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 165, "name": "update", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs an UPDATE on the table." }, "parameters": [ { "id": 166, "name": "values", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The values to update.\n" }, "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "Partial" } } ], "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", "id": 164, "name": "PostgrestQueryBuilder.update" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 35, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 164, "name": "PostgrestQueryBuilder.update" } } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [135] }, { "title": "Properties", "kind": 1024, "children": [134, 133, 176, 171, 169, 175, 170] }, { "title": "Methods", "kind": 2048, "children": [167, 157, 147, 154, 177, 164] } ], "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 6, "character": 33 } ], "extendedTypes": [ { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestQueryBuilder" } ], "implementedTypes": [ { "type": "reference", "typeArguments": [ { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestResponse" } ], "name": "PromiseLike" } ] } ], "groups": [ { "title": "Classes", "kind": 128, "children": [131] } ], "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 1, "character": 0 } ] }, { "id": 115, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { "id": 116, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", "flags": { "isExported": true }, "children": [ { "id": 118, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "signatures": [ { "id": 119, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", "flags": { "isExported": true }, "parameters": [ { "id": 120, "name": "socket", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "name": "RealtimeClient" } }, { "id": 121, "name": "schema", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 122, "name": "tableName", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "reference", "id": 116, "name": "SupabaseRealtimeClient" } } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 5, "character": 36 } ] }, { "id": 117, "name": "subscription", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 5, "character": 14 } ], "type": { "type": "reference", "name": "RealtimeSubscription" } }, { "id": 123, "name": "on", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 124, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "The event you want to listen to." }, "parameters": [ { "id": 125, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The event" }, "type": { "type": "union", "types": [ { "type": "stringLiteral", "value": "INSERT" }, { "type": "stringLiteral", "value": "UPDATE" }, { "type": "stringLiteral", "value": "DELETE" }, { "type": "stringLiteral", "value": "*" } ] } }, { "id": 126, "name": "callback", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "A callback function that is called whenever the event occurs.\n" }, "type": { "type": "reference", "name": "Function" } } ], "type": { "type": "unknown", "name": "this" } } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 18, "character": 4 } ] }, { "id": 127, "name": "subscribe", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 128, "name": "subscribe", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Enables the subscription." }, "parameters": [ { "id": 129, "name": "callback", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "name": "Function" }, "defaultValue": "() => {}" } ], "type": { "type": "reference", "name": "RealtimeSubscription" } } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 55, "character": 11 } ] } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [118] }, { "title": "Properties", "kind": 1024, "children": [117] }, { "title": "Methods", "kind": 2048, "children": [123, 127] } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 4, "character": 35 } ] } ], "groups": [ { "title": "Classes", "kind": 128, "children": [116] } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 1, "character": 0 } ] }, { "id": 1, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/constants.ts", "children": [ { "id": 2, "name": "DEFAULT_HEADERS", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isConst": true }, "sources": [ { "fileName": "src/lib/constants.ts", "line": 3, "character": 28 } ], "type": { "type": "reflection", "declaration": { "id": 3, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true } } } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [2] } ], "sources": [ { "fileName": "src/lib/constants.ts", "line": 1, "character": 0 } ] }, { "id": 246, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/helpers.ts", "children": [ { "id": 247, "name": "uuid", "kind": 64, "kindString": "Function", "flags": { "isExported": true }, "signatures": [ { "id": 248, "name": "uuid", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "sources": [ { "fileName": "src/lib/helpers.ts", "line": 3, "character": 20 } ] } ], "groups": [ { "title": "Functions", "kind": 64, "children": [247] } ], "sources": [ { "fileName": "src/lib/helpers.ts", "line": 1, "character": 0 } ] }, { "id": 4, "name": "\"lib/types\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/types.ts", "children": [ { "id": 5, "name": "SupabaseClientOptions", "kind": 4194304, "kindString": "Type alias", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 1, "character": 33 } ], "type": { "type": "reflection", "declaration": { "id": 6, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 12, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "comment": { "shortText": "Automatically refreshes the token for logged in users." }, "sources": [ { "fileName": "src/lib/types.ts", "line": 13, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 14, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "comment": { "shortText": "Detect a session from the URL. Used for OAuth login callbacks." }, "sources": [ { "fileName": "src/lib/types.ts", "line": 21, "character": 20 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 8, "name": "headers", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "comment": { "shortText": "Optional headers for initializing the client." }, "sources": [ { "fileName": "src/lib/types.ts", "line": 9, "character": 9 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 9, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 10, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 11, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ] } } ] } }, { "id": 13, "name": "persistSession", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "comment": { "shortText": "Whether to persist a logged in session to storage." }, "sources": [ { "fileName": "src/lib/types.ts", "line": 17, "character": 16 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 7, "name": "schema", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase." }, "sources": [ { "fileName": "src/lib/types.ts", "line": 5, "character": 8 } ], "type": { "type": "intrinsic", "name": "string" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [12, 14, 8, 13, 7] } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 1, "character": 35 } ] } } }, { "id": 15, "name": "SupabaseRealtimePayload", "kind": 4194304, "kindString": "Type alias", "flags": { "isExported": true }, "typeParameter": [ { "id": 16, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 24, "character": 35 } ], "type": { "type": "reflection", "declaration": { "id": 17, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 18, "name": "commit_timestamp", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 25, "character": 18 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 19, "name": "eventType", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 26, "character": 11 } ], "type": { "type": "union", "types": [ { "type": "stringLiteral", "value": "INSERT" }, { "type": "stringLiteral", "value": "UPDATE" }, { "type": "stringLiteral", "value": "DELETE" } ] } }, { "id": 22, "name": "new", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "shortText": "The new record. Present for 'INSERT' and 'UPDATE' events." }, "sources": [ { "fileName": "src/lib/types.ts", "line": 30, "character": 5 } ], "type": { "type": "typeParameter", "name": "T" } }, { "id": 23, "name": "old", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "shortText": "The previous record. Present for 'UPDATE' and 'DELETE' events." }, "sources": [ { "fileName": "src/lib/types.ts", "line": 32, "character": 5 } ], "type": { "type": "typeParameter", "name": "T" } }, { "id": 20, "name": "schema", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 27, "character": 8 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 21, "name": "table", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 28, "character": 7 } ], "type": { "type": "intrinsic", "name": "string" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [18, 19, 22, 23, 20, 21] } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 24, "character": 40 } ] } } } ], "groups": [ { "title": "Type aliases", "kind": 4194304, "children": [5, 15] } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 1, "character": 0 } ] } ], "groups": [ { "title": "Modules", "kind": 1, "children": [189, 240, 24, 130, 115, 1, 246, 4] } ] }