{ "id": 0, "name": "@supabase/supabase-js", "kind": 0, "flags": {}, "originalName": "", "children": [ { "id": 291, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts", "children": [ { "id": 292, "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": 300, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "comment": { "shortText": "Create a new client for use in the browser." }, "signatures": [ { "id": 303, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", "flags": { "isExported": true }, "comment": { "shortText": "Create a new client for use in the browser." }, "parameters": [ { "id": 304, "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": 305, "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": 306, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "reference", "id": 36, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", "id": 292, "name": "SupabaseClient" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 34, "character": 36 } ] }, { "id": 293, "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": 59, "name": "SupabaseAuthClient" } }, { "id": 297, "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": 299, "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": 296, "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": 295, "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": 294, "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": 298, "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": 302, "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": 301, "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": 307, "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": 308, "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": 76, "character": 13 } ] }, { "id": 352, "name": "_closeChannel", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 353, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 354, "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": 194, "character": 23 } ] }, { "id": 325, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 326, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 327, "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": 138, "character": 34 } ] }, { "id": 347, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 348, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "type": { "type": "reflection", "declaration": { "id": 349, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 350, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 351, "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": 186, "character": 28 } ] } } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 186, "character": 25 } ] }, { "id": 345, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 346, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "type": { "type": "reference", "name": "PostgrestClient" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 179, "character": 30 } ] }, { "id": 342, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 343, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 344, "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": 172, "character": 29 } ] }, { "id": 330, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 331, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 332, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__0", "type": { "type": "reflection", "declaration": { "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 334, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 152, "character": 20 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 336, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 154, "character": 22 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 338, "name": "headers", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 156, "character": 11 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 340, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 341, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ] } } ] } }, { "id": 337, "name": "localStorage", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 155, "character": 16 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reference", "typeArguments": [ { "type": "reference", "typeArguments": [ { "type": "reference", "name": "Storage" }, { "type": "union", "types": [ { "type": "stringLiteral", "value": "getItem" }, { "type": "stringLiteral", "value": "setItem" }, { "type": "stringLiteral", "value": "removeItem" } ] } ], "name": "Pick" } ], "name": "PromisifyMethods" } ] } }, { "id": 335, "name": "persistSession", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 153, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 334, 336, 338, 337, 335 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 151, "character": 34 } ] } } } ], "type": { "type": "reference", "id": 59, "name": "SupabaseAuthClient" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 151, "character": 33 } ] }, { "id": 309, "name": "from", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 310, "name": "from", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Perform a table operation." }, "typeParameter": [ { "id": 311, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "parameters": [ { "id": 312, "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": 200, "typeArguments": [ { "type": "typeParameter", "name": "T", "default": { "type": "intrinsic", "name": "any" } } ], "name": "SupabaseQueryBuilder" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 85, "character": 6 } ] }, { "id": 328, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 329, "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": 147, "character": 18 } ] }, { "id": 322, "name": "removeSubscription", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 323, "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": 324, "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": 121, "character": 20 } ] }, { "id": 313, "name": "rpc", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 314, "name": "rpc", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Perform a function call." }, "typeParameter": [ { "id": 315, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "parameters": [ { "id": 316, "name": "fn", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The function name to call." }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 317, "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": 318, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__2", "type": { "type": "reflection", "declaration": { "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 321, "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": 109, "character": 11 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "null" }, { "type": "stringLiteral", "value": "exact" }, { "type": "stringLiteral", "value": "planned" }, { "type": "stringLiteral", "value": "estimated" } ] }, "defaultValue": "null" }, { "id": 320, "name": "head", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "When set to true, no data will be returned." }, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 108, "character": 10 } ], "type": { "type": "intrinsic", "name": "boolean" }, "defaultValue": "false" } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 321, 320 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 106, "character": 20 } ] } }, "defaultValue": "{}" } ], "type": { "type": "reference", "typeArguments": [ { "type": "unknown", "name": "T" } ], "name": "PostgrestFilterBuilder" } } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 104, "character": 5 } ] } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [ 300 ] }, { "title": "Properties", "kind": 1024, "children": [ 293, 297, 299, 296, 295, 294, 298, 302, 301 ] }, { "title": "Accessors", "kind": 262144, "children": [ 307 ] }, { "title": "Methods", "kind": 2048, "children": [ 352, 325, 347, 345, 342, 330, 309, 328, 322, 313 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 23, "character": 35 } ] }, { "id": 355, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", "flags": { "isConst": true }, "children": [ { "id": 357, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 12, "character": 18 } ], "type": { "type": "intrinsic", "name": "boolean" }, "defaultValue": "true" }, { "id": 359, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 14, "character": 20 } ], "type": { "type": "intrinsic", "name": "boolean" }, "defaultValue": "true" }, { "id": 360, "name": "headers", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 15, "character": 9 } ], "type": { "type": "reflection", "declaration": { "id": 361, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { "id": 362, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/lib/constants.ts", "line": 3, "character": 48 } ], "type": { "type": "intrinsic", "name": "string" }, "defaultValue": "`supabase-js/${version}`" } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 362 ] } ] } }, "defaultValue": "DEFAULT_HEADERS" }, { "id": 358, "name": "persistSession", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 13, "character": 16 } ], "type": { "type": "intrinsic", "name": "boolean" }, "defaultValue": "true" }, { "id": 356, "name": "schema", "kind": 32, "kindString": "Variable", "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 11, "character": 8 } ], "type": { "type": "intrinsic", "name": "string" }, "defaultValue": "\"public\"" } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 357, 359, 360, 358, 356 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 10, "character": 21 } ], "type": { "type": "intrinsic", "name": "object" } } ], "groups": [ { "title": "Classes", "kind": 128, "children": [ 292 ] }, { "title": "Object literals", "kind": 2097152, "children": [ 355 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 1, "character": 0 } ] }, { "id": 363, "name": "\"index\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { "id": 364, "name": "createClient", "kind": 64, "kindString": "Function", "flags": { "isExported": true, "isConst": true }, "comment": { "shortText": "Creates a new Supabase Client." }, "signatures": [ { "id": 365, "name": "createClient", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Creates a new Supabase Client." }, "parameters": [ { "id": 366, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 367, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 368, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "reference", "id": 36, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", "id": 292, "name": "SupabaseClient" } } ], "sources": [ { "fileName": "src/index.ts", "line": 16, "character": 18 } ] } ], "groups": [ { "title": "Functions", "kind": 64, "children": [ 364 ] } ], "sources": [ { "fileName": "src/index.ts", "line": 1, "character": 0 } ] }, { "id": 58, "name": "\"lib/SupabaseAuthClient\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts", "children": [ { "id": 59, "name": "SupabaseAuthClient", "kind": 128, "kindString": "Class", "flags": { "isExported": true }, "children": [ { "id": 60, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "signatures": [ { "id": 61, "name": "new SupabaseAuthClient", "kind": 16384, "kindString": "Constructor signature", "flags": { "isExported": true }, "parameters": [ { "id": 62, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "id": 13, "name": "SupabaseAuthClientOptions" } } ], "type": { "type": "reference", "id": 59, "name": "SupabaseAuthClient" }, "overwrites": { "type": "reference", "name": "GoTrueClient.__constructor" } } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 4, "character": 54 } ], "overwrites": { "type": "reference", "name": "GoTrueClient.__constructor" } }, { "id": 63, "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": 14, "character": 7 } ], "type": { "type": "reference", "name": "GoTrueApi" }, "inheritedFrom": { "type": "reference", "id": 63, "name": "GoTrueClient.api" } }, { "id": 66, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 23, "character": 30 } ], "type": { "type": "intrinsic", "name": "boolean" }, "inheritedFrom": { "type": "reference", "id": 66, "name": "GoTrueClient.autoRefreshToken" } }, { "id": 65, "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": 22, "character": 28 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] }, "inheritedFrom": { "type": "reference", "id": 65, "name": "GoTrueClient.currentSession" } }, { "id": 64, "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": 18, "character": 25 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] }, "inheritedFrom": { "type": "reference", "id": 64, "name": "GoTrueClient.currentUser" } }, { "id": 68, "name": "localStorage", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 25, "character": 26 } ], "type": { "type": "reference", "name": "SupportedStorage" }, "inheritedFrom": { "type": "reference", "id": 68, "name": "GoTrueClient.localStorage" } }, { "id": 67, "name": "persistSession", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 24, "character": 28 } ], "type": { "type": "intrinsic", "name": "boolean" }, "inheritedFrom": { "type": "reference", "id": 67, "name": "GoTrueClient.persistSession" } }, { "id": 70, "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": 27, "character": 31 } ], "type": { "type": "reference", "typeArguments": [ { "type": "query", "queryType": { "type": "reference", "name": "setTimeout" } } ], "name": "ReturnType" }, "inheritedFrom": { "type": "reference", "id": 70, "name": "GoTrueClient.refreshTokenTimer" } }, { "id": 69, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 26, "character": 33 } ], "type": { "type": "reference", "typeArguments": [ { "type": "intrinsic", "name": "string" }, { "type": "reference", "name": "Subscription" } ], "name": "Map" }, "inheritedFrom": { "type": "reference", "id": 69, "name": "GoTrueClient.stateChangeEmitters" } }, { "id": 147, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 148, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Gets the session data from a URL string" }, "parameters": [ { "id": 149, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 151, "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": 146, "character": 20 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 151 ] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 153, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 148, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 154, "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": [ 153, 154 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 147, "character": 16 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 147, "name": "GoTrueClient.getSessionFromUrl" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 145, "character": 21 } ], "inheritedFrom": { "type": "reference", "id": 147, "name": "GoTrueClient.getSessionFromUrl" } }, { "id": 159, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 160, "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": 161, "name": "callback", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reflection", "declaration": { "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 163, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 164, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "name": "AuthChangeEvent" } }, { "id": 165, "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": 164, "character": 31 } ] } } } ], "type": { "type": "reflection", "declaration": { "id": 166, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 167, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 165, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Subscription" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 168, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 166, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 167, 168 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 164, "character": 91 } ] } }, "inheritedFrom": { "type": "reference", "id": 159, "name": "GoTrueClient.onAuthStateChange" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 164, "character": 21 } ], "inheritedFrom": { "type": "reference", "id": 159, "name": "GoTrueClient.onAuthStateChange" } }, { "id": 125, "name": "refreshSession", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 126, "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": 127, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 128, "name": "data", "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": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 130, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 118, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 129, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 117, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 128, 130, 129 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 115, "character": 30 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 125, "name": "GoTrueClient.refreshSession" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 115, "character": 18 } ], "inheritedFrom": { "type": "reference", "id": 125, "name": "GoTrueClient.refreshSession" } }, { "id": 123, "name": "session", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 124, "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": 123, "name": "GoTrueClient.session" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 111, "character": 11 } ], "inheritedFrom": { "type": "reference", "id": 123, "name": "GoTrueClient.session" } }, { "id": 144, "name": "setAuth", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 145, "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": 146, "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": 144, "name": "GoTrueClient.setAuth" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 140, "character": 11 } ], "inheritedFrom": { "type": "reference", "id": 144, "name": "GoTrueClient.setAuth" } }, { "id": 138, "name": "setSession", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 139, "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": 140, "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": 141, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 143, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 134, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 142, "name": "session", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 133, "character": 15 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 143, 142 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 132, "character": 47 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 138, "name": "GoTrueClient.setSession" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 132, "character": 14 } ], "inheritedFrom": { "type": "reference", "id": 138, "name": "GoTrueClient.setSession" } }, { "id": 87, "name": "signIn", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 88, "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": 89, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__0", "type": { "type": "reflection", "declaration": { "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 91, "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": 77, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 93, "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": 77, "character": 35 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 92, "name": "phone", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 77, "character": 25 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 95, "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": 77, "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": 94, "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": 77, "character": 49 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 91, 93, 92, 95, 94 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 77, "character": 11 } ] } } }, { "id": 96, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 97, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 98, "name": "redirectTo", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 78, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 99, "name": "scopes", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 79, "character": 14 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 98, 99 ] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 100, "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": 86, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 105, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 85, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 103, "name": "provider", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 83, "character": 16 } ], "type": { "type": "reference", "name": "Provider" } }, { "id": 101, "name": "session", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 81, "character": 15 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 104, "name": "url", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 84, "character": 11 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "string" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 102, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 82, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 106, 105, 103, 101, 104, 102 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 80, "character": 16 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 87, "name": "GoTrueClient.signIn" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 77, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 87, "name": "GoTrueClient.signIn" } }, { "id": 155, "name": "signOut", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 156, "name": "signOut", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Inside a browser context, `signOut()` will remove 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": 157, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 158, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 158, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 158 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 157, "character": 23 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 155, "name": "GoTrueClient.signOut" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 157, "character": 11 } ], "inheritedFrom": { "type": "reference", "id": 155, "name": "GoTrueClient.signOut" } }, { "id": 71, "name": "signUp", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 72, "name": "signUp", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Creates a new user." }, "parameters": [ { "id": 73, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__0", "type": { "type": "reflection", "declaration": { "id": 74, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 75, "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": 58, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 76, "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": 58, "character": 28 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } }, { "id": 77, "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": 58, "character": 35 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 75, 76, 77 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 58, "character": 11 } ] } } }, { "id": 78, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 79, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 81, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 60, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "object" } ] } }, { "id": 80, "name": "redirectTo", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 59, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 81, 80 ] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 82, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 86, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "comment": { "text": "Optional user metadata.\n" }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 65, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 85, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 64, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 84, "name": "session", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 63, "character": 15 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 83, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 62, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 86, 85, 84, 83 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 61, "character": 16 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 71, "name": "GoTrueClient.signUp" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 58, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 71, "name": "GoTrueClient.signUp" } }, { "id": 131, "name": "update", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 132, "name": "update", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Updates user data, if there is a logged in user." }, "parameters": [ { "id": 133, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "name": "UserAttributes" } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 134, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 135, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 124, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 137, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 126, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 136, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 125, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 135, 137, 136 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 123, "character": 48 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 131, "name": "GoTrueClient.update" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 123, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 131, "name": "GoTrueClient.update" } }, { "id": 121, "name": "user", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 122, "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": 121, "name": "GoTrueClient.user" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 107, "character": 8 } ], "inheritedFrom": { "type": "reference", "id": 121, "name": "GoTrueClient.user" } }, { "id": 107, "name": "verifyOTP", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 108, "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": 109, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__0", "type": { "type": "reflection", "declaration": { "id": 110, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 111, "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": 94, "character": 21 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 112, "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": 94, "character": 28 } ], "type": { "type": "intrinsic", "name": "string" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 111, 112 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 94, "character": 14 } ] } } }, { "id": 113, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 114, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 115, "name": "redirectTo", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 95, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 115 ] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "reflection", "declaration": { "id": 116, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 120, "name": "data", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 100, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 119, "name": "error", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 99, "character": 13 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Error" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 118, "name": "session", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 98, "character": 15 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "Session" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 117, "name": "user", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 97, "character": 12 } ], "type": { "type": "union", "types": [ { "type": "reference", "name": "User" }, { "type": "intrinsic", "name": "null" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 120, 119, 118, 117 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 96, "character": 16 } ] } } ], "name": "Promise" }, "inheritedFrom": { "type": "reference", "id": 107, "name": "GoTrueClient.verifyOTP" } } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 94, "character": 13 } ], "inheritedFrom": { "type": "reference", "id": 107, "name": "GoTrueClient.verifyOTP" } } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [ 60 ] }, { "title": "Properties", "kind": 1024, "children": [ 63, 66, 65, 64, 68, 67, 70, 69 ] }, { "title": "Methods", "kind": 2048, "children": [ 147, 159, 125, 123, 144, 138, 87, 155, 71, 131, 121, 107 ] } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 4, "character": 31 } ], "extendedTypes": [ { "type": "reference", "name": "GoTrueClient" } ] } ], "groups": [ { "title": "Classes", "kind": 128, "children": [ 59 ] } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", "line": 1, "character": 0 } ] }, { "id": 199, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { "id": 200, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", "flags": { "isExported": true }, "typeParameter": [ { "id": 201, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "children": [ { "id": 204, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "signatures": [ { "id": 205, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": { "isExported": true }, "parameters": [ { "id": 206, "name": "url", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 207, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "originalName": "__1", "type": { "type": "reflection", "declaration": { "id": 208, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 209, "name": "headers", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 13, "character": 13 } ], "type": { "type": "reflection", "declaration": { "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 211, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 212, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ] } } }, { "id": 214, "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": 213, "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": 215, "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": [ 209, 214, 213, 215 ] } ], "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 11, "character": 16 } ] } } } ], "type": { "type": "reference", "id": 200, "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": 203, "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": 202, "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": 170, "name": "SupabaseRealtimeClient" } }, { "id": 274, "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": 274, "name": "PostgrestBuilder.body" } }, { "id": 269, "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": 270, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 271, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 272, "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": 269, "name": "PostgrestBuilder.headers" } }, { "id": 267, "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": 267, "name": "PostgrestBuilder.method" } }, { "id": 273, "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": 273, "name": "PostgrestBuilder.schema" } }, { "id": 275, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true, "isExported": true }, "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 49, "character": 32 } ], "type": { "type": "intrinsic", "name": "boolean" }, "inheritedFrom": { "type": "reference", "id": 275, "name": "PostgrestBuilder.shouldThrowOnError" } }, { "id": 276, "name": "signal", "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": 50, "character": 20 } ], "type": { "type": "reference", "name": "AbortSignal" }, "inheritedFrom": { "type": "reference", "id": 276, "name": "PostgrestBuilder.signal" } }, { "id": 268, "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": 268, "name": "PostgrestBuilder.url" } }, { "id": 261, "name": "delete", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 262, "name": "delete", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs a DELETE on the table." }, "parameters": [ { "id": 263, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "originalName": "__0", "type": { "type": "reflection", "declaration": { "id": 264, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 266, "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": 265, "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": [ 266, 265 ] } ], "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": 261, "name": "PostgrestQueryBuilder.delete" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 73, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 261, "name": "PostgrestQueryBuilder.delete" } }, { "id": 230, "name": "insert", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 231, "name": "insert", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs an INSERT into the table." }, "parameters": [ { "id": 232, "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": 233, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 236, "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": 235, "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": [ 236, 235 ] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", "id": 230, "name": "PostgrestQueryBuilder.insert" } }, { "id": 237, "name": "insert", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "tags": [ { "tag": "deprecated", "text": "Use `upsert()` instead.\n" } ] }, "parameters": [ { "id": 238, "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": 239, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 244, "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": 242, "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": 243, "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": 241, "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": [ 244, 242, 243, 241 ] } ] } } ] } } ], "type": { "type": "reference", "typeArguments": [ { "type": "typeParameter", "name": "T" } ], "name": "PostgrestFilterBuilder" }, "inheritedFrom": { "type": "reference", "id": 230, "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": 230, "name": "PostgrestQueryBuilder.insert" } }, { "id": 216, "name": "on", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 217, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Subscribe to realtime changes in your database." }, "parameters": [ { "id": 218, "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": 57, "name": "SupabaseEventTypes" } }, { "id": 219, "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": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 221, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 222, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "id": 48, "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": 170, "name": "SupabaseRealtimeClient" } } ], "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 35, "character": 4 } ] }, { "id": 223, "name": "select", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 224, "name": "select", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs vertical filtering with SELECT." }, "parameters": [ { "id": 225, "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": 226, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "originalName": "__1", "type": { "type": "reflection", "declaration": { "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 229, "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": 228, "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": [ 229, 228 ] } ], "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": 223, "name": "PostgrestQueryBuilder.select" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 17, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 223, "name": "PostgrestQueryBuilder.select" } }, { "id": 279, "name": "then", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 280, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "typeParameter": [ { "id": 281, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } }, { "id": 282, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "parameters": [ { "id": 283, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "reflection", "declaration": { "id": 284, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 285, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 286, "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": 59, "character": 75 } ] } }, { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "null" } ] } }, { "id": 287, "name": "onrejected", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "type": { "type": "union", "types": [ { "type": "reflection", "declaration": { "id": 288, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 289, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 290, "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": 59, "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": 279, "name": "PostgrestBuilder.then" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 59, "character": 8 } ], "inheritedFrom": { "type": "reference", "id": 279, "name": "PostgrestBuilder.then" } }, { "id": 277, "name": "throwOnError", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 278, "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": 277, "name": "PostgrestBuilder.throwOnError" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts", "line": 58, "character": 16 } ], "inheritedFrom": { "type": "reference", "id": 277, "name": "PostgrestBuilder.throwOnError" } }, { "id": 254, "name": "update", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 255, "name": "update", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs an UPDATE on the table." }, "parameters": [ { "id": 256, "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": 257, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "originalName": "__1", "type": { "type": "reflection", "declaration": { "id": 258, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 260, "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": 259, "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": [ 260, 259 ] } ], "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": 254, "name": "PostgrestQueryBuilder.update" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 63, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 254, "name": "PostgrestQueryBuilder.update" } }, { "id": 245, "name": "upsert", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 246, "name": "upsert", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Performs an UPSERT into the table." }, "parameters": [ { "id": 247, "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": 248, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true, "isOptional": true }, "originalName": "__1", "type": { "type": "reflection", "declaration": { "id": 249, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 252, "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": 253, "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": 250, "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": 251, "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": [ 252, 253, 250, 251 ] } ], "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": 245, "name": "PostgrestQueryBuilder.upsert" } } ], "sources": [ { "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts", "line": 50, "character": 10 } ], "inheritedFrom": { "type": "reference", "id": 245, "name": "PostgrestQueryBuilder.upsert" } } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [ 204 ] }, { "title": "Properties", "kind": 1024, "children": [ 203, 202, 274, 269, 267, 273, 275, 276, 268 ] }, { "title": "Methods", "kind": 2048, "children": [ 261, 230, 216, 223, 279, 277, 254, 245 ] } ], "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": [ 200 ] } ], "sources": [ { "fileName": "src/lib/SupabaseQueryBuilder.ts", "line": 1, "character": 0 } ] }, { "id": 169, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { "id": 170, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", "flags": { "isExported": true }, "children": [ { "id": 172, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "signatures": [ { "id": 173, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", "flags": { "isExported": true }, "parameters": [ { "id": 174, "name": "socket", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "name": "RealtimeClient" } }, { "id": 175, "name": "headers", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reflection", "declaration": { "id": 176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 177, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 178, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 9, "character": 12 } ] } } }, { "id": 179, "name": "schema", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } }, { "id": 180, "name": "tableName", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "reference", "id": 170, "name": "SupabaseRealtimeClient" } } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 5, "character": 36 } ] }, { "id": 171, "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": 181, "name": "getPayloadRecords", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true, "isExported": true }, "signatures": [ { "id": 182, "name": "getPayloadRecords", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 183, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "reflection", "declaration": { "id": 184, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 185, "name": "new", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 26, "character": 9 } ], "type": { "type": "reflection", "declaration": { "id": 186, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true } } } }, { "id": 187, "name": "old", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 27, "character": 9 } ], "type": { "type": "reflection", "declaration": { "id": 188, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true } } } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 185, 187 ] } ] } } } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 24, "character": 27 } ] }, { "id": 189, "name": "on", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 190, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "The event you want to listen to." }, "parameters": [ { "id": 191, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { "text": "The event" }, "type": { "type": "reference", "id": 57, "name": "SupabaseEventTypes" } }, { "id": 192, "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": 193, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "signatures": [ { "id": 194, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 195, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "reference", "id": 48, "typeArguments": [ { "type": "intrinsic", "name": "any" } ], "name": "SupabaseRealtimePayload" } } ], "type": { "type": "intrinsic", "name": "void" } } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 47, "character": 41 } ] } } } ], "type": { "type": "unknown", "name": "this" } } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 47, "character": 4 } ] }, { "id": 196, "name": "subscribe", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 197, "name": "subscribe", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { "shortText": "Enables the subscription." }, "parameters": [ { "id": 198, "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": 68, "character": 11 } ] } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [ 172 ] }, { "title": "Properties", "kind": 1024, "children": [ 171 ] }, { "title": "Methods", "kind": 2048, "children": [ 181, 189, 196 ] } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 4, "character": 35 } ] } ], "groups": [ { "title": "Classes", "kind": 128, "children": [ 170 ] } ], "sources": [ { "fileName": "src/lib/SupabaseRealtimeClient.ts", "line": 1, "character": 0 } ] }, { "id": 3, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/constants.ts", "children": [ { "id": 4, "name": "DEFAULT_HEADERS", "kind": 2097152, "kindString": "Object literal", "flags": { "isExported": true, "isConst": true }, "children": [ { "id": 5, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/constants.ts", "line": 3, "character": 48 } ], "type": { "type": "intrinsic", "name": "string" }, "defaultValue": "`supabase-js/${version}`" } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 5 ] } ], "sources": [ { "fileName": "src/lib/constants.ts", "line": 3, "character": 28 } ], "type": { "type": "intrinsic", "name": "object" } } ], "groups": [ { "title": "Object literals", "kind": 2097152, "children": [ 4 ] } ], "sources": [ { "fileName": "src/lib/constants.ts", "line": 1, "character": 0 } ] }, { "id": 6, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts", "children": [ { "id": 9, "name": "stripTrailingSlash", "kind": 64, "kindString": "Function", "flags": { "isExported": true }, "signatures": [ { "id": 10, "name": "stripTrailingSlash", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "parameters": [ { "id": 11, "name": "url", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ], "sources": [ { "fileName": "src/lib/helpers.ts", "line": 11, "character": 34 } ] }, { "id": 7, "name": "uuid", "kind": 64, "kindString": "Function", "flags": { "isExported": true }, "signatures": [ { "id": 8, "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": [ 9, 7 ] } ], "sources": [ { "fileName": "src/lib/helpers.ts", "line": 1, "character": 0 } ] }, { "id": 12, "name": "\"lib/types\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/types.ts", "children": [ { "id": 13, "name": "SupabaseAuthClientOptions", "kind": 256, "kindString": "Interface", "flags": { "isExported": true }, "children": [ { "id": 31, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 44, "character": 24 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] }, "inheritedFrom": { "type": "reference", "id": 21, "name": "__type.autoRefreshToken" } }, { "id": 34, "name": "cookieOptions", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 47, "character": 21 } ], "type": { "type": "reference", "name": "CookieOptions" }, "inheritedFrom": { "type": "reference", "id": 24, "name": "__type.cookieOptions" } }, { "id": 30, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 43, "character": 26 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] }, "inheritedFrom": { "type": "reference", "id": 20, "name": "__type.detectSessionInUrl" } }, { "id": 26, "name": "headers", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 40, "character": 15 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 27, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 28, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 29, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ] } } ] }, "inheritedFrom": { "type": "reference", "id": 16, "name": "__type.headers" } }, { "id": 33, "name": "localStorage", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 46, "character": 20 } ], "type": { "type": "reference", "name": "SupportedStorage" }, "inheritedFrom": { "type": "reference", "id": 23, "name": "__type.localStorage" } }, { "id": 32, "name": "persistSession", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 45, "character": 22 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] }, "inheritedFrom": { "type": "reference", "id": 22, "name": "__type.persistSession" } }, { "id": 25, "name": "url", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 39, "character": 11 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] }, "inheritedFrom": { "type": "reference", "id": 15, "name": "__type.url" } } ], "groups": [ { "title": "Properties", "kind": 1024, "children": [ 31, 34, 30, 26, 33, 32, 25 ] } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 6, "character": 42 } ], "extendedTypes": [ { "type": "reflection", "declaration": { "id": 14, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 21, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 44, "character": 24 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 24, "name": "cookieOptions", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 47, "character": 21 } ], "type": { "type": "reference", "name": "CookieOptions" } }, { "id": 20, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 43, "character": 26 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 16, "name": "headers", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 40, "character": 15 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 17, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 18, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 19, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ] } } ] } }, { "id": 23, "name": "localStorage", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 46, "character": 20 } ], "type": { "type": "reference", "name": "SupportedStorage" } }, { "id": 22, "name": "persistSession", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 45, "character": 22 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 15, "name": "url", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isOptional": true }, "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", "line": 39, "character": 11 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 21, 24, 20, 16, 23, 22, 15 ] } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 6, "character": 50 } ] } } ] }, { "id": 35, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", "line": 4, "character": 24 } ], "type": { "type": "indexedAccess", "indexType": { "type": "unknown", "name": "0" }, "objectType": { "type": "reference", "typeArguments": [ { "type": "query", "queryType": { "type": "reference", "name": "GoTrueClient" } } ], "name": "ConstructorParameters" } } }, { "id": 36, "name": "SupabaseClientOptions", "kind": 4194304, "kindString": "Type alias", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 8, "character": 33 } ], "type": { "type": "reflection", "declaration": { "id": 37, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 43, "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": 20, "character": 18 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 45, "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": 28, "character": 20 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 39, "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": 16, "character": 9 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "reflection", "declaration": { "id": 40, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "indexSignature": [ { "id": 41, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": { "isExported": true }, "parameters": [ { "id": 42, "name": "key", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" } } ] } } ] } }, { "id": 46, "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": 32, "character": 14 } ], "type": { "type": "indexedAccess", "indexType": { "type": "stringLiteral", "value": "localStorage" }, "objectType": { "type": "reference", "name": "SupabaseAuthClientOptions" } } }, { "id": 44, "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": 24, "character": 16 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "false" }, { "type": "intrinsic", "name": "true" } ] } }, { "id": 47, "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": 37, "character": 10 } ], "type": { "type": "reference", "name": "RealtimeClientOptions" } }, { "id": 38, "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": 12, "character": 8 } ], "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "undefined" }, { "type": "intrinsic", "name": "string" } ] } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 43, 45, 39, 46, 44, 47, 38 ] } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 8, "character": 35 } ] } } }, { "id": 57, "name": "SupabaseEventTypes", "kind": 4194304, "kindString": "Type alias", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 51, "character": 30 } ], "type": { "type": "union", "types": [ { "type": "stringLiteral", "value": "INSERT" }, { "type": "stringLiteral", "value": "UPDATE" }, { "type": "stringLiteral", "value": "DELETE" }, { "type": "stringLiteral", "value": "*" } ] } }, { "id": 48, "name": "SupabaseRealtimePayload", "kind": 4194304, "kindString": "Type alias", "flags": { "isExported": true }, "typeParameter": [ { "id": 49, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": { "isExported": true } } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 40, "character": 35 } ], "type": { "type": "reflection", "declaration": { "id": 50, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": { "isExported": true }, "children": [ { "id": 51, "name": "commit_timestamp", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 41, "character": 18 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 52, "name": "eventType", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 42, "character": 11 } ], "type": { "type": "union", "types": [ { "type": "stringLiteral", "value": "INSERT" }, { "type": "stringLiteral", "value": "UPDATE" }, { "type": "stringLiteral", "value": "DELETE" } ] } }, { "id": 55, "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": 46, "character": 5 } ], "type": { "type": "typeParameter", "name": "T" } }, { "id": 56, "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": 48, "character": 5 } ], "type": { "type": "typeParameter", "name": "T" } }, { "id": 53, "name": "schema", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 43, "character": 8 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 54, "name": "table", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, "sources": [ { "fileName": "src/lib/types.ts", "line": 44, "character": 7 } ], "type": { "type": "intrinsic", "name": "string" } } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 51, 52, 55, 56, 53, 54 ] } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 40, "character": 40 } ] } } } ], "groups": [ { "title": "Interfaces", "kind": 256, "children": [ 13 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ 35, 36, 57, 48 ] } ], "sources": [ { "fileName": "src/lib/types.ts", "line": 1, "character": 0 } ] }, { "id": 1, "name": "\"lib/version\"", "kind": 1, "kindString": "Module", "flags": { "isExported": true }, "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/version.ts", "children": [ { "id": 2, "name": "version", "kind": 32, "kindString": "Variable", "flags": { "isExported": true, "isConst": true }, "sources": [ { "fileName": "src/lib/version.ts", "line": 2, "character": 20 } ], "type": { "type": "stringLiteral", "value": "0.0.0" }, "defaultValue": "\"0.0.0\"" } ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 2 ] } ], "sources": [ { "fileName": "src/lib/version.ts", "line": 1, "character": 0 } ] } ], "groups": [ { "title": "Modules", "kind": 1, "children": [ 291, 363, 58, 199, 169, 3, 6, 12, 1 ] } ] }