{ "id": 0, "name": "@supabase/supabase-js", "kind": 0, "flags": {}, "originalName": "", "children": [ { "id": 264, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts", "children": [ { "id": 265, "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": 273, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "comment": { "shortText": "Create a new client for use in the browser." }, "signatures": [ { "id": 276, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", "flags": { "isExported": true }, "comment": { "shortText": "Create a new client for use in the browser." }, "parameters": [ { "id": 277, "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": 278, "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": 279, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "reference", "id": 5, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", "id": 265, "name": "SupabaseClient" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 34, "character": 36 } ] }, { "id": 266, "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": 27, "character": 6 } ], "type": { "type": "reference", "id": 28, "name": "SupabaseAuthClient" } }, { "id": 270, "name": "authUrl", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 32, "character": 19 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 272, "name": "realtime", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 34, "character": 20 } ], "type": { "type": "reference", "name": "RealtimeClient" } }, { "id": 269, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 31, "character": 23 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 268, "name": "restUrl", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 30, "character": 19 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 267, "name": "schema", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 29, "character": 18 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 271, "name": "storageUrl", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 33, "character": 22 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 275, "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": 49, "character": 25 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 274, "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": 48, "character": 25 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 280, "name": "storage", "kind": 262144, "kindString": "Accessor", "flags": { "isExported": true }, "comment": { "shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos." }, "getSignature": [ { "id": 281, "name": "__get", "kind": 524288, "kindString": "Get signature", "flags": { "isExported": true }, "comment": { "shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos." }, "type": { "type": "reference", "name": "SupabaseStorageClient" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 74, "character": 13 } ] }, { "id": 320, "name": "_closeChannel", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 321, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 322, "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": 186, "character": 23 } ] }, { "id": 297, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 298, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 299, "name": "subscription", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "name": "RealtimeSubscription" } } ], "type": { "type": "reference", "typeArguments": [ { "type": "intrinsic", "name": "void" } ], "name": "Promise" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 132, "character": 34 } ] }, { "id": 315, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 316, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "type": { "type": "reflection", "declaration": { "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 318, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 319, "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": 178, "character": 28 } ] } } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 178, "character": 25 } ] }, { "id": 313, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 314, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "type": { "type": "reference", "name": "PostgrestClient" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 171, "character": 30 } ] }, { "id": 310, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 311, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 312, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "reference", "name": "RealtimeClientOptions" } } ], "type": { "type": "reference", "name": "RealtimeClient" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 164, "character": 29 } ] }, { "id": 302, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 303, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 304, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__0", "type": { "type": "reflection", "declaration": { "id": 305, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 306, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 146, "character": 20 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 308, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 148, "character": 22 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 309, "name": "localStorage", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 149, "character": 16 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reference", "name": "Storage" } ] } }, { "id": 307, "name": "persistSession", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 147, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 306, 308, 309, 307 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 145, "character": 34 } ] } } } ], "type": { "type": "reference", "id": 28, "name": "SupabaseAuthClient" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 145, "character": 33 } ] }, { "id": 282, "name": "from", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 283, "name": "from", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Perform a table operation." }, "typeParameter": [ { "id": 284, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "parameters": [ { "id": 285, "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": 174, "typeArguments": [ { "type": "typeParameter", "name": "T", "default": { "type": "intrinsic", "name": "any" } } ], "name": "SupabaseQueryBuilder" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 83, "character": 6 } ] }, { "id": 300, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 301, "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": 141, "character": 18 } ] }, { "id": 294, "name": "removeSubscription", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 295, "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": 296, "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": 115, "character": 20 } ] }, { "id": 286, "name": "rpc", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 287, "name": "rpc", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Perform a function call." }, "typeParameter": [ { "id": 288, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "parameters": [ { "id": 289, "name": "fn", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The function name to call." }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 290, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "comment": { "text": "The parameters to pass to the function call." }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "object" } ] } }, { "id": 291, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__2", "type": { "type": "reflection", "declaration": { "id": 292, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 293, "name": "count", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "Count algorithm to use to count rows in a table.\n\n" }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 104, "character": 11 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "null" }, { "type": "stringLiteral", "value": "exact" }, { "type": "stringLiteral", "value": "planned" }, { "type": "stringLiteral", "value": "estimated" } ] }, "defaultValue": "null" } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 293 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 103, "character": 20 } ] } }, "defaultValue": "{}" } ], "type": { "type": "reference", "typeArguments": [ { "type": "unknown", "name": "T" } ], "name": "PostgrestFilterBuilder" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 101, "character": 5 } ] } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [ 273 ] }, { "title": "Properties", "kind": 1024, "children": [ 266, 270, 272, 269, 268, 267, 271, 275, 274 ] }, { "title": "Accessors", "kind": 262144, "children": [ 280 ] }, { "title": "Methods", "kind": 2048, "children": [ 320, 297, 315, 313, 310, 302, 282, 300, 294, 286 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 23, "character": 35 } ] }, { "id": 323, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", "flags": { "isConst": true }, "children": [ { "id": 325, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 11, "character": 18 } ], "type": { "type": "intrinsic", "name": "boolean" }, "defaultValue": "true" }, { "id": 327, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 13, "character": 20 } ], "type": { "type": "intrinsic", "name": "boolean" }, "defaultValue": "true" }, { "id": 329, "name": "headers", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 15, "character": 9 } ], "type": { "type": "reflection", "declaration": { "id": 330, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {} } }, "defaultValue": "DEFAULT_HEADERS" }, { "id": 328, "name": "localStorage", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 14, "character": 14 } ], "type": { "type": "reference", "name": "Storage" }, "defaultValue": "globalThis.localStorage" }, { "id": 326, "name": "persistSession", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 12, "character": 16 } ], "type": { "type": "intrinsic", "name": "boolean" }, "defaultValue": "true" }, { "id": 324, "name": "schema", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 10, "character": 8 } ], "type": { "type": "intrinsic", "name": "string" }, "defaultValue": "\"public\"" } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 325, 327, 329, 328, 326, 324 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 9, "character": 21 } ], "type": { "type": "intrinsic", "name": "object" } } ], "groups": [ { "title": "Classes", "kind": 128, "children": [ 265 ] }, { "title": "Object literals", "kind": 2097152, "children": [ 323 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 1, "character": 0 } ] }, { "id": 331, "name": "\"index\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { "id": 332, "name": "createClient", "kind": 64, "kindString": "Function", "flags": { "isExported": true, "isConst": true }, "comment": { "shortText": "Creates a new Supabase Client." }, "signatures": [ { "id": 333, "name": "createClient", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Creates a new Supabase Client." }, "parameters": [ { "id": 334, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 335, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 336, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "reference", "id": 5, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", "id": 265, "name": "SupabaseClient" } } ], "sources": [ { "fileName": "src/index.ts", "line": 16, "character": 18 } ] } ], "groups": [ { "title": "Functions", "kind": 64, "children": [ 332 ] } ], "sources": [ { "fileName": "src/index.ts", "line": 1, "character": 0 } ] }, { "id": 27, "name": "\"lib/SupabaseAuthClient\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts", "children": [ { "id": 28, "name": "SupabaseAuthClient", "kind": 128, "kindString": "Class", "flags": { "isExported": true }, "children": [ { "id": 29, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "signatures": [ { "id": 30, "name": "new SupabaseAuthClient", "kind": 16384, "kindString": "Constructor signature", "flags": { "isExported": true }, "parameters": [ { "id": 31, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reflection", "declaration": { "id": 32, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 39, "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": 38, "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": 34, "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": 35, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 36, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 37, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ] } } ] } }, { "id": 41, "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": 40, "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": 33, "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": [ 39, 38, 34, 41, 40, 33 ] } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 4, "character": 22 } ] } } } ], "type": { "type": "reference", "id": 28, "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": 42, "name": "api", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, "comment": { "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 8, "character": 7 } ], "type": { "type": "reference", "name": "GoTrueApi" }, "inheritedFrom": { "type": "reference", "id": 42, "name": "GoTrueClient.api" } }, { "id": 45, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 17, "character": 30 } ], "type": { "type": "intrinsic", "name": "boolean" }, "inheritedFrom": { "type": "reference", "id": 45, "name": "GoTrueClient.autoRefreshToken" } }, { "id": 44, "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": 16, "character": 28 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] }, "inheritedFrom": { "type": "reference", "id": 44, "name": "GoTrueClient.currentSession" } }, { "id": 43, "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": 12, "character": 25 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] }, "inheritedFrom": { "type": "reference", "id": 43, "name": "GoTrueClient.currentUser" } }, { "id": 47, "name": "localStorage", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 19, "character": 26 } ], "type": { "type": "reference", "name": "Storage" }, "inheritedFrom": { "type": "reference", "id": 47, "name": "GoTrueClient.localStorage" } }, { "id": 46, "name": "persistSession", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 18, "character": 28 } ], "type": { "type": "intrinsic", "name": "boolean" }, "inheritedFrom": { "type": "reference", "id": 46, "name": "GoTrueClient.persistSession" } }, { "id": 49, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 21, "character": 31 } ], "type": { "type": "reference", "typeArguments": [ { "type": "query", "queryType": { "type": "reference", "name": "setTimeout" } } ], "name": "ReturnType" }, "inheritedFrom": { "type": "reference", "id": 49, "name": "GoTrueClient.refreshTokenTimer" } }, { "id": 48, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 20, "character": 33 } ], "type": { "type": "reference", "typeArguments": [ { "type": "intrinsic", "name": "string" }, { "type": "reference", "name": "Subscription" } ], "name": "Map" }, "inheritedFrom": { "type": "reference", "id": 48, "name": "GoTrueClient.stateChangeEmitters" } }, { "id": 125, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 126, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Gets the session data from a URL string" }, "parameters": [ { "id": 127, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 128, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 129, "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": 137, "character": 20 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 129 ] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 131, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 139, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 132, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 140, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 131, 132 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 138, "character": 16 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 125, "name": "GoTrueClient.getSessionFromUrl" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 136, "character": 21 } ], "inheritedFrom": { "type": "reference", "id": 125, "name": "GoTrueClient.getSessionFromUrl" } }, { "id": 137, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 138, "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 unsubscribe itself.\n" }, "parameters": [ { "id": 139, "name": "callback", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reflection", "declaration": { "id": 140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 141, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 142, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "name": "AuthChangeEvent" } }, { "id": 143, "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": 155, "character": 31 } ] } } } ], "type": { "type": "reflection", "declaration": { "id": 144, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 145, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 156, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Subscription" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 146, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 157, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 145, 146 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 155, "character": 91 } ] } }, "inheritedFrom": { "type": "reference", "id": 137, "name": "GoTrueClient.onAuthStateChange" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 155, "character": 21 } ], "inheritedFrom": { "type": "reference", "id": 137, "name": "GoTrueClient.onAuthStateChange" } }, { "id": 103, "name": "refreshSession", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 104, "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": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 106, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 107, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 108, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 109, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 107, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 108, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 106, 108, 107 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 106, "character": 30 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 103, "name": "GoTrueClient.refreshSession" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 106, "character": 18 } ], "inheritedFrom": { "type": "reference", "id": 103, "name": "GoTrueClient.refreshSession" } }, { "id": 101, "name": "session", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 102, "name": "session", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Returns the session data, if there is an active session." }, "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] }, "inheritedFrom": { "type": "reference", "id": 101, "name": "GoTrueClient.session" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 102, "character": 11 } ], "inheritedFrom": { "type": "reference", "id": 101, "name": "GoTrueClient.session" } }, { "id": 122, "name": "setAuth", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 123, "name": "setAuth", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Overrides the JWT on the current client. The JWT will then be sent in all subsequent network requests." }, "parameters": [ { "id": 124, "name": "access_token", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "a jwt access token\n" }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "reference", "name": "Session" }, "inheritedFrom": { "type": "reference", "id": 122, "name": "GoTrueClient.setAuth" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 131, "character": 11 } ], "inheritedFrom": { "type": "reference", "id": 122, "name": "GoTrueClient.setAuth" } }, { "id": 116, "name": "setSession", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 117, "name": "setSession", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Sets the session data from refresh_token and returns current Session and Error" }, "parameters": [ { "id": 118, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "a JWT token\n" }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 119, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 121, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 125, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 120, "name": "session", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 124, "character": 15 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 121, 120 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 123, "character": 47 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 116, "name": "GoTrueClient.setSession" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 123, "character": 14 } ], "inheritedFrom": { "type": "reference", "id": 116, "name": "GoTrueClient.setSession" } }, { "id": 65, "name": "signIn", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 66, "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": 67, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__0", "type": { "type": "reflection", "declaration": { "id": 68, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 69, "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": 68, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 71, "name": "password", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "The user's password." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 68, "character": 35 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 70, "name": "phone", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 68, "character": 25 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 73, "name": "provider", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "One of the providers supported by GoTrue." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 68, "character": 59 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "stringLiteral", "value": "azure" }, { "type": "stringLiteral", "value": "bitbucket" }, { "type": "stringLiteral", "value": "facebook" }, { "type": "stringLiteral", "value": "github" }, { "type": "stringLiteral", "value": "gitlab" }, { "type": "stringLiteral", "value": "google" }, { "type": "stringLiteral", "value": "twitter" }, { "type": "stringLiteral", "value": "apple" }, { "type": "stringLiteral", "value": "discord" }, { "type": "stringLiteral", "value": "twitch" } ] } }, { "id": 72, "name": "refreshToken", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "A valid refresh token that was returned on login." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 68, "character": 49 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 69, 71, 70, 73, 72 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 68, "character": 11 } ] } } }, { "id": 74, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 75, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 76, "name": "redirectTo", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 69, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 77, "name": "scopes", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 70, "character": 14 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 76, 77 ] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 78, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 84, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 77, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 83, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 76, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 81, "name": "provider", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 74, "character": 16 } ], "type": { "type": "reference", "name": "Provider" } }, { "id": 79, "name": "session", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 72, "character": 15 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 82, "name": "url", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 75, "character": 11 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "string" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 80, "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": [ 84, 83, 81, 79, 82, 80 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 71, "character": 16 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 65, "name": "GoTrueClient.signIn" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 68, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 65, "name": "GoTrueClient.signIn" } }, { "id": 133, "name": "signOut", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 134, "name": "signOut", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Inside a browser context, `signOut()` will remove extract the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.", "text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n" }, "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 135, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 136, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 149, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 136 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 148, "character": 23 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 133, "name": "GoTrueClient.signOut" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 148, "character": 11 } ], "inheritedFrom": { "type": "reference", "id": 133, "name": "GoTrueClient.signOut" } }, { "id": 50, "name": "signUp", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 51, "name": "signUp", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Creates a new user." }, "parameters": [ { "id": 52, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__0", "type": { "type": "reflection", "declaration": { "id": 53, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 54, "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": 50, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 55, "name": "password", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "The user's password." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 50, "character": 28 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 56, "name": "phone", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "The user's phone number." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 50, "character": 35 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 54, 55, 56 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 50, "character": 11 } ] } } }, { "id": 57, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 58, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 59, "name": "redirectTo", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 51, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 59 ] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 60, "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": 56, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 63, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 55, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 62, "name": "session", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 54, "character": 15 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 61, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 53, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 64, 63, 62, 61 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 52, "character": 16 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 50, "name": "GoTrueClient.signUp" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 50, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 50, "name": "GoTrueClient.signUp" } }, { "id": 109, "name": "update", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 110, "name": "update", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Updates user data, if there is a logged in user." }, "parameters": [ { "id": 111, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "name": "UserAttributes" } } ], "type": { "type": "reference", "typeArguments": [ { "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": 115, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 115, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 117, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 114, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 116, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 113, 115, 114 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 114, "character": 48 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 109, "name": "GoTrueClient.update" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 114, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 109, "name": "GoTrueClient.update" } }, { "id": 99, "name": "user", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 100, "name": "user", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Inside a browser context, `user()` will return the user data, if there is a logged in user.", "text": "For server-side management, you can get a user through `auth.api.getUserByCookie()`\n" }, "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] }, "inheritedFrom": { "type": "reference", "id": 99, "name": "GoTrueClient.user" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 98, "character": 8 } ], "inheritedFrom": { "type": "reference", "id": 99, "name": "GoTrueClient.user" } }, { "id": 85, "name": "verifyOTP", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 86, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Log in a user given a User supplied OTP received via mobile." }, "parameters": [ { "id": 87, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__0", "type": { "type": "reflection", "declaration": { "id": 88, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 89, "name": "phone", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "The user's phone number." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 85, "character": 21 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 90, "name": "token", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "The user's password." }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 85, "character": 28 } ], "type": { "type": "intrinsic", "name": "string" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 89, 90 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 85, "character": 14 } ] } } }, { "id": 91, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 92, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 93, "name": "redirectTo", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 86, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 93 ] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 94, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 98, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 91, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 97, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 90, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 96, "name": "session", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 89, "character": 15 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 95, "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": [ 98, 97, 96, 95 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 87, "character": 16 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 85, "name": "GoTrueClient.verifyOTP" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 85, "character": 13 } ], "inheritedFrom": { "type": "reference", "id": 85, "name": "GoTrueClient.verifyOTP" } } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [ 29 ] }, { "title": "Properties", "kind": 1024, "children": [ 42, 45, 44, 43, 47, 46, 49, 48 ] }, { "title": "Methods", "kind": 2048, "children": [ 125, 137, 103, 101, 122, 116, 65, 133, 50, 109, 99, 85 ] } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 3, "character": 31 } ], "extendedTypes": [ { "type": "reference", "name": "GoTrueClient" } ] } ], "groups": [ { "title": "Classes", "kind": 128, "children": [ 28 ] } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 1, "character": 0 } ] }, { "id": 173, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { "id": 174, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", "flags": { "isExported": true }, "typeParameter": [ { "id": 175, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "children": [ { "id": 178, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "signatures": [ { "id": 179, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": { "isExported": true }, "parameters": [ { "id": 180, "name": "url", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 181, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__1", "type": { "type": "reflection", "declaration": { "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 183, "name": "headers", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 13, "character": 13 } ], "type": { "type": "reflection", "declaration": { "id": 184, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 185, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 186, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ] } } }, { "id": 188, "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": 187, "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": 189, "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": [ 183, 188, 187, 189 ] } ], "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 11, "character": 16 } ] } } } ], "type": { "type": "reference", "id": 174, "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": 177, "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": 176, "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": 148, "name": "SupabaseRealtimeClient" } }, { "id": 248, "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": 48, "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": 248, "name": "PostgrestBuilder.body" } }, { "id": 243, "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": 44, "character": 21 } ], "type": { "type": "reflection", "declaration": { "id": 244, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 245, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 246, "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": 44, "character": 22 } ] } }, "inheritedFrom": { "type": "reference", "id": 243, "name": "PostgrestBuilder.headers" } }, { "id": 241, "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": 42, "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": 241, "name": "PostgrestBuilder.method" } }, { "id": 247, "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": 47, "character": 20 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] }, "inheritedFrom": { "type": "reference", "id": 247, "name": "PostgrestBuilder.schema" } }, { "id": 249, "name": "shouldThrowOnError", "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": 49, "character": 32 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] }, "inheritedFrom": { "type": "reference", "id": 249, "name": "PostgrestBuilder.shouldThrowOnError" } }, { "id": 242, "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": 43, "character": 17 } ], "type": { "type": "reference", "name": "URL" }, "inheritedFrom": { "type": "reference", "id": 242, "name": "PostgrestBuilder.url" } }, { "id": 235, "name": "delete", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 236, "name": "delete", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs a DELETE on the table." }, "parameters": [ { "id": 237, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "originalName": "__0", "type": { "type": "reflection", "declaration": { "id": 238, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 240, "name": "count", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "Count algorithm to use to count rows in a table.\n" }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 73, "character": 29 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "null" }, { "type": "stringLiteral", "value": "exact" }, { "type": "stringLiteral", "value": "planned" }, { "type": "stringLiteral", "value": "estimated" } ] } }, { "id": 239, "name": "returning", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "If `true`, return the deleted row(s) in the response." }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 73, "character": 22 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "stringLiteral", "value": "minimal" }, { "type": "stringLiteral", "value": "representation" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 240, 239 ] } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 73, "character": 11 } ] } } } ], "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", "id": 235, "name": "PostgrestQueryBuilder.delete" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 73, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 235, "name": "PostgrestQueryBuilder.delete" } }, { "id": 204, "name": "insert", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 205, "name": "insert", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs an INSERT into the table." }, "parameters": [ { "id": 206, "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": 207, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 208, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 210, "name": "count", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 30, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "null" }, { "type": "stringLiteral", "value": "exact" }, { "type": "stringLiteral", "value": "planned" }, { "type": "stringLiteral", "value": "estimated" } ] } }, { "id": 209, "name": "returning", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 29, "character": 17 } ], "type": { "type": "union", "types": [ { "type": "stringLiteral", "value": "minimal" }, { "type": "stringLiteral", "value": "representation" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 210, 209 ] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", "id": 204, "name": "PostgrestQueryBuilder.insert" } }, { "id": 211, "name": "insert", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "tags": [ { "tag": "deprecated", "text": "Use `upsert()` instead.\n" } ] }, "parameters": [ { "id": 212, "name": "values", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "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": 213, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 214, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 218, "name": "count", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 39, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "null" }, { "type": "stringLiteral", "value": "exact" }, { "type": "stringLiteral", "value": "planned" }, { "type": "stringLiteral", "value": "estimated" } ] } }, { "id": 216, "name": "onConflict", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 37, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 217, "name": "returning", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 38, "character": 17 } ], "type": { "type": "union", "types": [ { "type": "stringLiteral", "value": "minimal" }, { "type": "stringLiteral", "value": "representation" } ] } }, { "id": 215, "name": "upsert", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 36, "character": 14 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 218, 216, 217, 215 ] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", "id": 204, "name": "PostgrestQueryBuilder.insert" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 28, "character": 10 }, { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 35, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 204, "name": "PostgrestQueryBuilder.insert" } }, { "id": 190, "name": "on", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 191, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Subscribe to realtime changes in your databse." }, "parameters": [ { "id": 192, "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": "reference", "id": 26, "name": "SupabaseEventTypes" } }, { "id": 193, "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": 194, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 195, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 196, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "id": 17, "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": 148, "name": "SupabaseRealtimeClient" } } ], "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 35, "character": 4 } ] }, { "id": 197, "name": "select", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 198, "name": "select", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs vertical filtering with SELECT." }, "parameters": [ { "id": 199, "name": "columns", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "comment": { "text": "The columns to retrieve, separated by commas." }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 200, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "originalName": "__1", "type": { "type": "reflection", "declaration": { "id": 201, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 203, "name": "count", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "Count algorithm to use to count rows in a table.\n" }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 17, "character": 42 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "null" }, { "type": "stringLiteral", "value": "exact" }, { "type": "stringLiteral", "value": "planned" }, { "type": "stringLiteral", "value": "estimated" } ] } }, { "id": 202, "name": "head", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "When set to true, select will void data." }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 17, "character": 35 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 203, 202 ] } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 17, "character": 28 } ] } } } ], "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", "id": 197, "name": "PostgrestQueryBuilder.select" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 17, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 197, "name": "PostgrestQueryBuilder.select" } }, { "id": 252, "name": "then", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 253, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "typeParameter": [ { "id": 254, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } }, { "id": 255, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "parameters": [ { "id": 256, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "reflection", "declaration": { "id": 257, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 258, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 259, "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": 58, "character": 75 } ] } }, { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 260, "name": "onrejected", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "reflection", "declaration": { "id": 261, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 262, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 263, "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": 58, "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": 252, "name": "PostgrestBuilder.then" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 58, "character": 8 } ], "inheritedFrom": { "type": "reference", "id": 252, "name": "PostgrestBuilder.then" } }, { "id": 250, "name": "throwOnError", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 251, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" }, "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestBuilder" }, "inheritedFrom": { "type": "reference", "id": 250, "name": "PostgrestBuilder.throwOnError" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 57, "character": 16 } ], "inheritedFrom": { "type": "reference", "id": 250, "name": "PostgrestBuilder.throwOnError" } }, { "id": 228, "name": "update", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 229, "name": "update", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs an UPDATE on the table." }, "parameters": [ { "id": 230, "name": "values", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The values to update." }, "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "Partial" } }, { "id": 231, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "originalName": "__1", "type": { "type": "reflection", "declaration": { "id": 232, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 234, "name": "count", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "Count algorithm to use to count rows in a table.\n" }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 63, "character": 49 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "null" }, { "type": "stringLiteral", "value": "exact" }, { "type": "stringLiteral", "value": "planned" }, { "type": "stringLiteral", "value": "estimated" } ] } }, { "id": 233, "name": "returning", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value." }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 63, "character": 42 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "stringLiteral", "value": "minimal" }, { "type": "stringLiteral", "value": "representation" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 234, 233 ] } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 63, "character": 30 } ] } } } ], "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", "id": 228, "name": "PostgrestQueryBuilder.update" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 63, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 228, "name": "PostgrestQueryBuilder.update" } }, { "id": 219, "name": "upsert", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 220, "name": "upsert", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs an UPSERT into the table." }, "parameters": [ { "id": 221, "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": 222, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "originalName": "__1", "type": { "type": "reflection", "declaration": { "id": 223, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 226, "name": "count", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "Count algorithm to use to count rows in a table." }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 50, "character": 76 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "null" }, { "type": "stringLiteral", "value": "exact" }, { "type": "stringLiteral", "value": "planned" }, { "type": "stringLiteral", "value": "estimated" } ] } }, { "id": 227, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "Specifies if duplicate rows should be ignored and not inserted.\n" }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 50, "character": 94 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 224, "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." }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 50, "character": 58 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 225, "name": "returning", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "By default the new record is returned. Set this to 'minimal' if you don't need this value." }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 50, "character": 69 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "stringLiteral", "value": "minimal" }, { "type": "stringLiteral", "value": "representation" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 226, 227, 224, 225 ] } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 50, "character": 45 } ] } } } ], "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", "id": 219, "name": "PostgrestQueryBuilder.upsert" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 50, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 219, "name": "PostgrestQueryBuilder.upsert" } } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [ 178 ] }, { "title": "Properties", "kind": 1024, "children": [ 177, 176, 248, 243, 241, 247, 249, 242 ] }, { "title": "Methods", "kind": 2048, "children": [ 235, 204, 190, 197, 252, 250, 228, 219 ] } ], "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": [ 174 ] } ], "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 1, "character": 0 } ] }, { "id": 147, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { "id": 148, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", "flags": { "isExported": true }, "children": [ { "id": 150, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "signatures": [ { "id": 151, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", "flags": { "isExported": true }, "parameters": [ { "id": 152, "name": "socket", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "name": "RealtimeClient" } }, { "id": 153, "name": "schema", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 154, "name": "tableName", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "reference", "id": 148, "name": "SupabaseRealtimeClient" } } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 5, "character": 36 } ] }, { "id": 149, "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": 155, "name": "getPayloadRecords", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 156, "name": "getPayloadRecords", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 157, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "reflection", "declaration": { "id": 158, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 159, "name": "new", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 14, "character": 9 } ], "type": { "type": "reflection", "declaration": { "id": 160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true } } } }, { "id": 161, "name": "old", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 15, "character": 9 } ], "type": { "type": "reflection", "declaration": { "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true } } } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 159, 161 ] } ] } } } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 12, "character": 27 } ] }, { "id": 163, "name": "on", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 164, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "The event you want to listen to." }, "parameters": [ { "id": 165, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The event" }, "type": { "type": "reference", "id": 26, "name": "SupabaseEventTypes" } }, { "id": 166, "name": "callback", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "A callback function that is called whenever the event occurs.\n" }, "type": { "type": "reflection", "declaration": { "id": 167, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 168, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 169, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "id": 17, "typeArguments": [ { "type": "intrinsic", "name": "any" } ], "name": "SupabaseRealtimePayload" } } ], "type": { "type": "intrinsic", "name": "void" } } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 35, "character": 41 } ] } } } ], "type": { "type": "unknown", "name": "this" } } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 35, "character": 4 } ] }, { "id": 170, "name": "subscribe", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 171, "name": "subscribe", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Enables the subscription." }, "parameters": [ { "id": 172, "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": 56, "character": 11 } ] } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [ 150 ] }, { "title": "Properties", "kind": 1024, "children": [ 149 ] }, { "title": "Methods", "kind": 2048, "children": [ 155, 163, 170 ] } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 4, "character": 35 } ] } ], "groups": [ { "title": "Classes", "kind": 128, "children": [ 148 ] } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 1, "character": 0 } ] }, { "id": 1, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/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": 337, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts", "children": [ { "id": 338, "name": "uuid", "kind": 64, "kindString": "Function", "flags": { "isExported": true }, "signatures": [ { "id": 339, "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": [ 338 ] } ], "sources": [ { "fileName": "src/lib/helpers.ts", "line": 1, "character": 0 } ] }, { "id": 4, "name": "\"lib/types\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/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": 3, "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": 15, "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": 23, "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": 11, "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": 15, "name": "localStorage", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "comment": { "shortText": "A storage provider. Used to store the logged in session." }, "sources": [ { "fileName": "src/lib/types.ts", "line": 27, "character": 14 } ], "type": { "type": "reference", "name": "Storage" } }, { "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": 19, "character": 16 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 16, "name": "realtime", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "comment": { "shortText": "Options passed to the realtime-js instance" }, "sources": [ { "fileName": "src/lib/types.ts", "line": 32, "character": 10 } ], "type": { "type": "reference", "name": "RealtimeClientOptions" } }, { "id": 7, "name": "schema", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "comment": { "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to 'public'." }, "sources": [ { "fileName": "src/lib/types.ts", "line": 7, "character": 8 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 12, 14, 8, 15, 13, 16, 7 ] } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 3, "character": 35 } ] } } }, { "id": 26, "name": "SupabaseEventTypes", "kind": 4194304, "kindString": "Type alias", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 46, "character": 30 } ], "type": { "type": "union", "types": [ { "type": "stringLiteral", "value": "INSERT" }, { "type": "stringLiteral", "value": "UPDATE" }, { "type": "stringLiteral", "value": "DELETE" }, { "type": "stringLiteral", "value": "*" } ] } }, { "id": 17, "name": "SupabaseRealtimePayload", "kind": 4194304, "kindString": "Type alias", "flags": { "isExported": true }, "typeParameter": [ { "id": 18, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 35, "character": 35 } ], "type": { "type": "reflection", "declaration": { "id": 19, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 20, "name": "commit_timestamp", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 36, "character": 18 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 21, "name": "eventType", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 37, "character": 11 } ], "type": { "type": "union", "types": [ { "type": "stringLiteral", "value": "INSERT" }, { "type": "stringLiteral", "value": "UPDATE" }, { "type": "stringLiteral", "value": "DELETE" } ] } }, { "id": 24, "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": 41, "character": 5 } ], "type": { "type": "typeParameter", "name": "T" } }, { "id": 25, "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": 43, "character": 5 } ], "type": { "type": "typeParameter", "name": "T" } }, { "id": 22, "name": "schema", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 38, "character": 8 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 23, "name": "table", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 39, "character": 7 } ], "type": { "type": "intrinsic", "name": "string" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 20, 21, 24, 25, 22, 23 ] } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 35, "character": 40 } ] } } } ], "groups": [ { "title": "Type aliases", "kind": 4194304, "children": [ 5, 26, 17 ] } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 1, "character": 0 } ] } ], "groups": [ { "title": "Modules", "kind": 1, "children": [ 264, 331, 27, 173, 147, 1, 337, 4 ] } ] }