diff --git a/apps/docs/spec/Makefile b/apps/docs/spec/Makefile
index aeb4daa1a1d..f4db8fa66a6 100644
--- a/apps/docs/spec/Makefile
+++ b/apps/docs/spec/Makefile
@@ -50,7 +50,7 @@ download.analytics.v0:
###############################################################################
# Transform docs into working files
###############################################################################
-transform: dereference.api.v1 dereference.auth.v1 dereference.storage.v0 dereference.tsdoc.v2 combine.tsdoc.v2
+transform: dereference.api.v1 dereference.auth.v1 dereference.storage.v0 dereference.tsdoc.v2 combine.tsdoc.v2 combine-raw.tsdoc.v2
dereference.api.v1:
npx @redocly/cli bundle --dereferenced -o $(REPO_DIR)/transforms/api_v1_openapi_deparsed.json $(REPO_DIR)/api_v1_openapi.json
diff --git a/apps/docs/spec/enrichments/tsdoc_v2/combined_raw.json b/apps/docs/spec/enrichments/tsdoc_v2/combined_raw.json
index 9e2f73cc033..b75be97c13e 100644
--- a/apps/docs/spec/enrichments/tsdoc_v2/combined_raw.json
+++ b/apps/docs/spec/enrichments/tsdoc_v2/combined_raw.json
@@ -4,1802 +4,832 @@
{
"id": 0,
"name": "@supabase/supabase-js",
+ "variant": "project",
"kind": 1,
"flags": {},
- "originalName": "",
"children": [
{
- "id": 1,
- "name": "index",
- "kind": 2,
- "kindString": "Module",
+ "id": 97,
+ "name": "FunctionRegion",
+ "variant": "declaration",
+ "kind": 8,
"flags": {},
"children": [
{
- "id": 194,
- "name": "SupabaseClientOptions",
- "kind": 16777216,
- "kindString": "Reference",
+ "id": 98,
+ "name": "Any",
+ "variant": "declaration",
+ "kind": 16,
"flags": {},
"sources": [
{
- "fileName": "src/index.ts",
- "line": 20,
- "character": 14
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 30,
+ "character": 4
}
],
- "target": 61
+ "type": {
+ "type": "literal",
+ "value": "any"
+ }
+ },
+ {
+ "id": 99,
+ "name": "ApNortheast1",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 31,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "ap-northeast-1"
+ }
+ },
+ {
+ "id": 100,
+ "name": "ApNortheast2",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 32,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "ap-northeast-2"
+ }
+ },
+ {
+ "id": 101,
+ "name": "ApSouth1",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 33,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "ap-south-1"
+ }
+ },
+ {
+ "id": 102,
+ "name": "ApSoutheast1",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 34,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "ap-southeast-1"
+ }
+ },
+ {
+ "id": 103,
+ "name": "ApSoutheast2",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 35,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "ap-southeast-2"
+ }
},
{
"id": 104,
- "name": "SupabaseClient",
- "kind": 128,
- "kindString": "Class",
+ "name": "CaCentral1",
+ "variant": "declaration",
+ "kind": 16,
"flags": {},
- "comment": {
- "shortText": "Supabase Client.",
- "text": "An isomorphic Javascript client for interacting with Postgres.\n"
- },
- "children": [
+ "sources": [
{
- "id": 105,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "ca-central-1"
+ }
+ },
+ {
+ "id": 105,
+ "name": "EuCentral1",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 37,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "eu-central-1"
+ }
+ },
+ {
+ "id": 106,
+ "name": "EuWest1",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 38,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "eu-west-1"
+ }
+ },
+ {
+ "id": 107,
+ "name": "EuWest2",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 39,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "eu-west-2"
+ }
+ },
+ {
+ "id": 108,
+ "name": "EuWest3",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 40,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "eu-west-3"
+ }
+ },
+ {
+ "id": 109,
+ "name": "SaEast1",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 41,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sa-east-1"
+ }
+ },
+ {
+ "id": 110,
+ "name": "UsEast1",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 42,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "us-east-1"
+ }
+ },
+ {
+ "id": 111,
+ "name": "UsWest1",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 43,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "us-west-1"
+ }
+ },
+ {
+ "id": 112,
+ "name": "UsWest2",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 44,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "us-west-2"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "children": [98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 29,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 2147,
+ "name": "REALTIME_LISTEN_TYPES",
+ "variant": "declaration",
+ "kind": 8,
+ "flags": {},
+ "children": [
+ {
+ "id": 2148,
+ "name": "BROADCAST",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 123,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ },
+ {
+ "id": 2150,
+ "name": "POSTGRES_CHANGES",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 125,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 2149,
+ "name": "PRESENCE",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 124,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 2151,
+ "name": "SYSTEM",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 126,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "system"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "children": [2148, 2150, 2149, 2151]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 122,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 2152,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
+ "variant": "declaration",
+ "kind": 8,
+ "flags": {},
+ "children": [
+ {
+ "id": 2153,
+ "name": "ALL",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 117,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "*"
+ }
+ },
+ {
+ "id": 2156,
+ "name": "DELETE",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 120,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ },
+ {
+ "id": 2154,
+ "name": "INSERT",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 118,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ },
+ {
+ "id": 2155,
+ "name": "UPDATE",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 119,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "children": [2153, 2156, 2154, 2155]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 116,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 2157,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS",
+ "variant": "declaration",
+ "kind": 8,
+ "flags": {},
+ "children": [
+ {
+ "id": 2159,
+ "name": "JOIN",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 31,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ },
+ {
+ "id": 2160,
+ "name": "LEAVE",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 32,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ },
+ {
+ "id": 2158,
+ "name": "SYNC",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 30,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "children": [2159, 2160, 2158]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 29,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 2161,
+ "name": "REALTIME_SUBSCRIBE_STATES",
+ "variant": "declaration",
+ "kind": 8,
+ "flags": {},
+ "children": [
+ {
+ "id": 2165,
+ "name": "CHANNEL_ERROR",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 132,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ }
+ },
+ {
+ "id": 2164,
+ "name": "CLOSED",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 131,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "CLOSED"
+ }
+ },
+ {
+ "id": 2162,
+ "name": "SUBSCRIBED",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 129,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ }
+ },
+ {
+ "id": 2163,
+ "name": "TIMED_OUT",
+ "variant": "declaration",
+ "kind": 16,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 130,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "children": [2165, 2164, 2162, 2163]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 128,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 1461,
+ "name": "AuthApiError",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "children": [
+ {
+ "id": 1462,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1463,
+ "name": "AuthApiError",
+ "variant": "signature",
+ "kind": 16384,
"flags": {},
"sources": [
{
- "fileName": "src/SupabaseClient.ts",
- "line": 82,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 19,
+ "character": 4
}
],
- "signatures": [
+ "parameters": [
{
- "id": 106,
- "name": "new SupabaseClient",
- "kind": 16384,
- "kindString": "Constructor signature",
+ "id": 1464,
+ "name": "message",
+ "variant": "param",
+ "kind": 32768,
"flags": {},
- "comment": {
- "shortText": "Create a new client for use in the browser."
- },
- "typeParameter": [
- {
- "id": 107,
- "name": "Database",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 108,
- "name": "SchemaName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "literal",
- "value": "public"
- },
- "extendsType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- },
- "trueType": {
- "type": "literal",
- "value": "public"
- },
- "falseType": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- }
- ]
- }
- }
- },
- {
- "id": 109,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 97,
- "name": "GenericSchema"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- },
- "extendsType": {
- "type": "reference",
- "id": 97,
- "name": "GenericSchema"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 110,
- "name": "supabaseUrl",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "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": 111,
- "name": "supabaseKey",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "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": 112,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 61,
- "typeArguments": [
- {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- }
- ],
- "name": "SupabaseClientOptions"
- }
- }
- ],
"type": {
- "type": "reference",
- "id": 104,
- "typeArguments": [
- {
- "type": "reference",
- "id": 107,
- "name": "Database"
- },
- {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- },
- {
- "type": "reference",
- "id": 109,
- "name": "Schema"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 113,
- "name": "auth",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "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": 54,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "SupabaseAuthClient"
- }
- },
- {
- "id": 115,
- "name": "authUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 57,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 126,
- "name": "changedAccessToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 64,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
"type": "intrinsic",
"name": "string"
}
- ]
- }
- },
- {
- "id": 121,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
+ },
{
- "fileName": "src/SupabaseClient.ts",
- "line": 63,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 122,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "id": 1465,
+ "name": "status",
+ "variant": "param",
+ "kind": 32768,
"flags": {},
- "signatures": [
- {
- "id": 123,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 124,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 125,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 117,
- "name": "functionsUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 59,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 127,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 66,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 128,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 129,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 130,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 118,
- "name": "realtime",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 60,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeClient",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- },
- {
- "id": 114,
- "name": "realtimeUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 56,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 119,
- "name": "rest",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 61,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 107,
- "name": "Database"
- },
- {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- },
- {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- },
- "extendsType": {
- "type": "reference",
- "qualifiedName": "GenericSchema",
- "package": "@supabase/postgrest-js",
- "name": "GenericSchema"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "qualifiedName": "PostgrestClient",
- "package": "@supabase/postgrest-js",
- "name": "default"
- }
- },
- {
- "id": 120,
- "name": "storageKey",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 62,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 116,
- "name": "storageUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 58,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 132,
- "name": "supabaseKey",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 131,
- "name": "supabaseUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 133,
- "name": "functions",
- "kind": 262144,
- "kindString": "Accessor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 137,
- "character": 6
- }
- ],
- "getSignature": [
- {
- "id": 134,
- "name": "functions",
- "kind": 524288,
- "kindString": "Get signature",
- "flags": {},
- "comment": {
- "shortText": "Supabase Functions allows you to deploy and invoke edge functions."
- },
- "type": {
- "type": "reference",
- "qualifiedName": "FunctionsClient",
- "package": "@supabase/functions-js",
- "name": "FunctionsClient"
- }
- }
- ]
- },
- {
- "id": 135,
- "name": "storage",
- "kind": 262144,
- "kindString": "Accessor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 147,
- "character": 6
- }
- ],
- "getSignature": [
- {
- "id": 136,
- "name": "storage",
- "kind": 524288,
- "kindString": "Get signature",
- "flags": {},
- "comment": {
- "shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos."
- },
- "type": {
- "type": "reference",
- "qualifiedName": "StorageClient",
- "package": "@supabase/storage-js",
- "name": "StorageClient"
- }
- }
- ]
- },
- {
- "id": 169,
- "name": "_getAccessToken",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 234,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 170,
- "name": "_getAccessToken",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 186,
- "name": "_handleTokenChanged",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 281,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 187,
- "name": "_handleTokenChanged",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 188,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "AuthChangeEvent",
- "package": "@supabase/gotrue-js",
- "name": "AuthChangeEvent"
- }
- },
- {
- "id": 189,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 190,
- "name": "source",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "CLIENT"
- },
- {
- "type": "literal",
- "value": "STORAGE"
- }
- ]
- }
- }
- ],
"type": {
"type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 180,
- "name": "_initRealtimeClient",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 267,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 181,
- "name": "_initRealtimeClient",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 182,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeClientOptions",
- "package": "@supabase/realtime-js",
- "name": "RealtimeClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeClient",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 171,
- "name": "_initSupabaseAuthClient",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 240,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 172,
- "name": "_initSupabaseAuthClient",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 173,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 59,
- "name": "SupabaseAuthClientOptions"
- }
- },
- {
- "id": 174,
- "name": "headers",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 175,
- "name": "fetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 176,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 177,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 178,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 179,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "name": "SupabaseAuthClient"
- }
- }
- ]
- },
- {
- "id": 183,
- "name": "_listenForAuthEvents",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 274,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 184,
- "name": "_listenForAuthEvents",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 185,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- }
- }
- ]
- },
- {
- "id": 158,
- "name": "channel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 206,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 159,
- "name": "channel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes."
- },
- "parameters": [
- {
- "id": 160,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The name of the Realtime channel."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 161,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The options to pass to the Realtime channel.\n\n"
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeChannelOptions",
- "package": "@supabase/realtime-js",
- "name": "RealtimeChannelOptions"
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeChannel",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 137,
- "name": "from",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 156,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 138,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a table operation."
- },
- "typeParameter": [
- {
- "id": 139,
- "name": "TableName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 140,
- "name": "Table",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 79,
- "name": "GenericTable"
- }
- }
- ],
- "parameters": [
- {
- "id": 141,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 139,
- "name": "TableName"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 109,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 140,
- "name": "Table"
- }
- ],
- "qualifiedName": "PostgrestQueryBuilder",
- "package": "@supabase/postgrest-js",
- "name": "default"
+ "name": "number"
}
},
{
- "id": 142,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 1466,
+ "name": "code",
+ "variant": "param",
+ "kind": 32768,
"flags": {},
- "typeParameter": [
- {
- "id": 143,
- "name": "ViewName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 144,
- "name": "View",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 92,
- "name": "GenericView"
- }
- }
- ],
- "parameters": [
- {
- "id": 145,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 143,
- "name": "ViewName"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 109,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 144,
- "name": "View"
- }
- ],
- "qualifiedName": "PostgrestQueryBuilder",
- "package": "@supabase/postgrest-js",
- "name": "default"
+ ]
}
- },
- {
- "id": 146,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 147,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 109,
- "name": "Schema"
- },
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "qualifiedName": "PostgrestQueryBuilder",
- "package": "@supabase/postgrest-js",
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 162,
- "name": "getChannels",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 213,
- "character": 2
}
],
- "signatures": [
- {
- "id": 163,
- "name": "getChannels",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns all Realtime channels."
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "qualifiedName": "RealtimeChannel",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- }
- ]
- },
- {
- "id": 167,
- "name": "removeAllChannels",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 230,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 168,
- "name": "removeAllChannels",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Unsubscribes and removes all Realtime channels from Realtime client."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- },
- {
- "type": "literal",
- "value": "error"
- }
- ]
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 164,
- "name": "removeChannel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 223,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 165,
- "name": "removeChannel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Unsubscribes and removes Realtime channel from Realtime client."
- },
- "parameters": [
- {
- "id": 166,
- "name": "channel",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The name of the Realtime channel.\n\n"
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeChannel",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- },
- {
- "type": "literal",
- "value": "error"
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 148,
- "name": "rpc",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 177,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 149,
- "name": "rpc",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a function call."
- },
- "typeParameter": [
- {
- "id": 150,
- "name": "FunctionName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 151,
- "name": "Function_",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 93,
- "name": "GenericFunction"
- }
- }
- ],
- "parameters": [
- {
- "id": 152,
- "name": "fn",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The function name to call."
- },
- "type": {
- "type": "reference",
- "id": 150,
- "name": "FunctionName"
- }
- },
- {
- "id": 153,
- "name": "args",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The parameters to pass to the function call."
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Args"
- },
- "objectType": {
- "type": "reference",
- "id": 151,
- "name": "Function_"
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 154,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 155,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 157,
- "name": "count",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Count algorithm to use to count rows in a table.\n\n"
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 185,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 156,
- "name": "head",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "When set to true, no data will be returned."
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 184,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [157, 156]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 109,
- "name": "Schema"
- },
- {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Returns"
- },
- "objectType": {
- "type": "reference",
- "id": 151,
- "name": "Function_"
- }
- },
- "extendsType": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "trueType": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "number"
- },
- "objectType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- "extendsType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "never"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "never"
- }
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Returns"
- },
- "objectType": {
- "type": "reference",
- "id": 151,
- "name": "Function_"
- }
- }
- ],
- "qualifiedName": "PostgrestFilterBuilder",
- "package": "@supabase/postgrest-js",
- "name": "default"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [105]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [113, 115, 126, 121, 117, 127, 118, 114, 119, 120, 116, 132, 131]
- },
- {
- "title": "Accessors",
- "kind": 262144,
- "children": [133, 135]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [169, 186, 180, 171, 183, 158, 137, 162, 167, 164, 148]
+ "type": {
+ "type": "reference",
+ "target": 1461,
+ "name": "AuthApiError",
+ "package": "@supabase/auth-js"
+ },
+ "overwrites": {
+ "type": "reference",
+ "target": 1453,
+ "name": "AuthError.constructor"
+ }
}
],
+ "overwrites": {
+ "type": "reference",
+ "target": 1452,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 1470,
+ "name": "__isAuthError",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true,
+ "isInherited": true
+ },
"sources": [
{
- "fileName": "src/SupabaseClient.ts",
- "line": 42,
- "character": 21
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 13,
+ "character": 14
}
],
- "typeParameter": [
- {
- "id": 191,
- "name": "Database",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1460,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1468,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#status"
+ },
+ {
+ "kind": "text",
+ "text": " will also be undefined."
}
- },
+ ]
+ },
+ "sources": [
{
- "id": 192,
- "name": "SchemaName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/error-codes.ts",
+ "qualifiedName": "ErrorCode"
+ },
+ "name": "ErrorCode",
+ "package": "@supabase/auth-js"
+ },
+ {
"type": "intersection",
"types": [
{
@@ -1807,2569 +837,385 @@
"name": "string"
},
{
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 107,
- "name": "Database"
+ "type": "reflection",
+ "declaration": {
+ "id": 1469,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
}
}
]
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "literal",
- "value": "public"
- },
- "extendsType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- },
- "trueType": {
- "type": "literal",
- "value": "public"
- },
- "falseType": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- }
- ]
- }
- }
- },
- {
- "id": 193,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 97,
- "name": "GenericSchema"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- },
- "extendsType": {
- "type": "reference",
- "id": 97,
- "name": "GenericSchema"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- ]
- },
- {
- "id": 2,
- "name": "createClient",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 25,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 3,
- "name": "createClient",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a new Supabase Client."
- },
- "typeParameter": [
- {
- "id": 4,
- "name": "Database",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 5,
- "name": "SchemaName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "literal",
- "value": "public"
- },
- "extendsType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- },
- "trueType": {
- "type": "literal",
- "value": "public"
- },
- "falseType": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- }
- ]
- }
- }
- },
- {
- "id": 6,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 97,
- "name": "GenericSchema"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
- },
- "extendsType": {
- "type": "reference",
- "id": 97,
- "name": "GenericSchema"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 7,
- "name": "supabaseUrl",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 8,
- "name": "supabaseKey",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 9,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 61,
- "typeArguments": [
- {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- }
- ],
- "name": "SupabaseClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 104,
- "typeArguments": [
- {
- "type": "reference",
- "id": 4,
- "name": "Database"
- },
- {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- },
- {
- "type": "reference",
- "id": 6,
- "name": "Schema"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "References",
- "kind": 16777216,
- "children": [194]
- },
- {
- "title": "Classes",
- "kind": 128,
- "children": [104]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [2]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 10,
- "name": "lib/constants",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 11,
- "name": "DEFAULT_HEADERS",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isConst": true
- },
- "sources": [
- {
- "fileName": "src/lib/constants.ts",
- "line": 3,
- "character": 13
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 12,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 13,
- "name": "X-Client-Info",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/constants.ts",
- "line": 3,
- "character": 33
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [13]
- }
- ]
- }
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [11]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/constants.ts",
- "line": 2,
- "character": 0
- }
- ]
- },
- {
- "id": 14,
- "name": "lib/fetch",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 29,
- "name": "fetchWithAuth",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/fetch.ts",
- "line": 25,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 30,
- "name": "fetchWithAuth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 31,
- "name": "supabaseKey",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 32,
- "name": "getAccessToken",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 33,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 34,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 35,
- "name": "customFetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 36,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 37,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 38,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 39,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 40,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 41,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 42,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 43,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ]
- },
- {
- "id": 15,
- "name": "resolveFetch",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/fetch.ts",
- "line": 5,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 16,
- "name": "resolveFetch",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 17,
- "name": "customFetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 18,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 19,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 20,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 21,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 22,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 23,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 24,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 25,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ]
- },
- {
- "id": 26,
- "name": "resolveHeadersConstructor",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/fetch.ts",
- "line": 17,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 27,
- "name": "resolveHeadersConstructor",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 28,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Functions",
- "kind": 64,
- "children": [29, 15, 26]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/fetch.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 44,
- "name": "lib/helpers",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 50,
- "name": "applySettingDefaults",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/helpers.ts",
- "line": 18,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 51,
- "name": "applySettingDefaults",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 52,
- "name": "Database",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 53,
- "name": "SchemaName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "literal",
- "value": "public"
- },
- "extendsType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 52,
- "name": "Database"
- }
- },
- "trueType": {
- "type": "literal",
- "value": "public"
- },
- "falseType": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 52,
- "name": "Database"
- }
- }
- ]
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 54,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 61,
- "typeArguments": [
- {
- "type": "reference",
- "id": 53,
- "name": "SchemaName"
- }
- ],
- "name": "SupabaseClientOptions"
- }
- },
- {
- "id": 55,
- "name": "defaults",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 61,
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "name": "SupabaseClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 61,
- "typeArguments": [
- {
- "type": "reference",
- "id": 53,
- "name": "SchemaName"
- }
- ],
- "name": "SupabaseClientOptions"
- }
- }
- ]
- },
- {
- "id": 56,
- "name": "isBrowser",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/helpers.ts",
- "line": 16,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 57,
- "name": "isBrowser",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ]
- },
- {
- "id": 47,
- "name": "stripTrailingSlash",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/helpers.ts",
- "line": 12,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 48,
- "name": "stripTrailingSlash",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 49,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 45,
- "name": "uuid",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/helpers.ts",
- "line": 4,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 46,
- "name": "uuid",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Functions",
- "kind": 64,
- "children": [50, 56, 47, 45]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/helpers.ts",
- "line": 2,
- "character": 0
- }
- ]
- },
- {
- "id": 58,
- "name": "lib/types",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 59,
- "name": "SupabaseAuthClientOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 6,
- "character": 17
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "name": "GoTrueClientOptions"
- }
- ]
- },
- {
- "id": 60,
- "name": "Fetch",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "query",
- "queryType": {
- "type": "reference",
- "id": 18,
- "qualifiedName": "fetch",
- "package": "typescript",
- "name": "fetch"
- }
- }
- },
- {
- "id": 93,
- "name": "GenericFunction",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 74,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 94,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 95,
- "name": "Args",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 75,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 96,
- "name": "Returns",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 76,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [95, 96]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 74,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 89,
- "name": "GenericNonUpdatableView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 68,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 90,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 91,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 69,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [91]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 68,
- "character": 38
- }
- ]
- }
- }
- },
- {
- "id": 97,
- "name": "GenericSchema",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 79,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 98,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 101,
- "name": "Functions",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 82,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 93,
- "name": "GenericFunction"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 99,
- "name": "Tables",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 80,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 79,
- "name": "GenericTable"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 100,
- "name": "Views",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 81,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 92,
- "name": "GenericView"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [101, 99, 100]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 79,
- "character": 28
- }
- ]
- }
- }
- },
- {
- "id": 79,
- "name": "GenericTable",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 80,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 82,
- "name": "Insert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 81,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 57,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 83,
- "name": "Update",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 59,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [82, 81, 83]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 27
- }
- ]
- }
- }
- },
- {
- "id": 84,
- "name": "GenericUpdatableView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 85,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 87,
- "name": "Insert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 64,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 86,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 63,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 88,
- "name": "Update",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 65,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [87, 86, 88]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 35
- }
- ]
- }
- }
- },
- {
- "id": 92,
- "name": "GenericView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 84,
- "name": "GenericUpdatableView"
- },
- {
- "type": "reference",
- "id": 89,
- "name": "GenericNonUpdatableView"
}
]
- }
- },
- {
- "id": 61,
- "name": "SupabaseClientOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 10,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 78,
- "name": "SchemaName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 62,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 66,
- "name": "auth",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 67,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 68,
- "name": "autoRefreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Automatically refreshes the token for logged in users."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 22,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 71,
- "name": "detectSessionInUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Detect a session from the URL. Used for OAuth login callbacks."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 34,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 70,
- "name": "persistSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Whether to persist a logged in session to storage."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 30,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 72,
- "name": "storage",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A storage provider. Used to store the logged in session."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 38,
- "character": 4
- }
- ],
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "storage"
- },
- "objectType": {
- "type": "reference",
- "id": 59,
- "name": "SupabaseAuthClientOptions"
- }
- }
- },
- {
- "id": 69,
- "name": "storageKey",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Optional key name used for storing tokens in local storage"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 26,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [68, 71, 70, 72, 69]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 18,
- "character": 9
- }
- ]
- }
- }
- },
- {
- "id": 63,
- "name": "db",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "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": 14,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 64,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 65,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 15,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "id": 78,
- "name": "SchemaName"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [65]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 14,
- "character": 7
- }
- ]
- }
- }
- },
- {
- "id": 74,
- "name": "global",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 44,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 75,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 76,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom `fetch` implementation."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 48,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "id": 60,
- "name": "Fetch"
- }
- },
- {
- "id": 77,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Optional headers for initializing the client."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 52,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [76, 77]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 44,
- "character": 11
- }
- ]
- }
- }
- },
- {
- "id": 73,
- "name": "realtime",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Options passed to the realtime-js instance"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 43,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeClientOptions",
- "package": "@supabase/realtime-js",
- "name": "RealtimeClientOptions"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [66, 63, 74, 73]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 10,
- "character": 48
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Interfaces",
- "kind": 256,
- "children": [59]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [60, 93, 89, 97, 79, 84, 92, 61]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 102,
- "name": "lib/version",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 103,
- "name": "version",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isConst": true
},
- "sources": [
- {
- "fileName": "src/lib/version.ts",
- "line": 1,
- "character": 13
- }
- ],
- "type": {
- "type": "literal",
- "value": "0.0.0-automated"
- },
- "defaultValue": "'0.0.0-automated'"
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [103]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/version.ts",
- "line": 1,
- "character": 0
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Modules",
- "kind": 2,
- "children": [1, 10, 14, 44, 58, 102]
- }
- ]
- },
- {
- "id": 0,
- "name": "@supabase/gotrue-js",
- "kind": 1,
- "kindString": "Project",
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 699,
- "name": "AuthApiError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 700,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 17,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 701,
- "name": "new AuthApiError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 702,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 703,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 699,
- "name": "AuthApiError"
- },
- "overwrites": {
- "type": "reference",
- "id": 696,
- "name": "AuthError.constructor"
- }
- }
- ],
- "overwrites": {
+ "inheritedFrom": {
"type": "reference",
- "id": 695,
- "name": "AuthError.constructor"
+ "target": 1457,
+ "name": "AuthError.code"
}
},
{
- "id": 704,
+ "id": 1467,
"name": "status",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "HTTP status code that caused the error."
+ }
+ ]
+ },
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 15,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 18,
+ "character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
+ },
+ "overwrites": {
+ "type": "reference",
+ "target": 1459,
+ "name": "AuthError.status"
}
- },
- {
- "id": 705,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 23,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 706,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 707,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 709,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 26,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 708,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 25,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 710,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 27,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [709, 708, 710]
- }
- ]
- }
- }
- }
- ]
}
],
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [700]
+ "children": [1462]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [704]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [705]
+ "children": [1470, 1468, 1467]
}
],
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 14,
- "character": 13
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 17,
+ "character": 21
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 694,
- "name": "AuthError"
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
}
]
},
{
- "id": 694,
+ "id": 1451,
"name": "AuthError",
+ "variant": "declaration",
"kind": 128,
- "kindString": "Class",
"flags": {},
"children": [
{
- "id": 695,
+ "id": 1452,
"name": "constructor",
+ "variant": "declaration",
"kind": 512,
- "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 4,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 14,
+ "character": 4
}
],
"signatures": [
{
- "id": 696,
- "name": "new AuthError",
+ "id": 1453,
+ "name": "AuthError",
+ "variant": "signature",
"kind": 16384,
- "kindString": "Constructor signature",
"flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 14,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 697,
+ "id": 1454,
"name": "message",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 1455,
+ "name": "status",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1456,
+ "name": "code",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"type": {
"type": "reference",
- "id": 694,
- "name": "AuthError"
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
+ "target": -1,
"name": "Error.constructor"
}
}
],
"overwrites": {
"type": "reference",
+ "target": -1,
"name": "Error.constructor"
}
+ },
+ {
+ "id": 1460,
+ "name": "__isAuthError",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 1457,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#status"
+ },
+ {
+ "kind": "text",
+ "text": " will also be undefined."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/error-codes.ts",
+ "qualifiedName": "ErrorCode"
+ },
+ "name": "ErrorCode",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1458,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "id": 1459,
+ "name": "status",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "HTTP status code that caused the error."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 12,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
}
],
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [695]
+ "children": [1452]
+ },
+ {
+ "title": "Properties",
+ "children": [1460, 1457, 1459]
}
],
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 1,
- "character": 13
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 3,
+ "character": 21
}
],
"extendedTypes": [
{
"type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Error"
+ },
+ "name": "Error",
+ "package": "typescript"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 699,
+ "target": 1461,
"name": "AuthApiError"
},
{
"type": "reference",
- "id": 712,
+ "target": 1471,
"name": "AuthUnknownError"
},
{
"type": "reference",
- "id": 719,
+ "target": 1481,
"name": "CustomAuthError"
}
]
},
{
- "id": 759,
+ "id": 1518,
"name": "AuthImplicitGrantRedirectError",
+ "variant": "declaration",
"kind": 128,
- "kindString": "Class",
"flags": {},
"children": [
{
- "id": 760,
+ "id": 1519,
"name": "constructor",
+ "variant": "declaration",
"kind": 512,
- "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 74,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 46,
+ "character": 4
}
],
"signatures": [
{
- "id": 761,
- "name": "new AuthImplicitGrantRedirectError",
+ "id": 1520,
+ "name": "AuthImplicitGrantRedirectError",
+ "variant": "signature",
"kind": 16384,
- "kindString": "Constructor signature",
"flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 762,
+ "id": 1521,
"name": "message",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
@@ -4377,11 +1223,13 @@
}
},
{
- "id": 763,
+ "id": 1522,
"name": "details",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"type": {
"type": "union",
"types": [
@@ -4392,23 +1240,23 @@
{
"type": "reflection",
"declaration": {
- "id": 764,
+ "id": 1523,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 766,
+ "id": 1525,
"name": "code",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 74,
- "character": 57
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 48,
+ "character": 8
}
],
"type": {
@@ -4417,16 +1265,16 @@
}
},
{
- "id": 765,
+ "id": 1524,
"name": "error",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 74,
- "character": 42
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 47,
+ "character": 8
}
],
"type": {
@@ -4438,46 +1286,153 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [766, 765]
+ "children": [1525, 1524]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 46,
+ "character": 43
}
]
}
}
]
- },
- "defaultValue": "null"
+ }
}
],
"type": {
"type": "reference",
- "id": 759,
- "name": "AuthImplicitGrantRedirectError"
+ "target": 1518,
+ "name": "AuthImplicitGrantRedirectError",
+ "package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
- "id": 721,
+ "target": 1483,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 720,
+ "target": 1482,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 767,
+ "id": 1544,
+ "name": "__isAuthError",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true,
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1492,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1542,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#status"
+ },
+ {
+ "kind": "text",
+ "text": " will also be undefined."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/error-codes.ts",
+ "qualifiedName": "ErrorCode"
+ },
+ "name": "ErrorCode",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1543,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1490,
+ "name": "CustomAuthError.code"
+ }
+ },
+ {
+ "id": 1526,
"name": "details",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 73,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 42,
+ "character": 4
}
],
"type": {
@@ -4490,23 +1445,23 @@
{
"type": "reflection",
"declaration": {
- "id": 768,
+ "id": 1527,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 770,
+ "id": 1529,
"name": "code",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 73,
- "character": 28
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 44,
+ "character": 8
}
],
"type": {
@@ -4515,16 +1470,16 @@
}
},
{
- "id": 769,
+ "id": 1528,
"name": "error",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 73,
- "character": 13
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 43,
+ "character": 8
}
],
"type": {
@@ -4536,27 +1491,34 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [770, 769]
+ "children": [1529, 1528]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 42,
+ "character": 13
}
]
}
}
]
- },
- "defaultValue": "null"
+ }
},
{
- "id": 781,
+ "id": 1540,
"name": "name",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "flags": {
+ "isInherited": true
+ },
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 43,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 27,
+ "character": 4
}
],
"type": {
@@ -4565,21 +1527,31 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 725,
+ "target": 1488,
"name": "CustomAuthError.name"
}
},
{
- "id": 782,
+ "id": 1541,
"name": "status",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "HTTP status code that caused the error."
+ }
+ ]
+ },
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 44,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 28,
+ "character": 4
}
],
"type": {
@@ -4588,50 +1560,57 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 726,
+ "target": 1489,
"name": "CustomAuthError.status"
}
},
{
- "id": 771,
+ "id": 1530,
"name": "toJSON",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 79,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 50,
+ "character": 4
}
],
"signatures": [
{
- "id": 772,
+ "id": 1531,
"name": "toJSON",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 50,
+ "character": 4
+ }
+ ],
"type": {
"type": "reflection",
"declaration": {
- "id": 773,
+ "id": 1532,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 777,
+ "id": 1536,
"name": "details",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 84,
- "character": 6
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 54,
+ "character": 8
}
],
"type": {
@@ -4644,23 +1623,23 @@
{
"type": "reflection",
"declaration": {
- "id": 778,
+ "id": 1537,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 780,
+ "id": 1539,
"name": "code",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 73,
- "character": 28
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 56,
+ "character": 12
}
],
"type": {
@@ -4669,16 +1648,16 @@
}
},
{
- "id": 779,
+ "id": 1538,
"name": "error",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 73,
- "character": 13
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 55,
+ "character": 12
}
],
"type": {
@@ -4690,162 +1669,165 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [780, 779]
+ "children": [1539, 1538]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 54,
+ "character": 17
}
]
}
}
]
- },
- "defaultValue": "..."
+ }
},
{
- "id": 775,
+ "id": 1534,
"name": "message",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 82,
- "character": 6
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 52,
+ "character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
- },
- "defaultValue": "..."
+ }
},
{
- "id": 774,
+ "id": 1533,
"name": "name",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 81,
- "character": 6
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 51,
+ "character": 8
}
],
"type": {
"type": "intrinsic",
"name": "string"
- },
- "defaultValue": "..."
+ }
},
{
- "id": 776,
+ "id": 1535,
"name": "status",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 83,
- "character": 6
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 53,
+ "character": 8
}
],
"type": {
"type": "intrinsic",
"name": "number"
- },
- "defaultValue": "..."
+ }
}
],
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [777, 775, 774, 776]
+ "children": [1536, 1534, 1533, 1535]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 50,
+ "character": 14
}
]
}
- },
- "overwrites": {
- "type": "reference",
- "id": 728,
- "name": "CustomAuthError.toJSON"
}
}
- ],
- "overwrites": {
- "type": "reference",
- "id": 727,
- "name": "CustomAuthError.toJSON"
- }
+ ]
}
],
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [760]
+ "children": [1519]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [767, 781, 782]
+ "children": [1544, 1542, 1526, 1540, 1541]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [771]
+ "children": [1530]
}
],
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 72,
- "character": 13
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 41,
+ "character": 21
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 719,
- "name": "CustomAuthError"
+ "target": 1481,
+ "name": "CustomAuthError",
+ "package": "@supabase/auth-js"
}
]
},
{
- "id": 746,
+ "id": 1509,
"name": "AuthInvalidCredentialsError",
+ "variant": "declaration",
"kind": 128,
- "kindString": "Class",
"flags": {},
"children": [
{
- "id": 747,
+ "id": 1510,
"name": "constructor",
+ "variant": "declaration",
"kind": 512,
- "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 67,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 39,
+ "character": 4
}
],
"signatures": [
{
- "id": 748,
- "name": "new AuthInvalidCredentialsError",
+ "id": 1511,
+ "name": "AuthInvalidCredentialsError",
+ "variant": "signature",
"kind": 16384,
- "kindString": "Constructor signature",
"flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 39,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 749,
+ "id": 1512,
"name": "message",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
@@ -4855,33 +1837,137 @@
],
"type": {
"type": "reference",
- "id": 746,
- "name": "AuthInvalidCredentialsError"
+ "target": 1509,
+ "name": "AuthInvalidCredentialsError",
+ "package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
- "id": 721,
+ "target": 1483,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 720,
+ "target": 1482,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 750,
- "name": "name",
+ "id": 1517,
+ "name": "__isAuthError",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "flags": {
+ "isProtected": true,
+ "isInherited": true
+ },
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 43,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1492,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1515,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#status"
+ },
+ {
+ "kind": "text",
+ "text": " will also be undefined."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/error-codes.ts",
+ "qualifiedName": "ErrorCode"
+ },
+ "name": "ErrorCode",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1516,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1490,
+ "name": "CustomAuthError.code"
+ }
+ },
+ {
+ "id": 1513,
+ "name": "name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 27,
+ "character": 4
}
],
"type": {
@@ -4890,21 +1976,31 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 725,
+ "target": 1488,
"name": "CustomAuthError.name"
}
},
{
- "id": 751,
+ "id": 1514,
"name": "status",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "HTTP status code that caused the error."
+ }
+ ]
+ },
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 44,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 28,
+ "character": 4
}
],
"type": {
@@ -4913,185 +2009,568 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 726,
+ "target": 1489,
"name": "CustomAuthError.status"
}
- },
- {
- "id": 752,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 51,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 753,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 754,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 756,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 54,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 755,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 53,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 757,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 55,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [756, 755, 757]
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 728,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 727,
- "name": "CustomAuthError.toJSON"
- }
}
],
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [747]
+ "children": [1510]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [750, 751]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [752]
+ "children": [1517, 1515, 1513, 1514]
}
],
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 66,
- "character": 13
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 38,
+ "character": 21
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 719,
- "name": "CustomAuthError"
+ "target": 1481,
+ "name": "CustomAuthError",
+ "package": "@supabase/auth-js"
}
]
},
{
- "id": 784,
- "name": "AuthRetryableFetchError",
+ "id": 1594,
+ "name": "AuthInvalidJwtError",
+ "variant": "declaration",
"kind": 128,
- "kindString": "Class",
"flags": {},
"children": [
{
- "id": 785,
+ "id": 1595,
"name": "constructor",
+ "variant": "declaration",
"kind": 512,
- "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 90,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 98,
+ "character": 4
}
],
"signatures": [
{
- "id": 786,
- "name": "new AuthRetryableFetchError",
+ "id": 1596,
+ "name": "AuthInvalidJwtError",
+ "variant": "signature",
"kind": 16384,
- "kindString": "Constructor signature",
"flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 98,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 787,
+ "id": 1597,
"name": "message",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1594,
+ "name": "AuthInvalidJwtError",
+ "package": "@supabase/auth-js"
+ },
+ "overwrites": {
+ "type": "reference",
+ "target": 1483,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "target": 1482,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1602,
+ "name": "__isAuthError",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true,
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1492,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1600,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#status"
+ },
+ {
+ "kind": "text",
+ "text": " will also be undefined."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/error-codes.ts",
+ "qualifiedName": "ErrorCode"
+ },
+ "name": "ErrorCode",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1601,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1490,
+ "name": "CustomAuthError.code"
+ }
+ },
+ {
+ "id": 1598,
+ "name": "name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 27,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1488,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1599,
+ "name": "status",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "HTTP status code that caused the error."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 28,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1489,
+ "name": "CustomAuthError.status"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [1595]
+ },
+ {
+ "title": "Properties",
+ "children": [1602, 1600, 1598, 1599]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 97,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "target": 1481,
+ "name": "CustomAuthError",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ },
+ {
+ "id": 1501,
+ "name": "AuthInvalidTokenResponseError",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "children": [
+ {
+ "id": 1502,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1503,
+ "name": "AuthInvalidTokenResponseError",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1501,
+ "name": "AuthInvalidTokenResponseError",
+ "package": "@supabase/auth-js"
+ },
+ "overwrites": {
+ "type": "reference",
+ "target": 1483,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "target": 1482,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1508,
+ "name": "__isAuthError",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true,
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1492,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1506,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#status"
+ },
+ {
+ "kind": "text",
+ "text": " will also be undefined."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/error-codes.ts",
+ "qualifiedName": "ErrorCode"
+ },
+ "name": "ErrorCode",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1507,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1490,
+ "name": "CustomAuthError.code"
+ }
+ },
+ {
+ "id": 1504,
+ "name": "name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 27,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1488,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1505,
+ "name": "status",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "HTTP status code that caused the error."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 28,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1489,
+ "name": "CustomAuthError.status"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [1502]
+ },
+ {
+ "title": "Properties",
+ "children": [1508, 1506, 1504, 1505]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 35,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "target": 1481,
+ "name": "CustomAuthError",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ },
+ {
+ "id": 1545,
+ "name": "AuthPKCEGrantCodeExchangeError",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "children": [
+ {
+ "id": 1546,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 66,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1547,
+ "name": "AuthPKCEGrantCodeExchangeError",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 66,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1548,
+ "name": "message",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
@@ -5099,10 +2578,622 @@
}
},
{
- "id": 788,
+ "id": 1549,
+ "name": "details",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1550,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1552,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 68,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1551,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 67,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1552, 1551]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 66,
+ "character": 43
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1545,
+ "name": "AuthPKCEGrantCodeExchangeError",
+ "package": "@supabase/auth-js"
+ },
+ "overwrites": {
+ "type": "reference",
+ "target": 1483,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "target": 1482,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1571,
+ "name": "__isAuthError",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true,
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1492,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1569,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#status"
+ },
+ {
+ "kind": "text",
+ "text": " will also be undefined."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/error-codes.ts",
+ "qualifiedName": "ErrorCode"
+ },
+ "name": "ErrorCode",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1570,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1490,
+ "name": "CustomAuthError.code"
+ }
+ },
+ {
+ "id": 1553,
+ "name": "details",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 62,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1554,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1556,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 64,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1555,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 63,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1556, 1555]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 62,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 1567,
+ "name": "name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 27,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1488,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1568,
+ "name": "status",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "HTTP status code that caused the error."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 28,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1489,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 1557,
+ "name": "toJSON",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 70,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1558,
+ "name": "toJSON",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 70,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1559,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1563,
+ "name": "details",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 74,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1564,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1566,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 76,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1565,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 75,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1566, 1565]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 74,
+ "character": 17
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 1561,
+ "name": "message",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 72,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1560,
+ "name": "name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 71,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1562,
+ "name": "status",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 73,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1563, 1561, 1560, 1562]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 70,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [1546]
+ },
+ {
+ "title": "Properties",
+ "children": [1571, 1569, 1553, 1567, 1568]
+ },
+ {
+ "title": "Methods",
+ "children": [1557]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 61,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "target": 1481,
+ "name": "CustomAuthError",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ },
+ {
+ "id": 1572,
+ "name": "AuthRetryableFetchError",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "children": [
+ {
+ "id": 1573,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 81,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1574,
+ "name": "AuthRetryableFetchError",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 81,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1575,
+ "name": "message",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1576,
"name": "status",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
@@ -5112,33 +3203,137 @@
],
"type": {
"type": "reference",
- "id": 784,
- "name": "AuthRetryableFetchError"
+ "target": 1572,
+ "name": "AuthRetryableFetchError",
+ "package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
- "id": 721,
+ "target": 1483,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 720,
+ "target": 1482,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 789,
- "name": "name",
+ "id": 1581,
+ "name": "__isAuthError",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "flags": {
+ "isProtected": true,
+ "isInherited": true
+ },
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 43,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1492,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1579,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#status"
+ },
+ {
+ "kind": "text",
+ "text": " will also be undefined."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/error-codes.ts",
+ "qualifiedName": "ErrorCode"
+ },
+ "name": "ErrorCode",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1580,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1490,
+ "name": "CustomAuthError.code"
+ }
+ },
+ {
+ "id": 1577,
+ "name": "name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 27,
+ "character": 4
}
],
"type": {
@@ -5147,21 +3342,31 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 725,
+ "target": 1488,
"name": "CustomAuthError.name"
}
},
{
- "id": 790,
+ "id": 1578,
"name": "status",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "HTTP status code that caused the error."
+ }
+ ]
+ },
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 44,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 28,
+ "character": 4
}
],
"type": {
@@ -5170,208 +3375,204 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 726,
+ "target": 1489,
"name": "CustomAuthError.status"
}
- },
- {
- "id": 791,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 51,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 792,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 793,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 795,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 54,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 794,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 53,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 796,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 55,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [795, 794, 796]
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 728,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 727,
- "name": "CustomAuthError.toJSON"
- }
}
],
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [785]
+ "children": [1573]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [789, 790]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [791]
+ "children": [1581, 1579, 1577, 1578]
}
],
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 89,
- "character": 13
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 80,
+ "character": 21
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 719,
- "name": "CustomAuthError"
+ "target": 1481,
+ "name": "CustomAuthError",
+ "package": "@supabase/auth-js"
}
]
},
{
- "id": 734,
+ "id": 1493,
"name": "AuthSessionMissingError",
+ "variant": "declaration",
"kind": 128,
- "kindString": "Class",
"flags": {},
"children": [
{
- "id": 735,
+ "id": 1494,
"name": "constructor",
+ "variant": "declaration",
"kind": 512,
- "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 61,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 32,
+ "character": 4
}
],
"signatures": [
{
- "id": 736,
- "name": "new AuthSessionMissingError",
+ "id": 1495,
+ "name": "AuthSessionMissingError",
+ "variant": "signature",
"kind": 16384,
- "kindString": "Constructor signature",
"flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 32,
+ "character": 4
+ }
+ ],
"type": {
"type": "reference",
- "id": 734,
- "name": "AuthSessionMissingError"
+ "target": 1493,
+ "name": "AuthSessionMissingError",
+ "package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
- "id": 721,
+ "target": 1483,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 720,
+ "target": 1482,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 737,
- "name": "name",
+ "id": 1500,
+ "name": "__isAuthError",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "flags": {
+ "isProtected": true,
+ "isInherited": true
+ },
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 43,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1492,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1498,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#status"
+ },
+ {
+ "kind": "text",
+ "text": " will also be undefined."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/error-codes.ts",
+ "qualifiedName": "ErrorCode"
+ },
+ "name": "ErrorCode",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1499,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1490,
+ "name": "CustomAuthError.code"
+ }
+ },
+ {
+ "id": 1496,
+ "name": "name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 27,
+ "character": 4
}
],
"type": {
@@ -5380,21 +3581,31 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 725,
+ "target": 1488,
"name": "CustomAuthError.name"
}
},
{
- "id": 738,
+ "id": 1497,
"name": "status",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "HTTP status code that caused the error."
+ }
+ ]
+ },
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 44,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 28,
+ "character": 4
}
],
"type": {
@@ -5403,185 +3614,77 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 726,
+ "target": 1489,
"name": "CustomAuthError.status"
}
- },
- {
- "id": 739,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 51,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 740,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 741,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 743,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 54,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 742,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 53,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 744,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 55,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [743, 742, 744]
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 728,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 727,
- "name": "CustomAuthError.toJSON"
- }
}
],
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [735]
+ "children": [1494]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [737, 738]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [739]
+ "children": [1500, 1498, 1496, 1497]
}
],
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 60,
- "character": 13
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 31,
+ "character": 21
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 719,
- "name": "CustomAuthError"
+ "target": 1481,
+ "name": "CustomAuthError",
+ "package": "@supabase/auth-js"
}
]
},
{
- "id": 712,
+ "id": 1471,
"name": "AuthUnknownError",
+ "variant": "declaration",
"kind": 128,
- "kindString": "Class",
"flags": {},
"children": [
{
- "id": 713,
+ "id": 1472,
"name": "constructor",
+ "variant": "declaration",
"kind": 512,
- "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 35,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 24,
+ "character": 4
}
],
"signatures": [
{
- "id": 714,
- "name": "new AuthUnknownError",
+ "id": 1473,
+ "name": "AuthUnknownError",
+ "variant": "signature",
"kind": 16384,
- "kindString": "Constructor signature",
"flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 24,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 715,
+ "id": 1474,
"name": "message",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
@@ -5589,10 +3692,10 @@
}
},
{
- "id": 716,
+ "id": 1475,
"name": "originalError",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
@@ -5602,101 +3705,259 @@
],
"type": {
"type": "reference",
- "id": 712,
- "name": "AuthUnknownError"
+ "target": 1471,
+ "name": "AuthUnknownError",
+ "package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
- "id": 696,
+ "target": 1453,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 695,
+ "target": 1452,
"name": "AuthError.constructor"
}
},
{
- "id": 717,
+ "id": 1480,
+ "name": "__isAuthError",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true,
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1460,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1477,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#status"
+ },
+ {
+ "kind": "text",
+ "text": " will also be undefined."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/error-codes.ts",
+ "qualifiedName": "ErrorCode"
+ },
+ "name": "ErrorCode",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1478,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1457,
+ "name": "AuthError.code"
+ }
+ },
+ {
+ "id": 1476,
"name": "originalError",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 33,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 23,
+ "character": 4
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
+ },
+ {
+ "id": 1479,
+ "name": "status",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "HTTP status code that caused the error."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 12,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1459,
+ "name": "AuthError.status"
+ }
}
],
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [713]
+ "children": [1472]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [717]
+ "children": [1480, 1477, 1476, 1479]
}
],
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 32,
- "character": 13
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 22,
+ "character": 21
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 694,
- "name": "AuthError"
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
}
]
},
{
- "id": 719,
- "name": "CustomAuthError",
+ "id": 1582,
+ "name": "AuthWeakPasswordError",
+ "variant": "declaration",
"kind": 128,
- "kindString": "Class",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "This error is thrown on certain methods when the password used is deemed\nweak. Inspect the reasons to identify what password strength rules are\ninadequate."
+ }
+ ]
+ },
"children": [
{
- "id": 720,
+ "id": 1583,
"name": "constructor",
+ "variant": "declaration",
"kind": 512,
- "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 45,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 94,
+ "character": 4
}
],
"signatures": [
{
- "id": 721,
- "name": "new CustomAuthError",
+ "id": 1584,
+ "name": "AuthWeakPasswordError",
+ "variant": "signature",
"kind": 16384,
- "kindString": "Constructor signature",
"flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 94,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 722,
+ "id": 1585,
"name": "message",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
@@ -5704,57 +3965,511 @@
}
},
{
- "id": 723,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 724,
+ "id": 1586,
"name": "status",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
+ },
+ {
+ "id": 1587,
+ "name": "reasons",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "length"
+ },
+ {
+ "type": "literal",
+ "value": "characters"
+ },
+ {
+ "type": "literal",
+ "value": "pwned"
+ }
+ ]
+ }
+ }
}
],
"type": {
"type": "reference",
- "id": 719,
- "name": "CustomAuthError"
+ "target": 1582,
+ "name": "AuthWeakPasswordError",
+ "package": "@supabase/auth-js"
},
"overwrites": {
"type": "reference",
- "id": 696,
+ "target": 1483,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "target": 1482,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 1593,
+ "name": "__isAuthError",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true,
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1492,
+ "name": "CustomAuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1591,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#status"
+ },
+ {
+ "kind": "text",
+ "text": " will also be undefined."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/error-codes.ts",
+ "qualifiedName": "ErrorCode"
+ },
+ "name": "ErrorCode",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1592,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1490,
+ "name": "CustomAuthError.code"
+ }
+ },
+ {
+ "id": 1589,
+ "name": "name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 27,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1488,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 1588,
+ "name": "reasons",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Reasons why the password is deemed weak."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 93,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "length"
+ },
+ {
+ "type": "literal",
+ "value": "characters"
+ },
+ {
+ "type": "literal",
+ "value": "pwned"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1590,
+ "name": "status",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "HTTP status code that caused the error."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 28,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1489,
+ "name": "CustomAuthError.status"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [1583]
+ },
+ {
+ "title": "Properties",
+ "children": [1593, 1591, 1589, 1588, 1590]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 89,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "target": 1481,
+ "name": "CustomAuthError",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ },
+ {
+ "id": 1481,
+ "name": "CustomAuthError",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "children": [
+ {
+ "id": 1482,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 29,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1483,
+ "name": "CustomAuthError",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 29,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1484,
+ "name": "message",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1485,
+ "name": "name",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1486,
+ "name": "status",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1487,
+ "name": "code",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1481,
+ "name": "CustomAuthError",
+ "package": "@supabase/auth-js"
+ },
+ "overwrites": {
+ "type": "reference",
+ "target": 1453,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 695,
+ "target": 1452,
"name": "AuthError.constructor"
}
},
{
- "id": 725,
+ "id": 1492,
+ "name": "__isAuthError",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true,
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1460,
+ "name": "AuthError.__isAuthError"
+ }
+ },
+ {
+ "id": 1490,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#status"
+ },
+ {
+ "kind": "text",
+ "text": " will also be undefined."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/error-codes.ts",
+ "qualifiedName": "ErrorCode"
+ },
+ "name": "ErrorCode",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1491,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 1457,
+ "name": "AuthError.code"
+ }
+ },
+ {
+ "id": 1488,
"name": "name",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 43,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 27,
+ "character": 4
}
],
"type": {
@@ -5763,308 +4478,893 @@
},
"overwrites": {
"type": "reference",
+ "target": -1,
"name": "AuthError.name"
}
},
{
- "id": 726,
+ "id": 1489,
"name": "status",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "HTTP status code that caused the error."
+ }
+ ]
+ },
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 44,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 28,
+ "character": 4
}
],
"type": {
"type": "intrinsic",
"name": "number"
+ },
+ "overwrites": {
+ "type": "reference",
+ "target": 1459,
+ "name": "AuthError.status"
}
- },
- {
- "id": 727,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 51,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 728,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 729,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 731,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 54,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 730,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 53,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 732,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 55,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [731, 730, 732]
- }
- ]
- }
- }
- }
- ]
}
],
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [720]
+ "children": [1482]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [725, 726]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [727]
+ "children": [1492, 1490, 1488, 1489]
}
],
"sources": [
{
- "fileName": "src/lib/errors.ts",
- "line": 42,
- "character": 13
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 26,
+ "character": 21
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 694,
- "name": "AuthError"
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 734,
+ "target": 1493,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
- "id": 746,
+ "target": 1501,
+ "name": "AuthInvalidTokenResponseError"
+ },
+ {
+ "type": "reference",
+ "target": 1509,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
- "id": 759,
+ "target": 1518,
"name": "AuthImplicitGrantRedirectError"
},
{
"type": "reference",
- "id": 784,
+ "target": 1545,
+ "name": "AuthPKCEGrantCodeExchangeError"
+ },
+ {
+ "type": "reference",
+ "target": 1572,
"name": "AuthRetryableFetchError"
+ },
+ {
+ "type": "reference",
+ "target": 1582,
+ "name": "AuthWeakPasswordError"
+ },
+ {
+ "type": "reference",
+ "target": 1594,
+ "name": "AuthInvalidJwtError"
}
]
},
{
- "id": 1,
- "name": "GoTrueAdminApi",
+ "id": 79,
+ "name": "FunctionsError",
+ "variant": "declaration",
"kind": 128,
- "kindString": "Class",
"flags": {},
"children": [
{
- "id": 2,
+ "id": 80,
"name": "constructor",
+ "variant": "declaration",
"kind": 512,
- "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 28,
- "character": 2
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 18,
+ "character": 4
}
],
"signatures": [
{
- "id": 3,
- "name": "new GoTrueAdminApi",
+ "id": 81,
+ "name": "FunctionsError",
+ "variant": "signature",
"kind": 16384,
- "kindString": "Constructor signature",
"flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 18,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 4,
+ "id": 82,
+ "name": "message",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 83,
+ "name": "name",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 84,
+ "name": "context",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 79,
+ "name": "FunctionsError",
+ "package": "@supabase/functions-js"
+ },
+ "overwrites": {
+ "type": "reference",
+ "target": -1,
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "target": -1,
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 85,
+ "name": "context",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [80]
+ },
+ {
+ "title": "Properties",
+ "children": [85]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 16,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Error"
+ },
+ "name": "Error",
+ "package": "typescript"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "target": 64,
+ "name": "FunctionsHttpError"
+ },
+ {
+ "type": "reference",
+ "target": 69,
+ "name": "FunctionsFetchError"
+ },
+ {
+ "type": "reference",
+ "target": 74,
+ "name": "FunctionsRelayError"
+ }
+ ]
+ },
+ {
+ "id": 69,
+ "name": "FunctionsFetchError",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "children": [
+ {
+ "id": 70,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 71,
+ "name": "FunctionsFetchError",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 21,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 72,
+ "name": "context",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 69,
+ "name": "FunctionsFetchError",
+ "package": "@supabase/functions-js"
+ },
+ "overwrites": {
+ "type": "reference",
+ "target": 81,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "target": 80,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 73,
+ "name": "context",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 85,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [70]
+ },
+ {
+ "title": "Properties",
+ "children": [73]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 20,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "target": 79,
+ "name": "FunctionsError",
+ "package": "@supabase/functions-js"
+ }
+ ]
+ },
+ {
+ "id": 64,
+ "name": "FunctionsHttpError",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "children": [
+ {
+ "id": 65,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 27,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 66,
+ "name": "FunctionsHttpError",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 27,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 67,
+ "name": "context",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 64,
+ "name": "FunctionsHttpError",
+ "package": "@supabase/functions-js"
+ },
+ "overwrites": {
+ "type": "reference",
+ "target": 81,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "target": 80,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 68,
+ "name": "context",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 85,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [65]
+ },
+ {
+ "title": "Properties",
+ "children": [68]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 26,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "target": 79,
+ "name": "FunctionsError",
+ "package": "@supabase/functions-js"
+ }
+ ]
+ },
+ {
+ "id": 74,
+ "name": "FunctionsRelayError",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "children": [
+ {
+ "id": 75,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 24,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 76,
+ "name": "FunctionsRelayError",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 24,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 77,
+ "name": "context",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 74,
+ "name": "FunctionsRelayError",
+ "package": "@supabase/functions-js"
+ },
+ "overwrites": {
+ "type": "reference",
+ "target": 81,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "target": 80,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 78,
+ "name": "context",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": 85,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [75]
+ },
+ {
+ "title": "Properties",
+ "children": [78]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 23,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "target": 79,
+ "name": "FunctionsError",
+ "package": "@supabase/functions-js"
+ }
+ ]
+ },
+ {
+ "id": 277,
+ "name": "GoTrueAdminApi",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "children": [
+ {
+ "id": 278,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 279,
+ "name": "GoTrueAdminApi",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 280,
"name": "__namedParameters",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
- "id": 5,
+ "id": 281,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 11,
+ "id": 287,
"name": "fetch",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 37,
- "character": 4
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 22,
+ "character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 12,
+ "id": 288,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 29329,
+ "character": 17
+ },
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 289,
+ "character": 13
+ }
+ ],
"signatures": [
{
- "id": 13,
+ "id": 289,
"name": "__type",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 29329,
+ "character": 17
+ }
+ ],
"parameters": [
{
- "id": 14,
+ "id": 290,
"name": "input",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInfo"
+ },
+ "name": "RequestInfo",
+ "package": "typescript"
},
{
"type": "reference",
- "qualifiedName": "URL",
- "package": "typescript",
- "name": "URL"
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
}
]
}
},
{
- "id": 15,
+ "id": 291,
"name": "init",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInit"
+ },
+ "name": "RequestInit",
+ "package": "typescript"
}
}
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Response"
+ },
+ "name": "Response",
+ "package": "typescript"
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 292,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 289,
+ "character": 13
+ }
+ ],
+ "parameters": [
+ {
+ "id": 293,
+ "name": "input",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Request"
+ },
+ "name": "Request",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 294,
+ "name": "init",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInit"
+ },
+ "name": "RequestInit",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Response"
+ },
+ "name": "Response",
+ "package": "typescript"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
}
}
]
@@ -6072,65 +5372,82 @@
}
},
{
- "id": 7,
+ "id": 283,
"name": "headers",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
"isOptional": true
},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 34,
- "character": 4
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 19,
+ "character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 8,
+ "id": 284,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
- "indexSignature": {
- "id": 9,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 10,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 19,
+ "character": 18
}
- }
+ ],
+ "indexSignatures": [
+ {
+ "id": 285,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 20,
+ "character": 12
+ }
+ ],
+ "parameters": [
+ {
+ "id": 286,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
}
}
},
{
- "id": 6,
+ "id": 282,
"name": "url",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 33,
- "character": 4
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 18,
+ "character": 8
}
],
"type": {
@@ -6142,8 +5459,14 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [11, 7, 6]
+ "children": [287, 283, 282]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 17,
+ "character": 42
}
]
}
@@ -6152,282 +5475,519 @@
],
"type": {
"type": "reference",
- "id": 1,
- "name": "default"
+ "target": 277,
+ "name": "GoTrueAdminApi",
+ "package": "@supabase/auth-js",
+ "qualifiedName": "default"
}
}
]
},
{
- "id": 16,
- "name": "mfa",
+ "id": 302,
+ "name": "fetch",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Contains all MFA administration methods."
+ "flags": {
+ "isProtected": true
},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 20,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 16,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 29329,
+ "character": 17
+ },
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 289,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 304,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 29329,
+ "character": 17
+ }
+ ],
+ "parameters": [
+ {
+ "id": 305,
+ "name": "input",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInfo"
+ },
+ "name": "RequestInfo",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 306,
+ "name": "init",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInit"
+ },
+ "name": "RequestInit",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Response"
+ },
+ "name": "Response",
+ "package": "typescript"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 307,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 289,
+ "character": 13
+ }
+ ],
+ "parameters": [
+ {
+ "id": 308,
+ "name": "input",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Request"
+ },
+ "name": "Request",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 309,
+ "name": "init",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInit"
+ },
+ "name": "RequestInit",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Response"
+ },
+ "name": "Response",
+ "package": "typescript"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 298,
+ "name": "headers",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 13,
+ "character": 23
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 300,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 14,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 301,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 295,
+ "name": "mfa",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Contains all MFA administration methods."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 6,
+ "character": 4
}
],
"type": {
"type": "reference",
- "id": 673,
- "name": "GoTrueAdminMFAApi"
+ "target": 1248,
+ "name": "GoTrueAdminMFAApi",
+ "package": "@supabase/auth-js"
}
},
{
- "id": 43,
+ "id": 296,
+ "name": "oauth",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Contains all OAuth client administration methods.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1374,
+ "name": "GoTrueAdminOAuthApi",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 297,
+ "name": "url",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 12,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 327,
"name": "createUser",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 139,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 56,
+ "character": 4
}
],
"signatures": [
{
- "id": 44,
+ "id": 328,
"name": "createUser",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates a new user.\nThis function should only be called on a server. Never expose your "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " key in the browser."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 56,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 45,
+ "id": 329,
"name": "attributes",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 395,
- "name": "AdminUserAttributes"
+ "target": 848,
+ "name": "AdminUserAttributes",
+ "package": "@supabase/auth-js"
}
}
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reference",
- "id": 320,
- "name": "UserResponse"
+ "target": 801,
+ "name": "UserResponse",
+ "package": "@supabase/auth-js"
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 65,
+ "id": 351,
"name": "deleteUser",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 229,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 100,
+ "character": 4
}
],
"signatures": [
{
- "id": 66,
+ "id": 352,
"name": "deleteUser",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Delete a user. Requires a `service_role` key."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Delete a user. Requires a "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " key."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 100,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 67,
+ "id": 353,
"name": "id",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The user id you want to remove.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 320,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 40,
- "name": "generateLink",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 105,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 41,
- "name": "generateLink",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Generates email links and OTPs. This will not send links or OTPs to the end user. This function is for custom admin functionality."
- },
- "parameters": [
- {
- "id": 42,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 517,
- "name": "GenerateLinkParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 518,
- "name": "GenerateLinkResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 58,
- "name": "getUserById",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 184,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 59,
- "name": "getUserById",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Get user by id."
- },
- "parameters": [
- {
- "id": 60,
- "name": "uid",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 320,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 33,
- "name": "inviteUserByEmail",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 75,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 34,
- "name": "inviteUserByEmail",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Sends an invite link to an email address."
- },
- "parameters": [
- {
- "id": 35,
- "name": "email",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The email address of the user."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user id you want to remove."
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -6435,36 +5995,318 @@
}
},
{
- "id": 36,
- "name": "options",
+ "id": 354,
+ "name": "shouldSoftDelete",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If true, then the user will be soft-deleted from the auth schema. Soft deletion allows user identification from the hashed user ID but is not reversible.\nDefaults to false for backward compatibility.\n\nThis function should only be called on a server. Never expose your "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " key in the browser."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 801,
+ "name": "UserResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 324,
+ "name": "generateLink",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 51,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 325,
+ "name": "generateLink",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Generates email links and OTPs to be sent via a custom email provider."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 51,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 326,
+ "name": "params",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
+ "type": {
+ "type": "reference",
+ "target": 1058,
+ "name": "GenerateLinkParams",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1059,
+ "name": "GenerateLinkResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "getUserById",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 82,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "getUserById",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Get user by id."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 82,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 346,
+ "name": "uid",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " key in the browser."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 801,
+ "name": "UserResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 317,
+ "name": "inviteUserByEmail",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 38,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 318,
+ "name": "inviteUserByEmail",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Sends an invite link to an email address."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 38,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 319,
+ "name": "email",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The email address of the user."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 320,
+ "name": "options",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Additional options to be included when inviting."
+ }
+ ]
+ },
"type": {
"type": "reflection",
"declaration": {
- "id": 37,
+ "id": 321,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 39,
+ "id": 322,
"name": "data",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "Optional user metadata\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A custom data object to store additional metadata about the user. This maps to the "
+ },
+ {
+ "kind": "code",
+ "text": "`auth.users.user_metadata`"
+ },
+ {
+ "kind": "text",
+ "text": " column."
+ }
+ ]
},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 79,
- "character": 6
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 40,
+ "character": 8
}
],
"type": {
@@ -6473,21 +6315,26 @@
}
},
{
- "id": 38,
+ "id": 323,
"name": "redirectTo",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "A URL or mobile deeplink to send the user to after they are confirmed."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The URL which will be appended to the email link sent to the user's email address. Once clicked the user will end up on this URL."
+ }
+ ]
},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 78,
- "character": 6
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 42,
+ "character": 8
}
],
"type": {
@@ -6499,57 +6346,130 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [39, 38]
+ "children": [322, 323]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 38,
+ "character": 47
}
]
}
- },
- "defaultValue": "{}"
+ }
}
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reference",
- "id": 320,
- "name": "UserResponse"
+ "target": 801,
+ "name": "UserResponse",
+ "package": "@supabase/auth-js"
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 46,
+ "id": 330,
"name": "listUsers",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 160,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 63,
+ "character": 4
}
],
"signatures": [
{
- "id": 47,
+ "id": 331,
"name": "listUsers",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Get a list of users.",
- "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Get a list of users.\n\nThis function should only be called on a server. Never expose your "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " key in the browser."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 332,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "An object which supports "
+ },
+ {
+ "kind": "code",
+ "text": "`page`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`perPage`"
+ },
+ {
+ "kind": "text",
+ "text": " as numbers, to alter the paginated results."
+ }
+ ]
+ },
+ "type": {
+ "type": "reference",
+ "target": 1269,
+ "name": "PageParams",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "union",
@@ -6557,78 +6477,114 @@
{
"type": "reflection",
"declaration": {
- "id": 48,
+ "id": 333,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 49,
+ "id": 334,
"name": "data",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 161,
- "character": 6
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 64,
+ "character": 8
}
],
"type": {
- "type": "reflection",
- "declaration": {
- "id": 50,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 51,
- "name": "users",
- "kind": 1024,
- "kindString": "Property",
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 335,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
"flags": {},
- "sources": [
+ "children": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 161,
- "character": 14
+ "id": 337,
+ "name": "aud",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 66,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 336,
+ "name": "users",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 65,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 11,
+ "name": "User",
+ "package": "@supabase/auth-js"
+ }
+ }
}
],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 368,
- "name": "User"
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [337, 336]
}
- }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 64,
+ "character": 14
+ }
+ ]
}
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [51]
- }
- ]
- }
+ },
+ {
+ "type": "reference",
+ "target": 1262,
+ "name": "Pagination",
+ "package": "@supabase/auth-js"
+ }
+ ]
}
},
{
- "id": 52,
+ "id": 338,
"name": "error",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 161,
- "character": 31
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 68,
+ "character": 8
}
],
"type": {
@@ -6640,8 +6596,14 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [49, 52]
+ "children": [334, 338]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 63,
+ "character": 44
}
]
}
@@ -6649,45 +6611,45 @@
{
"type": "reflection",
"declaration": {
- "id": 53,
+ "id": 339,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 54,
+ "id": 340,
"name": "data",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 161,
- "character": 49
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 70,
+ "character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 55,
+ "id": 341,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 56,
+ "id": 342,
"name": "users",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 161,
- "character": 57
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 71,
+ "character": 12
}
],
"type": {
@@ -6698,38 +6660,51 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [56]
+ "children": [342]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 70,
+ "character": 14
}
]
}
}
},
{
- "id": 57,
+ "id": 343,
"name": "error",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 161,
- "character": 70
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 73,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 694,
- "name": "AuthError"
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
}
}
],
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [54, 57]
+ "children": [340, 343]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 69,
+ "character": 8
}
]
}
@@ -6737,75 +6712,129 @@
]
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 27,
+ "id": 310,
"name": "signOut",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 52,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 29,
+ "character": 4
}
],
"signatures": [
{
- "id": 28,
+ "id": 311,
"name": "signOut",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Removes a logged-in session."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Removes a logged-in session."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 29,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 29,
+ "id": 312,
"name": "jwt",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A valid, logged-in JWT.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A valid, logged-in JWT."
+ }
+ ]
},
"type": {
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 313,
+ "name": "scope",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The logout sope."
+ }
+ ]
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ }
}
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reflection",
"declaration": {
- "id": 30,
+ "id": 314,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 31,
+ "id": 315,
"name": "data",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 52,
- "character": 40
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 30,
+ "character": 8
}
],
"type": {
@@ -6814,16 +6843,16 @@
}
},
{
- "id": 32,
+ "id": 316,
"name": "error",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 52,
- "character": 52
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 31,
+ "character": 8
}
],
"type": {
@@ -6835,8 +6864,9 @@
},
{
"type": "reference",
- "id": 694,
- "name": "AuthError"
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
}
]
}
@@ -6845,49 +6875,66 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [31, 32]
+ "children": [315, 316]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 29,
+ "character": 56
}
]
}
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 61,
+ "id": 347,
"name": "updateUserById",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 206,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 90,
+ "character": 4
}
],
"signatures": [
{
- "id": 62,
+ "id": 348,
"name": "updateUserById",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Updates the user data."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Updates the user data."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 90,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 63,
+ "id": 349,
"name": "uid",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
@@ -6895,33 +6942,51 @@
}
},
{
- "id": 64,
+ "id": 350,
"name": "attributes",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The data you want to update.\n\nThis function should only be called on a server. Never expose your "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " key in the browser."
+ }
+ ]
},
"type": {
"type": "reference",
- "id": 395,
- "name": "AdminUserAttributes"
+ "target": 848,
+ "name": "AdminUserAttributes",
+ "package": "@supabase/auth-js"
}
}
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reference",
- "id": 320,
- "name": "UserResponse"
+ "target": 801,
+ "name": "UserResponse",
+ "package": "@supabase/auth-js"
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
@@ -6930,149 +6995,2321 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [2]
+ "children": [278]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [16]
+ "children": [302, 298, 295, 296, 297]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [43, 65, 40, 58, 33, 46, 27, 61]
+ "children": [327, 351, 324, 344, 317, 330, 310, 347]
}
],
"sources": [
{
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 18,
+ "fileName": "packages/core/auth-js/dist/module/GoTrueAdminApi.d.ts",
+ "line": 4,
"character": 21
}
]
},
{
- "id": 74,
+ "id": 363,
"name": "GoTrueClient",
+ "variant": "declaration",
"kind": 128,
- "kindString": "Class",
"flags": {},
"children": [
{
- "id": 75,
+ "id": 365,
"name": "constructor",
+ "variant": "declaration",
"kind": 512,
- "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 124,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 82,
+ "character": 4
}
],
"signatures": [
{
- "id": 76,
- "name": "new GoTrueClient",
+ "id": 366,
+ "name": "GoTrueClient",
+ "variant": "signature",
"kind": 16384,
- "kindString": "Constructor signature",
"flags": {},
"comment": {
- "shortText": "Create a new client for use in the browser."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Create a new client for use in the browser."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 82,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 77,
+ "id": 367,
"name": "options",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 281,
- "name": "GoTrueClientOptions"
+ "target": 712,
+ "name": "GoTrueClientOptions",
+ "package": "@supabase/auth-js"
}
}
],
"type": {
"type": "reference",
- "id": 74,
- "name": "default"
+ "target": 363,
+ "name": "GoTrueClient",
+ "package": "@supabase/auth-js",
+ "qualifiedName": "default"
}
}
]
},
{
- "id": 78,
+ "id": 369,
"name": "admin",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"comment": {
- "shortText": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment."
+ }
+ ]
},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 84,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 13,
+ "character": 4
}
],
"type": {
"type": "reference",
- "id": 1,
- "name": "default"
+ "target": 277,
+ "name": "GoTrueAdminApi",
+ "package": "@supabase/auth-js",
+ "qualifiedName": "default"
}
},
{
- "id": 79,
+ "id": 395,
+ "name": "autoRefreshTicker",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 51,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/@types/node/timers.d.ts",
+ "qualifiedName": "__global.NodeJS.Timeout"
+ },
+ "name": "Timeout",
+ "package": "@types/node",
+ "qualifiedName": "__global.NodeJS.Timeout"
+ }
+ ]
+ }
+ },
+ {
+ "id": 386,
+ "name": "autoRefreshToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 40,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 421,
+ "name": "broadcastChannel",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Used to broadcast state change events to other tabs listening."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 76,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "BroadcastChannel"
+ },
+ "name": "BroadcastChannel",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 401,
+ "name": "detectSessionInUrl",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 61,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 409,
+ "name": "fetch",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 68,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 410,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 29329,
+ "character": 17
+ },
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 289,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 411,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 29329,
+ "character": 17
+ }
+ ],
+ "parameters": [
+ {
+ "id": 412,
+ "name": "input",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInfo"
+ },
+ "name": "RequestInfo",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 413,
+ "name": "init",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInit"
+ },
+ "name": "RequestInit",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Response"
+ },
+ "name": "Response",
+ "package": "typescript"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 414,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 289,
+ "character": 13
+ }
+ ],
+ "parameters": [
+ {
+ "id": 415,
+ "name": "input",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Request"
+ },
+ "name": "Request",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 416,
+ "name": "init",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInit"
+ },
+ "name": "RequestInit",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Response"
+ },
+ "name": "Response",
+ "package": "typescript"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 373,
+ "name": "flowType",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 28,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 907,
+ "name": "AuthFlowType",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 407,
+ "name": "hasCustomAuthorizationHeader",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 66,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 403,
+ "name": "headers",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 63,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 404,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 63,
+ "character": 23
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 405,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 64,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 406,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 400,
+ "name": "initializePromise",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Keeps track of the async client initialization.\nWhen null or not yet resolved the auth state is "
+ },
+ {
+ "kind": "code",
+ "text": "`unknown`"
+ },
+ {
+ "kind": "text",
+ "text": "\nOnce resolved the auth state is known and it's safe to call any further client methods.\nKeep extra care to never reject or throw uncaught errors"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 60,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1258,
+ "name": "InitializeResult",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 417,
+ "name": "lock",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 69,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 703,
+ "name": "LockFunc",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 418,
+ "name": "lockAcquired",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 70,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 422,
+ "name": "logDebugMessages",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 77,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 423,
+ "name": "logger",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 78,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 424,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 78,
+ "character": 22
+ }
+ ],
+ "signatures": [
+ {
+ "id": 425,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 78,
+ "character": 22
+ }
+ ],
+ "parameters": [
+ {
+ "id": 426,
+ "name": "message",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 427,
+ "name": "args",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isRest": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 390,
+ "name": "memoryStorage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 47,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 391,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 47,
+ "character": 29
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 392,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 48,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 393,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 370,
"name": "mfa",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"comment": {
- "shortText": "Namespace for the MFA methods."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Namespace for the MFA methods."
+ }
+ ]
},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 88,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 17,
+ "character": 4
}
],
"type": {
"type": "reference",
- "id": 628,
- "name": "GoTrueMFAApi"
+ "target": 1118,
+ "name": "GoTrueMFAApi",
+ "package": "@supabase/auth-js"
}
},
{
- "id": 120,
- "name": "getSession",
- "kind": 2048,
- "kindString": "Method",
+ "id": 371,
+ "name": "oauth",
+ "variant": "declaration",
+ "kind": 1024,
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Namespace for the OAuth 2.1 authorization server methods.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth.\nUsed to implement the authorization code flow on the consent page."
+ }
+ ]
+ },
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 440,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1417,
+ "name": "AuthOAuthServerApi",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 419,
+ "name": "pendingInLock",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 71,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ },
+ {
+ "id": 387,
+ "name": "persistSession",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 41,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 399,
+ "name": "refreshingDeferred",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 53,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/helpers.ts",
+ "qualifiedName": "Deferred"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1261,
+ "name": "CallRefreshTokenResult",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Deferred",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 394,
+ "name": "stateChangeEmitters",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 50,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts",
+ "qualifiedName": "Map"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "symbol"
+ }
+ ]
+ },
+ {
+ "type": "reference",
+ "target": 861,
+ "name": "Subscription",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Map",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 388,
+ "name": "storage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 42,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1255,
+ "name": "SupportedStorage",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 372,
+ "name": "storageKey",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The storage key used to identify the values saved in localStorage"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 27,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 408,
+ "name": "suppressGetSessionWarning",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 67,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 420,
+ "name": "throwOnError",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 72,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 402,
+ "name": "url",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 62,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 389,
+ "name": "userStorage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "comment": {
+ "summary": [],
+ "modifierTags": ["@experimental"]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 46,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "target": 1255,
+ "name": "SupportedStorage",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 396,
+ "name": "visibilityChangedCallback",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 52,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 397,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 52,
+ "character": 42
+ }
+ ],
+ "signatures": [
+ {
+ "id": 398,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 52,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 374,
+ "name": "jwks",
+ "variant": "declaration",
+ "kind": 262144,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 32,
+ "character": 18
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 35,
+ "character": 18
+ }
+ ],
+ "getSignature": {
+ "id": 375,
+ "name": "jwks",
+ "variant": "signature",
+ "kind": 524288,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The JWKS used for verifying asymmetric JWTs"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 32,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 376,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 377,
+ "name": "keys",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 33,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1317,
+ "name": "JWK",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [377]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 32,
+ "character": 26
+ }
+ ]
+ }
+ }
+ },
+ "setSignature": {
+ "id": 378,
+ "name": "jwks",
+ "variant": "signature",
+ "kind": 1048576,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 35,
+ "character": 18
+ }
+ ],
+ "parameters": [
+ {
+ "id": 379,
+ "name": "value",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 380,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 381,
+ "name": "keys",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 36,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1317,
+ "name": "JWK",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [381]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 35,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ },
+ {
+ "id": 382,
+ "name": "jwks_cached_at",
+ "variant": "declaration",
+ "kind": 262144,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 38,
+ "character": 18
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 39,
+ "character": 18
+ }
+ ],
+ "getSignature": {
+ "id": 383,
+ "name": "jwks_cached_at",
+ "variant": "signature",
+ "kind": 524288,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 38,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ "setSignature": {
+ "id": 384,
+ "name": "jwks_cached_at",
+ "variant": "signature",
+ "kind": 1048576,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 39,
+ "character": 18
+ }
+ ],
+ "parameters": [
+ {
+ "id": 385,
+ "name": "value",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ },
+ {
+ "id": 540,
+ "name": "_refreshSession",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 302,
+ "character": 14
}
],
"signatures": [
{
- "id": 121,
- "name": "getSession",
+ "id": 541,
+ "name": "_refreshSession",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
- "comment": {
- "shortText": "Returns the session, refreshing it if necessary.\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out."
- },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 302,
+ "character": 14
+ }
+ ],
+ "parameters": [
+ {
+ "id": 542,
+ "name": "currentSession",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 543,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 544,
+ "name": "refresh_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 303,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [544]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 302,
+ "character": 47
+ }
+ ]
+ }
+ }
+ }
+ ],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 762,
+ "name": "AuthResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 529,
+ "name": "_setSession",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 289,
+ "character": 14
+ }
+ ],
+ "signatures": [
+ {
+ "id": 530,
+ "name": "_setSession",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 289,
+ "character": 14
+ }
+ ],
+ "parameters": [
+ {
+ "id": 531,
+ "name": "currentSession",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 532,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 533,
+ "name": "access_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 290,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 534,
+ "name": "refresh_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 291,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [533, 534]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 289,
+ "character": 42
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 762,
+ "name": "AuthResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 553,
+ "name": "_signOut",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 328,
+ "character": 14
+ }
+ ],
+ "signatures": [
+ {
+ "id": 554,
+ "name": "_signOut",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 328,
+ "character": 14
+ }
+ ],
+ "parameters": [
+ {
+ "id": 555,
+ "name": "__namedParameters",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": 1273,
+ "name": "SignOut",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 556,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 557,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 329,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [557]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 328,
+ "character": 53
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 517,
+ "name": "_updateUser",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 277,
+ "character": 14
+ }
+ ],
+ "signatures": [
+ {
+ "id": 518,
+ "name": "_updateUser",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 277,
+ "character": 14
+ }
+ ],
+ "parameters": [
+ {
+ "id": 519,
+ "name": "attributes",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 842,
+ "name": "UserAttributes",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 520,
+ "name": "options",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 521,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 522,
+ "name": "emailRedirectTo",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 278,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [522]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 277,
+ "character": 64
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 801,
+ "name": "UserResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 448,
+ "name": "exchangeCodeForSession",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 142,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 449,
+ "name": "exchangeCodeForSession",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Log in an existing user by exchanging an Auth Code issued during the PKCE flow."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 142,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 450,
+ "name": "authCode",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 776,
+ "name": "AuthTokenResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 651,
+ "name": "getClaims",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 561,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 652,
+ "name": "getClaims",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Extracts the JWT claims present in the access token by first verifying the\nJWT against the server's JSON Web Key Set endpoint\n"
+ },
+ {
+ "kind": "code",
+ "text": "`/.well-known/jwks.json`"
+ },
+ {
+ "kind": "text",
+ "text": " which is often cached, resulting in significantly\nfaster responses. Prefer this method over "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#getUser"
+ },
+ {
+ "kind": "text",
+ "text": " which always\nsends a request to the Auth server for each JWT.\n\nIf the project is not using an asymmetric JWT signing key (like ECC or\nRSA) it always sends a request to the Auth server (similar to "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#getUser"
+ },
+ {
+ "kind": "text",
+ "text": ") to verify the JWT."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 561,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 653,
+ "name": "jwt",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "An optional specific JWT you wish to verify, not the one you\n can obtain from "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#getSession"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 654,
+ "name": "options",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Various additional options that allow you to customize the\n behavior of this method."
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 655,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 657,
+ "name": "allowExpired",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If set to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": " the "
+ },
+ {
+ "kind": "code",
+ "text": "`exp`"
+ },
+ {
+ "kind": "text",
+ "text": " claim will not be validated against the current time."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 567,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 658,
+ "name": "jwks",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If set, this JSON Web Key Set is going to have precedence over the cached value available on the server."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 569,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 659,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 660,
+ "name": "keys",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 570,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1317,
+ "name": "JWK",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [660]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 569,
+ "character": 15
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 656,
+ "name": "keys",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [],
+ "blockTags": [
+ {
+ "tag": "@deprecated",
+ "content": [
+ {
+ "kind": "text",
+ "text": "Please use options.jwks instead."
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 565,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1317,
+ "name": "JWK",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [657, 658, 656]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 561,
+ "character": 38
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "union",
@@ -7080,74 +9317,124 @@
{
"type": "reflection",
"declaration": {
- "id": 122,
+ "id": 661,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 123,
+ "id": 662,
"name": "data",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 442,
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 573,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 124,
+ "id": 663,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 125,
- "name": "session",
+ "id": 664,
+ "name": "claims",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 443,
- "character": 10
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 574,
+ "character": 12
}
],
"type": {
"type": "reference",
- "id": 331,
- "name": "Session"
+ "target": 1297,
+ "name": "JwtPayload",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 665,
+ "name": "header",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 575,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1282,
+ "name": "JwtHeader",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 666,
+ "name": "signature",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 576,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Uint8Array"
+ },
+ "name": "Uint8Array",
+ "package": "typescript"
}
}
],
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [125]
+ "children": [664, 665, 666]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 573,
+ "character": 14
}
]
}
}
},
{
- "id": 126,
+ "id": 667,
"name": "error",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 445,
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 578,
"character": 8
}
],
@@ -7160,8 +9447,14 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [123, 126]
+ "children": [662, 667]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 572,
+ "character": 16
}
]
}
@@ -7169,88 +9462,62 @@
{
"type": "reflection",
"declaration": {
- "id": 127,
+ "id": 668,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 128,
+ "id": 669,
"name": "data",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 448,
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 580,
"character": 8
}
],
"type": {
- "type": "reflection",
- "declaration": {
- "id": 129,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 130,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 449,
- "character": 10
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [130]
- }
- ]
- }
+ "type": "literal",
+ "value": null
}
},
{
- "id": 131,
+ "id": 670,
"name": "error",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 451,
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 581,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 694,
- "name": "AuthError"
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
}
}
],
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [128, 131]
+ "children": [669, 670]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 579,
+ "character": 8
}
]
}
@@ -7258,73 +9525,40 @@
{
"type": "reflection",
"declaration": {
- "id": 132,
+ "id": 671,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 133,
+ "id": 672,
"name": "data",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 454,
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 583,
"character": 8
}
],
"type": {
- "type": "reflection",
- "declaration": {
- "id": 134,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 135,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 455,
- "character": 10
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [135]
- }
- ]
- }
+ "type": "literal",
+ "value": null
}
},
{
- "id": 136,
+ "id": 673,
"name": "error",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 457,
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 584,
"character": 8
}
],
@@ -7337,8 +9571,14 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [133, 136]
+ "children": [672, 673]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 582,
+ "character": 8
}
]
}
@@ -7346,47 +9586,430 @@
]
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 137,
- "name": "getUser",
+ "id": 487,
+ "name": "getSession",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 504,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 229,
+ "character": 4
}
],
"signatures": [
{
- "id": 138,
- "name": "getUser",
+ "id": 488,
+ "name": "getSession",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Gets the current user details if there is an existing session."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Returns the session, refreshing it if necessary.\n\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out.\n\n**IMPORTANT:** This method loads values directly from the storage attached\nto the client. If that storage is based on request cookies for example,\nthe values in it may not be authentic and therefore it's strongly advised\nagainst using this method and its results in such circumstances. A warning\nwill be emitted if this is detected. Use "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#getUser()"
+ },
+ {
+ "kind": "text",
+ "text": " instead."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 229,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 489,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 490,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 230,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 491,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 492,
+ "name": "session",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 231,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 37,
+ "name": "Session",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [492]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 230,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 493,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 233,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [490, 493]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 229,
+ "character": 26
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 494,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 495,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 235,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 496,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 497,
+ "name": "session",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 236,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [497]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 235,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 498,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 238,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [495, 498]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 234,
+ "character": 8
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 499,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 500,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 240,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 501,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 502,
+ "name": "session",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 241,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [502]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 240,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 503,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [500, 503]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 239,
+ "character": 8
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 507,
+ "name": "getUser",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 269,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 508,
+ "name": "getUser",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Gets the current user details if there is an existing session. This method\nperforms a network request to the Supabase Auth server, so the returned\nvalue is authentic and can be used to base authorization rules on."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 269,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 139,
+ "id": 509,
"name": "jwt",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "Takes in an optional access token jwt. If no jwt is provided, getUser() will attempt to get the jwt from the current session.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Takes in an optional access token JWT. If no JWT is provided, the JWT from the current session is used."
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -7396,125 +10019,575 @@
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reference",
- "id": 320,
- "name": "UserResponse"
+ "target": 801,
+ "name": "UserResponse",
+ "package": "@supabase/auth-js"
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 101,
- "name": "initialize",
+ "id": 594,
+ "name": "getUserIdentities",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 159,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 380,
+ "character": 4
}
],
"signatures": [
{
- "id": 102,
- "name": "initialize",
+ "id": 595,
+ "name": "getUserIdentities",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Initializes the client session either from the url or from storage.\nThis method is automatically called when instantiating the client, but should also be called\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Gets all the identities linked to a user."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 380,
+ "character": 4
+ }
+ ],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
- "type": "reference",
- "id": 681,
- "name": "InitializeResult"
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 596,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 597,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 381,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 598,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 599,
+ "name": "identities",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 382,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 810,
+ "name": "UserIdentity",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [599]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 381,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 600,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 384,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [597, 600]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 380,
+ "character": 33
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 601,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 602,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 386,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 603,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 387,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [602, 603]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 385,
+ "character": 8
+ }
+ ]
+ }
+ }
+ ]
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 178,
- "name": "onAuthStateChange",
+ "id": 433,
+ "name": "initialize",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 784,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 100,
+ "character": 4
}
],
"signatures": [
{
- "id": 179,
- "name": "onAuthStateChange",
+ "id": 434,
+ "name": "initialize",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Receive a notification every time an auth event happens."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Initializes the client session either from the url or from storage.\nThis method is automatically called when instantiating the client, but should also be called\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 100,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1258,
+ "name": "InitializeResult",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 428,
+ "name": "isThrowOnErrorEnabled",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 86,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 429,
+ "name": "isThrowOnErrorEnabled",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Returns whether error throwing mode is enabled for this client."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 86,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 604,
+ "name": "linkIdentity",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 393,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 397,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 605,
+ "name": "linkIdentity",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Links an oauth identity to an existing user.\nThis method supports the PKCE flow."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 393,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 180,
+ "id": 606,
+ "name": "credentials",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 908,
+ "name": "SignInWithOAuthCredentials",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 785,
+ "name": "OAuthResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 607,
+ "name": "linkIdentity",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Links an OIDC identity to an existing user."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 397,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 608,
+ "name": "credentials",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 920,
+ "name": "SignInWithIdTokenCredentials",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 776,
+ "name": "AuthTokenResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 558,
+ "name": "onAuthStateChange",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 337,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 354,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 559,
+ "name": "onAuthStateChange",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Receive a notification every time an auth event happens.\nSafe to use without an async function as callback."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 337,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 560,
"name": "callback",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A callback function to be invoked when an auth event happens.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A callback function to be invoked when an auth event happens."
+ }
+ ]
},
"type": {
"type": "reflection",
"declaration": {
- "id": 181,
+ "id": 561,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 337,
+ "character": 32
+ }
+ ],
"signatures": [
{
- "id": 182,
+ "id": 562,
"name": "__type",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 337,
+ "character": 32
+ }
+ ],
"parameters": [
{
- "id": 183,
+ "id": 563,
"name": "event",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 280,
- "name": "AuthChangeEvent"
+ "target": 702,
+ "name": "AuthChangeEvent",
+ "package": "@supabase/auth-js"
}
},
{
- "id": 184,
+ "id": 564,
"name": "session",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
@@ -7525,8 +10598,9 @@
},
{
"type": "reference",
- "id": 331,
- "name": "Session"
+ "target": 37,
+ "name": "Session",
+ "package": "@supabase/auth-js"
}
]
}
@@ -7545,59 +10619,66 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 185,
+ "id": 565,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 186,
+ "id": 566,
"name": "data",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 785,
- "character": 4
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 338,
+ "character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 187,
+ "id": 567,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 188,
+ "id": 568,
"name": "subscription",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 785,
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 339,
"character": 12
}
],
"type": {
"type": "reference",
- "id": 405,
- "name": "Subscription"
+ "target": 861,
+ "name": "Subscription",
+ "package": "@supabase/auth-js"
}
}
],
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [188]
+ "children": [568]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 338,
+ "character": 14
}
]
}
@@ -7607,8 +10688,241 @@
"groups": [
{
"title": "Properties",
+ "children": [566]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 337,
+ "character": 92
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 569,
+ "name": "onAuthStateChange",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Avoid using an async function inside "
+ },
+ {
+ "kind": "code",
+ "text": "`onAuthStateChange`"
+ },
+ {
+ "kind": "text",
+ "text": " as you might end\nup with a deadlock. The callback function runs inside an exclusive lock,\nso calling other Supabase Client APIs that also try to acquire the\nexclusive lock, might cause a deadlock. This behavior is observable across\ntabs. In the next major library version, this behavior will not be supported.\n\nReceive a notification every time an auth event happens."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@deprecated",
+ "content": [
+ {
+ "kind": "text",
+ "text": "Due to the possibility of deadlocks with async functions as callbacks, use the version without an async function."
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 354,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 570,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A callback function to be invoked when an auth event happens."
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 571,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 354,
+ "character": 32
+ }
+ ],
+ "signatures": [
+ {
+ "id": 572,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 354,
+ "character": 32
+ }
+ ],
+ "parameters": [
+ {
+ "id": 573,
+ "name": "event",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 702,
+ "name": "AuthChangeEvent",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 574,
+ "name": "session",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "target": 37,
+ "name": "Session",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 575,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 576,
+ "name": "data",
+ "variant": "declaration",
"kind": 1024,
- "children": [186]
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 355,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 577,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 578,
+ "name": "subscription",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 356,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 861,
+ "name": "Subscription",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [578]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 355,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [576]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 354,
+ "character": 101
}
]
}
@@ -7617,60 +10931,132 @@
]
},
{
- "id": 153,
- "name": "refreshSession",
+ "id": 481,
+ "name": "reauthenticate",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 645,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 212,
+ "character": 4
}
],
"signatures": [
{
- "id": 154,
- "name": "refreshSession",
+ "id": 482,
+ "name": "reauthenticate",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Returns a new session, regardless of expiry status.\nTakes in an optional current session. If not passed in, then refreshSession() will attempt to retrieve it from getSession().\nIf the current session's refresh token is invalid, an error will be thrown."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Sends a reauthentication OTP to the user's email or phone number.\nRequires the user to be signed-in."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 212,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 762,
+ "name": "AuthResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 535,
+ "name": "refreshSession",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 299,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 536,
+ "name": "refreshSession",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Returns a new session, regardless of expiry status.\nTakes in an optional current session. If not passed in, then refreshSession() will attempt to retrieve it from getSession().\nIf the current session's refresh token is invalid, an error will be thrown."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 299,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 155,
+ "id": 537,
"name": "currentSession",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "The current session. If passed in, it must contain a refresh token.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The current session. If passed in, it must contain a refresh token."
+ }
+ ]
},
"type": {
"type": "reflection",
"declaration": {
- "id": 156,
+ "id": 538,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 157,
+ "id": 539,
"name": "refresh_token",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 645,
- "character": 42
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 300,
+ "character": 8
}
],
"type": {
@@ -7682,8 +11068,14 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [157]
+ "children": [539]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 299,
+ "character": 36
}
]
}
@@ -7692,52 +11084,143 @@
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reference",
- "id": 294,
- "name": "AuthResponse"
+ "target": 762,
+ "name": "AuthResponse",
+ "package": "@supabase/auth-js"
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 189,
- "name": "resetPasswordForEmail",
+ "id": 484,
+ "name": "resend",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 807,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 217,
+ "character": 4
}
],
"signatures": [
{
- "id": 190,
- "name": "resetPasswordForEmail",
+ "id": 485,
+ "name": "resend",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Sends a password reset request to an email address."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Resends an existing signup confirmation email, email change email, SMS OTP or phone change OTP."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 217,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 191,
+ "id": 486,
+ "name": "credentials",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 1004,
+ "name": "ResendParams",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 771,
+ "name": "AuthOtpResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 580,
+ "name": "resetPasswordForEmail",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 367,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 581,
+ "name": "resetPasswordForEmail",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Sends a password reset request to an email address. This method supports the PKCE flow."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 367,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 582,
"name": "email",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The email address of the user."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The email address of the user."
+ }
+ ]
},
"type": {
"type": "intrinsic",
@@ -7745,36 +11228,43 @@
}
},
{
- "id": 192,
+ "id": 583,
"name": "options",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"type": {
"type": "reflection",
"declaration": {
- "id": 193,
+ "id": 584,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 195,
+ "id": 586,
"name": "captchaToken",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "Verification token received when the user completes the captcha on the site.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 811,
- "character": 6
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 369,
+ "character": 8
}
],
"type": {
@@ -7783,21 +11273,26 @@
}
},
{
- "id": 194,
+ "id": 585,
"name": "redirectTo",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
"isOptional": true
},
"comment": {
- "shortText": "The URL to send the user to after they click the password reset link."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The URL to send the user to after they click the password reset link."
+ }
+ ]
},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 810,
- "character": 6
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 368,
+ "character": 8
}
],
"type": {
@@ -7809,17 +11304,26 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [195, 194]
+ "children": [586, 585]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 367,
+ "character": 51
}
]
}
- },
- "defaultValue": "{}"
+ }
}
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "union",
@@ -7827,46 +11331,46 @@
{
"type": "reflection",
"declaration": {
- "id": 196,
+ "id": 587,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 197,
+ "id": 588,
"name": "data",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 815,
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 371,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 198,
+ "id": 589,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {}
}
}
},
{
- "id": 199,
+ "id": 590,
"name": "error",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 816,
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 372,
"character": 8
}
],
@@ -7879,8 +11383,14 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [197, 199]
+ "children": [588, 590]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 370,
+ "character": 16
}
]
}
@@ -7888,22 +11398,22 @@
{
"type": "reflection",
"declaration": {
- "id": 200,
+ "id": 591,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 201,
+ "id": 592,
"name": "data",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 818,
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 374,
"character": 8
}
],
@@ -7913,30 +11423,37 @@
}
},
{
- "id": 202,
+ "id": 593,
"name": "error",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 818,
- "character": 20
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 375,
+ "character": 8
}
],
"type": {
"type": "reference",
- "id": 694,
- "name": "AuthError"
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
}
}
],
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [201, 202]
+ "children": [592, 593]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 373,
+ "character": 8
}
]
}
@@ -7944,296 +11461,1035 @@
]
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 150,
+ "id": 523,
"name": "setSession",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 581,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 285,
+ "character": 4
}
],
"signatures": [
{
- "id": 151,
+ "id": 524,
"name": "setSession",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\nIf the refresh token in the current session is invalid and the current session has expired, an error will be thrown.\nIf the current session does not contain at expires_at field, setSession will use the exp claim defined in the access token."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\nIf the refresh token or access token in the current session is invalid, an error will be thrown."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 285,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 152,
+ "id": 525,
"name": "currentSession",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The current session that minimally contains an access token, refresh token and a user.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The current session that minimally contains an access token and refresh token."
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 526,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 527,
+ "name": "access_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 286,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 528,
+ "name": "refresh_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 287,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [527, 528]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 285,
+ "character": 31
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 762,
+ "name": "AuthResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 436,
+ "name": "signInAnonymously",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 113,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 437,
+ "name": "signInAnonymously",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates a new anonymous user."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@returns",
+ "content": [
+ {
+ "kind": "text",
+ "text": "A session where the is_anonymous claim in the access token JWT set to true"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 113,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 438,
+ "name": "credentials",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
},
"type": {
"type": "reference",
- "typeArguments": [
+ "target": 871,
+ "name": "SignInAnonymouslyCredentials",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 762,
+ "name": "AuthResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 469,
+ "name": "signInWithIdToken",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 170,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 470,
+ "name": "signInWithIdToken",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Allows signing in with an OIDC ID token. The authentication provider used\nshould be enabled and configured."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 170,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 471,
+ "name": "credentials",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 920,
+ "name": "SignInWithIdTokenCredentials",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 776,
+ "name": "AuthTokenResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 445,
+ "name": "signInWithOAuth",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 138,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 446,
+ "name": "signInWithOAuth",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Log in an existing user via a third-party provider.\nThis method supports the PKCE flow."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 138,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 447,
+ "name": "credentials",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 908,
+ "name": "SignInWithOAuthCredentials",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 785,
+ "name": "OAuthResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 472,
+ "name": "signInWithOtp",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 188,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 473,
+ "name": "signInWithOtp",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Log in a user using magiclink or a one-time password (OTP).\n\nIf the "
+ },
+ {
+ "kind": "code",
+ "text": "`{{ .ConfirmationURL }}`"
+ },
+ {
+ "kind": "text",
+ "text": " variable is specified in the email template, a magiclink will be sent.\nIf the "
+ },
+ {
+ "kind": "code",
+ "text": "`{{ .Token }}`"
+ },
+ {
+ "kind": "text",
+ "text": " variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\nThis method supports PKCE when an email is passed."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 188,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 474,
+ "name": "credentials",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 890,
+ "name": "SignInWithPasswordlessCredentials",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 771,
+ "name": "AuthOtpResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 442,
+ "name": "signInWithPassword",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 133,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 443,
+ "name": "signInWithPassword",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Log in an existing user with an email and password or phone and password.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 133,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 444,
+ "name": "credentials",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 885,
+ "name": "SignInWithPasswordCredentials",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 780,
+ "name": "AuthTokenResponsePassword",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 478,
+ "name": "signInWithSSO",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 207,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 479,
+ "name": "signInWithSSO",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Attempts a single-sign on using an enterprise Identity Provider. A\nsuccessful SSO attempt will redirect the current page to the identity\nprovider authorization page. The redirect URL is implementation and SSO\nprotocol specific.\n\nYou can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 207,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 480,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 1018,
+ "name": "SignInWithSSO",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 798,
+ "name": "SSOResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 451,
+ "name": "signInWithWeb3",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 150,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 452,
+ "name": "signInWithWeb3",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Signs in a user by verifying a message signed by the user's private key.\nSupports Ethereum (via Sign-In-With-Ethereum) & Solana (Sign-In-With-Solana) standards,\nboth of which derive from the EIP-4361 standard\nWith slight variation on Solana's side."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@reference",
+ "content": [
{
- "type": "reference",
- "id": 331,
- "name": "Session"
+ "kind": "text",
+ "text": "https://eips.ethereum.org/EIPS/eip-4361"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 150,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 453,
+ "name": "credentials",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 981,
+ "name": "Web3Credentials",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 454,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 455,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 151,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 456,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 457,
+ "name": "session",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 152,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 37,
+ "name": "Session",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 458,
+ "name": "user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 153,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 11,
+ "name": "User",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [457, 458]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 151,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 459,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 155,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [455, 459]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 150,
+ "character": 58
+ }
+ ]
+ }
},
{
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "access_token"
- },
- {
- "type": "literal",
- "value": "refresh_token"
- }
- ]
+ "type": "reflection",
+ "declaration": {
+ "id": 460,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 461,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 157,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 462,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 463,
+ "name": "session",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 158,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 464,
+ "name": "user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 159,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [463, 464]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 157,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 465,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 161,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [461, 465]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 156,
+ "character": 8
+ }
+ ]
+ }
}
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 294,
- "name": "AuthResponse"
+ ]
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 111,
- "name": "signInWithOAuth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 337,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 112,
- "name": "signInWithOAuth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in an existing user via a third-party provider."
- },
- "parameters": [
- {
- "id": 113,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 462,
- "name": "SignInWithOAuthCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 307,
- "name": "OAuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 114,
- "name": "signInWithOtp",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 352,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 115,
- "name": "signInWithOtp",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in a user using magiclink or a one-time password (OTP).\nIf the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins."
- },
- "parameters": [
- {
- "id": 116,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 446,
- "name": "SignInWithPasswordlessCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 294,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 108,
- "name": "signInWithPassword",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 285,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 109,
- "name": "signInWithPassword",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in an existing user with an email and password or phone and password."
- },
- "parameters": [
- {
- "id": 110,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 431,
- "name": "SignInWithPasswordCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 294,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 174,
+ "id": 548,
"name": "signOut",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 765,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 325,
+ "character": 4
}
],
"signatures": [
{
- "id": 175,
+ "id": 549,
"name": "signOut",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"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 revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Inside a browser context, "
+ },
+ {
+ "kind": "code",
+ "text": "`signOut()`"
+ },
+ {
+ "kind": "text",
+ "text": " will remove the logged in user from the browser session and log them out - removing all items from localstorage and then trigger a "
+ },
+ {
+ "kind": "code",
+ "text": "`\"SIGNED_OUT\"`"
+ },
+ {
+ "kind": "text",
+ "text": " event.\n\nFor server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to "
+ },
+ {
+ "kind": "code",
+ "text": "`auth.api.signOut(JWT: string)`"
+ },
+ {
+ "kind": "text",
+ "text": ".\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n\nIf using "
+ },
+ {
+ "kind": "code",
+ "text": "`others`"
+ },
+ {
+ "kind": "text",
+ "text": " scope, no "
+ },
+ {
+ "kind": "code",
+ "text": "`SIGNED_OUT`"
+ },
+ {
+ "kind": "text",
+ "text": " event is fired!"
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 325,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 550,
+ "name": "options",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": 1273,
+ "name": "SignOut",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reflection",
"declaration": {
- "id": 176,
+ "id": 551,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 177,
+ "id": 552,
"name": "error",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 765,
- "character": 29
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 326,
+ "character": 8
}
],
"type": {
@@ -8245,8 +12501,9 @@
},
{
"type": "reference",
- "id": 694,
- "name": "AuthError"
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
}
]
}
@@ -8255,176 +12512,634 @@
"groups": [
{
"title": "Properties",
- "kind": 1024,
- "children": [177]
+ "children": [552]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 325,
+ "character": 40
}
]
}
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 105,
+ "id": 439,
"name": "signUp",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 222,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 124,
+ "character": 4
}
],
"signatures": [
{
- "id": 106,
+ "id": 440,
"name": "signUp",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Creates a new user.",
- "returns": "A logged-in session if the server has \"autoconfirm\" ON"
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates a new user.\n\nBe aware that if a user account exists in the system you may get back an\nerror message that attempts to hide this information from the user.\nThis method has support for PKCE via email signups. The PKCE flow cannot be used when autoconfirm is enabled."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@returns",
+ "content": [
+ {
+ "kind": "text",
+ "text": "A logged-in session if the server has \"autoconfirm\" ON"
+ }
+ ]
+ },
+ {
+ "tag": "@returns",
+ "content": [
+ {
+ "kind": "text",
+ "text": "A user if the server has \"autoconfirm\" OFF"
+ }
+ ]
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 124,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 107,
+ "id": 441,
"name": "credentials",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 415,
- "name": "SignUpWithPasswordCredentials"
+ "target": 877,
+ "name": "SignUpWithPasswordCredentials",
+ "package": "@supabase/auth-js"
}
}
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reference",
- "id": 294,
- "name": "AuthResponse"
+ "target": 762,
+ "name": "AuthResponse",
+ "package": "@supabase/auth-js"
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 140,
+ "id": 632,
+ "name": "startAutoRefresh",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 469,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 633,
+ "name": "startAutoRefresh",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Starts an auto-refresh process in the background. The session is checked\nevery few seconds. Close to the time of expiration a process is started to\nrefresh the session. If refreshing fails it will be retried for as long as\nnecessary.\n\nIf you set the "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "GoTrueClientOptions#autoRefreshToken",
+ "target": 721
+ },
+ {
+ "kind": "text",
+ "text": " you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@see",
+ "text": "#stopAutoRefresh"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 469,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 634,
+ "name": "stopAutoRefresh",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 478,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 635,
+ "name": "stopAutoRefresh",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Stops an active auto refresh process running in the background (if any).\n\nIf you call this method any managed visibility change callback will be\nremoved and you must manage visibility changes on your own.\n\nSee "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#startAutoRefresh"
+ },
+ {
+ "kind": "text",
+ "text": " for more details."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 478,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 611,
+ "name": "unlinkIdentity",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 403,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 612,
+ "name": "unlinkIdentity",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Unlinks an identity from a user by deleting it. The user will no longer be able to sign in with that identity once it's unlinked."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 403,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 613,
+ "name": "identity",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 810,
+ "name": "UserIdentity",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 614,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 615,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 404,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 616,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ },
+ {
+ "id": 617,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 405,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [615, 617]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 403,
+ "character": 52
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 618,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 619,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 407,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 620,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 408,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [619, 620]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 406,
+ "character": 8
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 511,
"name": "updateUser",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 533,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 274,
+ "character": 4
}
],
"signatures": [
{
- "id": 141,
+ "id": 512,
"name": "updateUser",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Updates user data, if there is a logged in user."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Updates user data for a logged in user."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 274,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 142,
+ "id": 513,
"name": "attributes",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 390,
- "name": "UserAttributes"
+ "target": 842,
+ "name": "UserAttributes",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 514,
+ "name": "options",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 515,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 516,
+ "name": "emailRedirectTo",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 275,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [516]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 274,
+ "character": 53
+ }
+ ]
+ }
}
}
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reference",
- "id": 320,
- "name": "UserResponse"
+ "target": 801,
+ "name": "UserResponse",
+ "package": "@supabase/auth-js"
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
},
{
- "id": 117,
+ "id": 475,
"name": "verifyOtp",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 396,
- "character": 8
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 192,
+ "character": 4
}
],
"signatures": [
{
- "id": 118,
+ "id": 476,
"name": "verifyOtp",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Log in a user given a User supplied OTP received via mobile."
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Log in a user given a User supplied OTP or TokenHash received through mobile or email."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 192,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 119,
+ "id": 477,
"name": "params",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 473,
- "name": "VerifyOtpParams"
+ "target": 982,
+ "name": "VerifyOtpParams",
+ "package": "@supabase/auth-js"
}
}
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reference",
- "id": 294,
- "name": "AuthResponse"
+ "target": 762,
+ "name": "AuthResponse",
+ "package": "@supabase/auth-js"
}
],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "name": "Promise",
+ "package": "typescript"
}
}
]
@@ -8433,1380 +13148,343 @@
"groups": [
{
"title": "Constructors",
- "kind": 512,
- "children": [75]
+ "children": [365]
},
{
"title": "Properties",
- "kind": 1024,
- "children": [78, 79]
+ "children": [
+ 369, 395, 386, 421, 401, 409, 373, 407, 403, 400, 417, 418, 422, 423, 390, 370, 371,
+ 419, 387, 399, 394, 388, 372, 408, 420, 402, 389, 396
+ ]
+ },
+ {
+ "title": "Accessors",
+ "children": [374, 382]
},
{
"title": "Methods",
- "kind": 2048,
- "children": [120, 137, 101, 178, 153, 189, 150, 111, 114, 108, 174, 105, 140, 117]
+ "children": [
+ 540, 529, 553, 517, 448, 651, 487, 507, 594, 433, 428, 604, 558, 481, 535, 484, 580,
+ 523, 436, 469, 445, 472, 442, 478, 451, 548, 439, 632, 634, 611, 511, 475
+ ]
}
],
"sources": [
{
- "fileName": "src/GoTrueClient.ts",
- "line": 79,
+ "fileName": "packages/core/auth-js/dist/module/GoTrueClient.d.ts",
+ "line": 6,
"character": 21
}
]
},
{
- "id": 340,
- "name": "AMREntry",
- "kind": 256,
- "kindString": "Interface",
+ "id": 684,
+ "name": "NavigatorLockAcquireTimeoutError",
+ "variant": "declaration",
+ "kind": 128,
"flags": {},
- "comment": {
- "shortText": "An authentication methord reference (AMR) entry.",
- "text": "An entry designates what method was used by the user to verify their\nidentity and at what time.\n",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}.\n"
- }
- ]
- },
"children": [
{
- "id": 341,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
+ "id": 685,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
"flags": {},
- "comment": {
- "shortText": "Authentication method name."
- },
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 142,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 17,
+ "character": 4
}
],
- "type": {
- "type": "intrinsic",
- "name": "string"
+ "signatures": [
+ {
+ "id": 686,
+ "name": "NavigatorLockAcquireTimeoutError",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 687,
+ "name": "message",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 684,
+ "name": "NavigatorLockAcquireTimeoutError",
+ "package": "@supabase/auth-js"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "LockAcquireTimeoutError.constructor"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "LockAcquireTimeoutError.constructor"
}
},
{
- "id": 342,
- "name": "timestamp",
+ "id": 688,
+ "name": "isAcquireTimeout",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Timestamp when the method was successfully used. Represents number of\nseconds since 1st January 1970 (UNIX epoch) in UTC."
+ "flags": {
+ "isReadonly": true,
+ "isInherited": true
},
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 148,
- "character": 2
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 16,
+ "character": 13
}
],
"type": {
- "type": "intrinsic",
- "name": "number"
+ "type": "literal",
+ "value": true
+ },
+ "defaultValue": "true",
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "LockAcquireTimeoutError.isAcquireTimeout"
}
}
],
"groups": [
+ {
+ "title": "Constructors",
+ "children": [685]
+ },
{
"title": "Properties",
- "kind": 1024,
- "children": [341, 342]
+ "children": [688]
}
],
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 140,
- "character": 17
- }
- ]
- },
- {
- "id": 395,
- "name": "AdminUserAttributes",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 397,
- "name": "app_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",
- "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 270,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 400,
- "name": "ban_duration",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Determines how long a user is banned for.",
- "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 296,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 404,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 245,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 394,
- "name": "UserAttributes.data"
- }
- },
- {
- "id": 401,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's email."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 227,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 391,
- "name": "UserAttributes.email"
- }
- },
- {
- "id": 398,
- "name": "email_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's email address if set to true.",
- "text": "Only a service role can modify.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 277,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 403,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 237,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 393,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 402,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 232,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 392,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 399,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 284,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 396,
- "name": "user_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 260,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [397, 400, 404, 401, 398, 403, 402, 399, 396]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 248,
- "character": 17
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 19,
+ "character": 21
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 390,
- "name": "UserAttributes"
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/locks.ts",
+ "qualifiedName": "LockAcquireTimeoutError"
+ },
+ "name": "LockAcquireTimeoutError",
+ "package": "@supabase/auth-js"
}
]
},
{
- "id": 354,
- "name": "Factor",
- "kind": 256,
- "kindString": "Interface",
+ "id": 52,
+ "name": "PostgrestError",
+ "variant": "declaration",
+ "kind": 128,
"flags": {},
"comment": {
- "shortText": "A MFA factor.",
- "tags": [
+ "summary": [
{
- "tag": "see",
- "text": "{@link GoTrueMFAApi#enroll}"
+ "kind": "text",
+ "text": "Error format\n\n"
},
{
- "tag": "see",
- "text": "{@link GoTrueMFAApi#listFactors}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAAdminApi#listFactors}\n"
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes",
+ "target": "https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes"
}
]
},
"children": [
{
- "id": 359,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
+ "id": 53,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
"flags": {},
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 186,
- "character": 2
+ "fileName": "packages/core/postgrest-js/dist/cjs/PostgrestError.d.ts",
+ "line": 10,
+ "character": 4
}
],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 357,
- "name": "factor_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Type of factor. Only `totp` supported with this version but may change in\nfuture versions."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 181,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 356,
- "name": "friendly_name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 175,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 355,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 172,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 358,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Factor's status."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 184,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "verified"
- },
- {
- "type": "literal",
- "value": "unverified"
- }
- ]
- }
- },
- {
- "id": 360,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 187,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [359, 357, 356, 355, 358, 360]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 170,
- "character": 17
- }
- ]
- },
- {
- "id": 514,
- "name": "GenerateLinkOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 515,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 507,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 516,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The URL which will be appended to the email link generated."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 509,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [515, 516]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 501,
- "character": 17
- }
- ]
- },
- {
- "id": 673,
- "name": "GoTrueAdminMFAApi",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "Contains the full multi-factor authentication administration API.",
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "children": [
- {
- "id": 677,
- "name": "deleteFactor",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
"signatures": [
{
- "id": 678,
- "name": "deleteFactor",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 54,
+ "name": "PostgrestError",
+ "variant": "signature",
+ "kind": 16384,
"flags": {},
- "comment": {
- "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions (if the deleted factor was verified). There's no need to delete\nunverified factors.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#unenroll}\n"
- },
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
+ "sources": [
+ {
+ "fileName": "packages/core/postgrest-js/dist/cjs/PostgrestError.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 679,
- "name": "params",
+ "id": 55,
+ "name": "context",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
- "type": "reference",
- "id": 657,
- "name": "AuthMFAAdminDeleteFactorParams"
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 60,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/postgrest-js/dist/cjs/PostgrestError.d.ts",
+ "line": 14,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 58,
+ "name": "details",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/postgrest-js/dist/cjs/PostgrestError.d.ts",
+ "line": 12,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 59,
+ "name": "hint",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/postgrest-js/dist/cjs/PostgrestError.d.ts",
+ "line": 13,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 57,
+ "name": "message",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/postgrest-js/dist/cjs/PostgrestError.d.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [60, 58, 59, 57]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/postgrest-js/dist/cjs/PostgrestError.d.ts",
+ "line": 10,
+ "character": 25
+ }
+ ]
+ }
}
}
],
"type": {
"type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 648,
- "name": "AuthMFAAdminDeleteFactorResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 674,
- "name": "listFactors",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 675,
- "name": "listFactors",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Lists all factors attached to a user.",
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
+ "target": 52,
+ "name": "PostgrestError",
+ "package": "@supabase/postgrest-js",
+ "qualifiedName": "default"
},
- "parameters": [
- {
- "id": 676,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 670,
- "name": "AuthMFAAdminListFactorsParams"
- }
- }
- ],
- "type": {
+ "overwrites": {
"type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 661,
- "name": "AuthMFAAdminListFactorsResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
+ "target": -1,
+ "name": "Error.constructor"
}
}
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "kind": 2048,
- "children": [677, 674]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 900,
- "character": 17
- }
- ]
- },
- {
- "id": 628,
- "name": "GoTrueMFAApi",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "Contains the full multi-factor authentication API.",
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "children": [
- {
- "id": 632,
- "name": "challenge",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 633,
- "name": "challenge",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor. Provide the challenge ID and verification code by calling\n{@link GoTrueMFAApi#verify}.",
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 634,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 552,
- "name": "MFAChallengeParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 596,
- "name": "AuthMFAChallengeResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 641,
- "name": "challengeAndVerify",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 642,
- "name": "challengeAndVerify",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challengeAndVerify}\n"
- },
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 643,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 555,
- "name": "MFAChallengeAndVerifyParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 559,
- "name": "AuthMFAVerifyResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 629,
- "name": "enroll",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 630,
- "name": "enroll",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Starts the enrollment process for a new Multi-Factor Authentication\nfactor. This method creates a new factor in the 'unverified' state.\nPresent the QR code or secret to the user and ask them to add it to their\nauthenticator app. Ask the user to provide you with an authenticator code\nfrom their app and verify it by calling challenge and then verify.",
- "text": "The first successful verification of an unverified factor activates the\nfactor. All other sessions are logged out and the current one gets an\n`aal2` authenticator level.\n",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challenge}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#verify}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}\n"
- },
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 631,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 539,
- "name": "MFAEnrollParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 572,
- "name": "AuthMFAEnrollResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 646,
- "name": "getAuthenticatorAssuranceLevel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 647,
- "name": "getAuthenticatorAssuranceLevel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns the Authenticator Assurance Level (AAL) for the active session.",
- "text": "- `aal1` (or `null`) means that the user's identity has been verified only\nwith a conventional login (email+password, OTP, magic link, social login,\netc.).\n- `aal2` means that the user's identity has been verified both with a conventional login and at least one MFA factor.\n\nAlthough this method returns a promise, it's fairly quick (microseconds)\nand rarely uses the network. You can use this to check whether the current\nuser needs to be shown a screen to verify their MFA factors.\n",
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 617,
- "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 644,
- "name": "listFactors",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 645,
- "name": "listFactors",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns the list of MFA factors enabled for this user. For most use cases\nyou should consider using {@link\nGoTrueMFAApi#getAuthenticatorAssuranceLevel}. This uses a cached version\nof the factors and avoids incurring a network call. If you need to update\nthis list, call {@link GoTrueClient#getUser} first.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#enroll}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueClient#getUser}\n"
- },
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 606,
- "name": "AuthMFAListFactorsResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 638,
- "name": "unenroll",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 639,
- "name": "unenroll",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Unenroll removes a MFA factor. Unverified factors can safely be ignored\nand it's not necessary to unenroll them. Unenrolling a verified MFA factor\ncannot be done from a session with an `aal1` authenticator level.",
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 640,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 544,
- "name": "MFAUnenrollParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 587,
- "name": "AuthMFAUnenrollResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 635,
- "name": "verify",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 636,
- "name": "verify",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Verifies a verification code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challenge}\n"
- },
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 637,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 547,
- "name": "MFAVerifyParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 559,
- "name": "AuthMFAVerifyResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "kind": 2048,
- "children": [632, 641, 629, 646, 644, 638, 635]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 760,
- "character": 17
- }
- ]
- },
- {
- "id": 331,
- "name": "Session",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 334,
- "name": "access_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 115,
- "character": 2
- }
],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 337,
- "name": "expires_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 127,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 336,
- "name": "expires_in",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 123,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 333,
- "name": "provider_refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 111,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 332,
- "name": "provider_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 106,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 335,
- "name": "refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "A one-time used refresh token that never expires."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 119,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 338,
- "name": "token_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 128,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 339,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 129,
- "character": 2
- }
- ],
- "type": {
+ "overwrites": {
"type": "reference",
- "id": 368,
- "name": "User"
+ "target": -1,
+ "name": "Error.constructor"
}
- }
- ],
- "groups": [
+ },
{
- "title": "Properties",
+ "id": 63,
+ "name": "code",
+ "variant": "declaration",
"kind": 1024,
- "children": [334, 337, 336, 333, 332, 335, 338, 339]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 102,
- "character": 17
- }
- ]
- },
- {
- "id": 405,
- "name": "Subscription",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 406,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
"flags": {},
- "comment": {
- "shortText": "The subscriber UUID. This will be set by the client."
- },
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 303,
- "character": 2
+ "fileName": "packages/core/postgrest-js/dist/cjs/PostgrestError.d.ts",
+ "line": 9,
+ "character": 4
}
],
"type": {
@@ -9815,6213 +13493,364 @@
}
},
{
- "id": 407,
- "name": "callback",
- "kind": 2048,
- "kindString": "Method",
+ "id": 61,
+ "name": "details",
+ "variant": "declaration",
+ "kind": 1024,
"flags": {},
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 307,
- "character": 2
+ "fileName": "packages/core/postgrest-js/dist/cjs/PostgrestError.d.ts",
+ "line": 7,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 62,
+ "name": "hint",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/postgrest-js/dist/cjs/PostgrestError.d.ts",
+ "line": 8,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [53]
+ },
+ {
+ "title": "Properties",
+ "children": [63, 61, 62]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/postgrest-js/dist/cjs/PostgrestError.d.ts",
+ "line": 6,
+ "character": 21
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Error"
+ },
+ "name": "Error",
+ "package": "typescript"
+ }
+ ]
+ },
+ {
+ "id": 1620,
+ "name": "RealtimeChannel",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 1621,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 165,
+ "character": 4
}
],
"signatures": [
{
- "id": 408,
- "name": "callback",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 1622,
+ "name": "RealtimeChannel",
+ "variant": "signature",
+ "kind": 16384,
"flags": {},
- "comment": {
- "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
- },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 165,
+ "character": 4
+ }
+ ],
"parameters": [
{
- "id": 409,
- "name": "event",
+ "id": 1623,
+ "name": "topic",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Topic name can be any string."
+ }
+ ]
+ },
"type": {
- "type": "reference",
- "id": 280,
- "name": "AuthChangeEvent"
+ "type": "intrinsic",
+ "name": "string"
}
},
{
- "id": 410,
- "name": "session",
+ "id": 1624,
+ "name": "params",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
- "type": "literal",
- "value": null
+ "type": "intrinsic",
+ "name": "undefined"
},
{
"type": "reference",
- "id": 331,
- "name": "Session"
+ "target": 1914,
+ "name": "RealtimeChannelOptions",
+ "package": "@supabase/realtime-js"
}
]
}
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 411,
- "name": "unsubscribe",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 311,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 412,
- "name": "unsubscribe",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Call this to remove the listener."
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [406]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [407, 411]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 299,
- "character": 17
- }
- ]
- },
- {
- "id": 413,
- "name": "UpdatableFactorAttributes",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 414,
- "name": "friendlyName",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 315,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [414]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 314,
- "character": 17
- }
- ]
- },
- {
- "id": 368,
- "name": "User",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 378,
- "name": "action_link",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 209,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 370,
- "name": "app_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 201,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 361,
- "name": "UserAppMetadata"
- }
- },
- {
- "id": 372,
- "name": "aud",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 203,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 373,
- "name": "confirmation_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 204,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 382,
- "name": "confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 213,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 381,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 212,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 379,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 210,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 375,
- "name": "email_change_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 206,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 383,
- "name": "email_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 214,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 389,
- "name": "factors",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 220,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 354,
- "name": "Factor"
- }
- }
- },
- {
- "id": 369,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 200,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 388,
- "name": "identities",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 219,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 343,
- "name": "UserIdentity"
- }
- }
- },
- {
- "id": 377,
- "name": "invited_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 208,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 385,
- "name": "last_sign_in_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 216,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 376,
- "name": "new_email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 207,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 380,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 211,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 384,
- "name": "phone_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 215,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 374,
- "name": "recovery_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 205,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 386,
- "name": "role",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 217,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 387,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 218,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 371,
- "name": "user_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 202,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 365,
- "name": "UserMetadata"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 378, 370, 372, 373, 382, 381, 379, 375, 383, 389, 369, 388, 377, 385, 376, 380, 384,
- 374, 386, 387, 371
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 199,
- "character": 17
- }
- ]
- },
- {
- "id": 361,
- "name": "UserAppMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 362,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 191,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [362]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 190,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 363,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 364,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- {
- "id": 390,
- "name": "UserAttributes",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 394,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 245,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 391,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's email."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 227,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 393,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 237,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 392,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 232,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [394, 391, 393, 392]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 223,
- "character": 17
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 395,
- "name": "AdminUserAttributes"
- }
- ]
- },
- {
- "id": 343,
- "name": "UserIdentity",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 351,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 158,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 344,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 152,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 346,
- "name": "identity_data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 154,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 347,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 348,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 349,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 352,
- "name": "last_sign_in_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 159,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 350,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 157,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 353,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 160,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 345,
- "name": "user_id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 153,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [351, 344, 346, 352, 350, 353, 345]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 151,
- "character": 17
- }
- ]
- },
- {
- "id": 365,
- "name": "UserMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 195,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 366,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 367,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- {
- "id": 482,
- "name": "VerifyEmailOtpParams",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 483,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 453,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 486,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 458,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 487,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 489,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 462,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
},
{
- "id": 488,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A URL to send the user to after they are confirmed."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 460,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [489, 488]
- }
- ]
- }
- }
- },
- {
- "id": 484,
- "name": "token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The otp sent to the user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 455,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 485,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's verification type."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 457,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 491,
- "name": "EmailOtpType"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [483, 486, 484, 485]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 451,
- "character": 17
- }
- ]
- },
- {
- "id": 474,
- "name": "VerifyMobileOtpParams",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 478,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 444,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 479,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 481,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 448,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 480,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A URL to send the user to after they are confirmed."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 446,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [481, 480]
- }
- ]
- }
- }
- },
- {
- "id": 475,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 439,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 476,
- "name": "token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The otp sent to the user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 441,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 477,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's verification type."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 443,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 490,
- "name": "MobileOtpType"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [478, 475, 476, 477]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 437,
- "character": 17
- }
- ]
- },
- {
- "id": 280,
- "name": "AuthChangeEvent",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 28,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "PASSWORD_RECOVERY"
- },
- {
- "type": "literal",
- "value": "SIGNED_IN"
- },
- {
- "type": "literal",
- "value": "SIGNED_OUT"
- },
- {
- "type": "literal",
- "value": "TOKEN_REFRESHED"
- },
- {
- "type": "literal",
- "value": "USER_UPDATED"
- },
- {
- "type": "literal",
- "value": "USER_DELETED"
- },
- {
- "type": "reference",
- "id": 279,
- "name": "AuthChangeEventMFA"
- }
- ]
- }
- },
- {
- "id": 279,
- "name": "AuthChangeEventMFA",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 26,
- "character": 12
- }
- ],
- "type": {
- "type": "literal",
- "value": "MFA_CHALLENGE_VERIFIED"
- }
- },
- {
- "id": 657,
- "name": "AuthMFAAdminDeleteFactorParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 866,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 658,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 659,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the MFA factor to delete."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 868,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 660,
- "name": "userId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the user whose factor is being deleted."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 871,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [659, 660]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 866,
- "character": 45
- }
- ]
- }
- }
- },
- {
- "id": 648,
- "name": "AuthMFAAdminDeleteFactorResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 853,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 649,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 650,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
+ "id": 1625,
+ "name": "socket",
+ "variant": "param",
+ "kind": 32768,
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 855,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 651,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 652,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor that was successfully deleted."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 857,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [652]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 855,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 653,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 859,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [650, 653]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 854,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 654,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 655,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 861,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 656,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 861,
- "character": 18
- }
- ],
"type": {
"type": "reference",
- "id": 694,
- "name": "AuthError"
+ "target": 1929,
+ "name": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
}
}
],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [655, 656]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 861,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 670,
- "name": "AuthMFAAdminListFactorsParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 890,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 671,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 672,
- "name": "userId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the user for which to list all MFA factors."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 892,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [672]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 890,
- "character": 44
- }
- ]
- }
- }
- },
- {
- "id": 661,
- "name": "AuthMFAAdminListFactorsResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 877,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 662,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 663,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 879,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 664,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 665,
- "name": "factors",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "All factors attached to the user."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 881,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 354,
- "name": "Factor"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [665]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 879,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 666,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 883,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [663, 666]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 878,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 667,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 668,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 885,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 669,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 885,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [668, 669]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 885,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 596,
- "name": "AuthMFAChallengeResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 693,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 597,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 598,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 695,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 599,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 601,
- "name": "expires_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 700,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 600,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the newly created challenge."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 697,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [601, 600]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 695,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 602,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 702,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [598, 602]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 694,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 603,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 604,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 704,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 605,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 704,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [604, 605]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 704,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 572,
- "name": "AuthMFAEnrollResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 644,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 573,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 574,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 646,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 575,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 576,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor that was just enrolled (in an unverified state)."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 648,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 578,
- "name": "totp",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "TOTP enrollment information."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 654,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 579,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 580,
- "name": "qr_code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 658,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 581,
- "name": "secret",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 663,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 582,
- "name": "uri",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 667,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [580, 581, 582]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 654,
- "character": 14
- }
- ]
- }
- }
- },
- {
- "id": 577,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Type of MFA factor. Only `totp` supported for now."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 651,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "totp"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [576, 578, 577]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 646,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 583,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 670,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [574, 583]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 645,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 584,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 585,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 673,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 586,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 674,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [585, 586]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 672,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 617,
- "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 730,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 618,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 619,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 732,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 620,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 623,
- "name": "currentAuthenticationMethods",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 749,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 340,
- "name": "AMREntry"
- }
- }
- },
- {
- "id": 621,
- "name": "currentLevel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Current AAL level of the session."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 734,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 616,
- "name": "AuthenticatorAssuranceLevels"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- },
- {
- "id": 622,
- "name": "nextLevel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challenge}\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 742,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 616,
- "name": "AuthenticatorAssuranceLevels"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [623, 621, 622]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 732,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 624,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 751,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [619, 624]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 731,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 625,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 626,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 753,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 627,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 753,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [626, 627]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 753,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 606,
- "name": "AuthMFAListFactorsResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 709,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 607,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 608,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 711,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 609,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 610,
- "name": "all",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "All available factors (verified and unverified)."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 713,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 354,
- "name": "Factor"
- }
- }
- },
- {
- "id": 611,
- "name": "totp",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Only verified TOTP factors. (A subset of `all`.)"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 716,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 354,
- "name": "Factor"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [610, 611]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 711,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 612,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 718,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [608, 612]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 710,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 613,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 614,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 720,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 615,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 720,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [614, 615]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 720,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 587,
- "name": "AuthMFAUnenrollResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 680,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 588,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 589,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 682,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 590,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 591,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor that was successfully unenrolled."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 684,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [591]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 682,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 592,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 686,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [589, 592]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 681,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 593,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 594,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 688,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 595,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 688,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [594, 595]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 688,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 559,
- "name": "AuthMFAVerifyResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 616,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 560,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 561,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 618,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 562,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 563,
- "name": "access_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "New access token (JWT) after successful verification."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 620,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 565,
- "name": "expires_in",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Number of seconds in which the access token will expire."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 626,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 566,
- "name": "refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Refresh token you can use to obtain new access tokens when expired."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 629,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 564,
- "name": "token_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Type of token, typically `Bearer`."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 623,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 567,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Updated user profile."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 632,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 368,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [563, 565, 566, 564, 567]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 618,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 568,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 634,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [561, 568]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 617,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 569,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 570,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 637,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 571,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 638,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [570, 571]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 636,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 294,
- "name": "AuthResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 295,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 296,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 297,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 299,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 60,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 331,
- "name": "Session"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- },
- {
- "id": 298,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 59,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 368,
- "name": "User"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [299, 298]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 300,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [296, 300]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 57,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 301,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 302,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 65,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 303,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 305,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 67,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 304,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [305, 304]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 65,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 306,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 69,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [302, 306]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 64,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 616,
- "name": "AuthenticatorAssuranceLevels",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 725,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "aal1"
- },
- {
- "type": "literal",
- "value": "aal2"
- }
- ]
- }
- },
- {
- "id": 684,
- "name": "CallRefreshTokenResult",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 933,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 685,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 687,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 936,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 686,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 935,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 331,
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [687, 686]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 934,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 688,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 690,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 940,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
- },
- {
- "id": 689,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 939,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [690, 689]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 938,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 491,
- "name": "EmailOtpType",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 467,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "signup"
- },
- {
- "type": "literal",
- "value": "invite"
- },
- {
- "type": "literal",
- "value": "magiclink"
- },
- {
- "type": "literal",
- "value": "recovery"
- },
- {
- "type": "literal",
- "value": "email_change"
- }
- ]
- }
- },
- {
- "id": 508,
- "name": "GenerateEmailChangeLinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 490,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 509,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 511,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 493,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 512,
- "name": "newEmail",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 497,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 513,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 498,
- "character": 2
- }
- ],
"type": {
"type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 514,
- "name": "GenerateLinkOptions"
- },
- {
- "type": "literal",
- "value": "redirectTo"
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
}
- },
- {
- "id": 510,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 491,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "email_change_current"
- },
- {
- "type": "literal",
- "value": "email_change_new"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [511, 512, 513, 510]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 490,
- "character": 44
}
]
- }
- }
- },
- {
- "id": 498,
- "name": "GenerateInviteOrMagiclinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
+ },
{
- "fileName": "src/lib/types.ts",
- "line": 476,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 499,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "id": 1629,
+ "name": "bindings",
+ "variant": "declaration",
+ "kind": 1024,
"flags": {},
- "children": [
- {
- "id": 501,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 479,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 502,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 480,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 514,
- "name": "GenerateLinkOptions"
- },
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "data"
- },
- {
- "type": "literal",
- "value": "redirectTo"
- }
- ]
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 500,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 477,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "invite"
- },
- {
- "type": "literal",
- "value": "magiclink"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [501, 502, 500]
- }
- ],
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 476,
- "character": 46
- }
- ]
- }
- }
- },
- {
- "id": 517,
- "name": "GenerateLinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 512,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 492,
- "name": "GenerateSignupLinkParams"
- },
- {
- "type": "reference",
- "id": 498,
- "name": "GenerateInviteOrMagiclinkParams"
- },
- {
- "type": "reference",
- "id": 503,
- "name": "GenerateRecoveryLinkParams"
- },
- {
- "type": "reference",
- "id": 508,
- "name": "GenerateEmailChangeLinkParams"
- }
- ]
- }
- },
- {
- "id": 531,
- "name": "GenerateLinkProperties",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "shortText": "The properties related to the email link generated"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 535,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 532,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 533,
- "name": "action_link",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The email link to send to the user.\nThe action_link follows the following format: auth/v1/verify?type={verification_type}&token={hashed_token}&redirect_to={redirect_to}"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 540,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 534,
- "name": "email_otp",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The raw email OTP.\nYou should send this in the email if you want your users to verify using an OTP instead of the action link."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 545,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 535,
- "name": "hashed_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The hashed token appended to the action link."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 549,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 536,
- "name": "redirect_to",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The URL appended to the action link."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 551,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 537,
- "name": "verification_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The verification type that the email link is associated to."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 553,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 538,
- "name": "GenerateLinkType"
- }
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 145,
+ "character": 4
}
],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [533, 534, 535, 536, 537]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 535,
- "character": 37
- }
- ]
- }
- }
- },
- {
- "id": 518,
- "name": "GenerateLinkResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 518,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
+ "type": {
"type": "reflection",
"declaration": {
- "id": 519,
+ "id": 1630,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
- "children": [
+ "sources": [
{
- "id": 520,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 145,
+ "character": 14
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1631,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
"flags": {},
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 520,
- "character": 6
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 146,
+ "character": 8
}
],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 521,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "parameters": [
+ {
+ "id": 1632,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
"flags": {},
- "children": [
- {
- "id": 522,
- "name": "properties",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 521,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 531,
- "name": "GenerateLinkProperties"
- }
- },
- {
- "id": 523,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 522,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 368,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [522, 523]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 520,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 524,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 524,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [520, 524]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 519,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 525,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 526,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 527,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 527,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 528,
- "name": "properties",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 528,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 529,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 529,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [528, 529]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 527,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 530,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 531,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [526, 530]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 526,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 538,
- "name": "GenerateLinkType",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 556,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "signup"
- },
- {
- "type": "literal",
- "value": "invite"
- },
- {
- "type": "literal",
- "value": "magiclink"
- },
- {
- "type": "literal",
- "value": "recovery"
- },
- {
- "type": "literal",
- "value": "email_change_current"
- },
- {
- "type": "literal",
- "value": "email_change_new"
- }
- ]
- }
- },
- {
- "id": 503,
- "name": "GenerateRecoveryLinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 483,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 504,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 506,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 486,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 507,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 487,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 514,
- "name": "GenerateLinkOptions"
- },
- {
- "type": "literal",
- "value": "redirectTo"
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 505,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 484,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "recovery"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [506, 507, 505]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 483,
- "character": 41
- }
- ]
- }
- }
- },
- {
- "id": 492,
- "name": "GenerateSignupLinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 469,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 493,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 495,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 471,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 497,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 473,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 514,
- "name": "GenerateLinkOptions"
- },
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "data"
- },
- {
- "type": "literal",
- "value": "redirectTo"
- }
- ]
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 496,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 472,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 494,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 470,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "signup"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [495, 497, 496, 494]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 469,
- "character": 39
- }
- ]
- }
- }
- },
- {
- "id": 281,
- "name": "GoTrueClientOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 37,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 282,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 290,
- "name": "autoRefreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 47,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 289,
- "name": "detectSessionInUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 45,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 293,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 53,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "Fetch"
- }
- },
- {
- "id": 284,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 41,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 285,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 41,
- "character": 12
- }
- ],
- "indexSignature": {
- "id": 286,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 287,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 291,
- "name": "persistSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 292,
- "name": "storage",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 51,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 680,
- "name": "SupportedStorage"
- }
- },
- {
- "id": 288,
- "name": "storageKey",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 43,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 283,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 39,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [290, 289, 293, 284, 291, 292, 288, 283]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 37,
- "character": 34
- }
- ]
- }
- }
- },
- {
- "id": 681,
- "name": "InitializeResult",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 931,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 682,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 683,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 931,
- "character": 33
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [683]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 931,
- "character": 31
- }
- ]
- }
- }
- },
- {
- "id": 555,
- "name": "MFAChallengeAndVerifyParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 606,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 556,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 558,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Verification code provided by the user."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 610,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 557,
- "name": "factorId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor being verified."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 608,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [558, 557]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 606,
- "character": 42
- }
- ]
- }
- }
- },
- {
- "id": 552,
- "name": "MFAChallengeParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 598,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 553,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 554,
- "name": "factorId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor to be challenged."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 600,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [554]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 598,
- "character": 33
- }
- ]
- }
- }
- },
- {
- "id": 539,
- "name": "MFAEnrollParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 567,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 540,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 541,
- "name": "factorType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 568,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "totp"
- }
- },
- {
- "id": 543,
- "name": "friendlyName",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 570,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 542,
- "name": "issuer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 569,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [541, 543, 542]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 567,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 544,
- "name": "MFAUnenrollParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 576,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 545,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 546,
- "name": "factorId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor being unenrolled."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 578,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [546]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 576,
- "character": 32
- }
- ]
- }
- }
- },
- {
- "id": 547,
- "name": "MFAVerifyParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 584,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 548,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 550,
- "name": "challengeId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the challenge being verified."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 589,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 551,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Verification code provided by the user."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 592,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 549,
- "name": "factorId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor being verified."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 586,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [550, 551, 549]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 584,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 490,
- "name": "MobileOtpType",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 466,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "sms"
- },
- {
- "type": "literal",
- "value": "phone_change"
- }
- ]
- }
- },
- {
- "id": 307,
- "name": "OAuthResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 308,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 309,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 74,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 310,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 311,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 75,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 278,
- "name": "Provider"
- }
- },
- {
- "id": 312,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 76,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [311, 312]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 74,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 313,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 78,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [309, 313]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 73,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 314,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 315,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 81,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 316,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 317,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 82,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 278,
- "name": "Provider"
- }
- },
- {
- "id": 318,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 83,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [317, 318]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 81,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 319,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 85,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [315, 319]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 80,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 278,
- "name": "Provider",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "shortText": "One of the providers supported by GoTrue."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 5,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "apple"
- },
- {
- "type": "literal",
- "value": "azure"
- },
- {
- "type": "literal",
- "value": "bitbucket"
- },
- {
- "type": "literal",
- "value": "discord"
- },
- {
- "type": "literal",
- "value": "facebook"
- },
- {
- "type": "literal",
- "value": "github"
- },
- {
- "type": "literal",
- "value": "gitlab"
- },
- {
- "type": "literal",
- "value": "google"
- },
- {
- "type": "literal",
- "value": "keycloak"
- },
- {
- "type": "literal",
- "value": "linkedin"
- },
- {
- "type": "literal",
- "value": "notion"
- },
- {
- "type": "literal",
- "value": "slack"
- },
- {
- "type": "literal",
- "value": "spotify"
- },
- {
- "type": "literal",
- "value": "twitch"
- },
- {
- "type": "literal",
- "value": "twitter"
- },
- {
- "type": "literal",
- "value": "workos"
- }
- ]
- }
- },
- {
- "id": 462,
- "name": "SignInWithOAuthCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 423,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 463,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 465,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 426,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 466,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 469,
- "name": "queryParams",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "An object of query params"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 432,
- "character": 4
- }
- ],
"type": {
- "type": "reflection",
- "declaration": {
- "id": 470,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 432,
- "character": 18
- }
- ],
- "indexSignature": {
- "id": 471,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1633,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1639,
+ "name": "callback",
+ "variant": "declaration",
+ "kind": 1024,
"flags": {},
- "parameters": [
+ "sources": [
{
- "id": 472,
- "name": "key",
- "kind": 32768,
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 151,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1635,
+ "name": "filter",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 148,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1636,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
"flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 148,
+ "character": 20
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1637,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 149,
+ "character": 16
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1638,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1640,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 152,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1634,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 147,
+ "character": 12
}
],
"type": {
@@ -16029,1647 +13858,57 @@
"name": "string"
}
}
- }
- }
- },
- {
- "id": 467,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A URL to send the user to after they are confirmed."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 428,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 468,
- "name": "scopes",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A space-separated list of scopes granted to the OAuth application."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 430,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1639, 1635, 1640, 1634]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 146,
+ "character": 23
+ }
+ ]
}
}
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [469, 467, 468]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 426,
- "character": 12
- }
- ]
+ }
}
- }
- },
- {
- "id": 464,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "One of the providers supported by GoTrue."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 425,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 278,
- "name": "Provider"
- }
+ ]
}
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [465, 464]
- }
- ],
+ }
+ },
+ {
+ "id": 1648,
+ "name": "broadcastEndpointURL",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
"sources": [
{
- "fileName": "src/lib/types.ts",
- "line": 423,
- "character": 41
- }
- ]
- }
- }
- },
- {
- "id": 431,
- "name": "SignInWithPasswordCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 353,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 432,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 433,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 356,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 435,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 359,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 436,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 438,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 367,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 437,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 365,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [438, 437]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 359,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 434,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 358,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [433, 435, 434]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 354,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 439,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 442,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 375,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 443,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 445,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 383,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 444,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 381,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [445, 444]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 375,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 441,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 374,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 440,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 372,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [442, 441, 440]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 370,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 446,
- "name": "SignInWithPasswordlessCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 387,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 447,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 448,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 390,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 449,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 391,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 450,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 454,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 403,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 453,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 401,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 451,
- "name": "emailRedirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The redirect url embedded in the email link"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 393,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 452,
- "name": "shouldCreateUser",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If set to false, this method will not create a new user. Defaults to true."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 395,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [454, 453, 451, 452]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 391,
- "character": 16
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [448, 449]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 388,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 455,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 457,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 409,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 458,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 461,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 419,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 460,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 417,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 459,
- "name": "shouldCreateUser",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "If set to false, this method will not create a new user. Defaults to true."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 411,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [461, 460, 459]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 409,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 456,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 408,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [457, 456]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 406,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 415,
- "name": "SignUpWithPasswordCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 318,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 416,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 417,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 321,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 419,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 324,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 420,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 423,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 334,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 422,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 332,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 421,
- "name": "emailRedirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The redirect url embedded in the email link"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 326,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [423, 422, 421]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 324,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 418,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 323,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [417, 419, 418]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 319,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 424,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 427,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 342,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 428,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 430,
- "name": "captchaToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 350,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 429,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
- "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 348,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [430, 429]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 342,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 426,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 341,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 425,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 339,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [427, 426, 425]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 337,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 680,
- "name": "SupportedStorage",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 929,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Storage",
- "package": "typescript",
- "name": "Storage"
- },
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "getItem"
- },
- {
- "type": "literal",
- "value": "setItem"
- },
- {
- "type": "literal",
- "value": "removeItem"
- }
- ]
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- ],
- "name": "PromisifyMethods"
- }
- },
- {
- "id": 320,
- "name": "UserResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 88,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 321,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 322,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 90,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 323,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 324,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 91,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 368,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [324]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 90,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 325,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 93,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [322, 325]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 89,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 326,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 327,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 96,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 328,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 329,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 97,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [329]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 96,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 330,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 99,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [327, 330]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 95,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 473,
- "name": "VerifyOtpParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 436,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 474,
- "name": "VerifyMobileOtpParams"
- },
- {
- "type": "reference",
- "id": 482,
- "name": "VerifyEmailOtpParams"
- }
- ]
- }
- },
- {
- "id": 691,
- "name": "isAuthError",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 10,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 692,
- "name": "isAuthError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 693,
- "name": "error",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 162,
+ "character": 4
}
],
"type": {
- "type": "predicate",
- "name": "error",
- "asserts": false,
- "targetType": {
- "type": "reference",
- "id": 694,
- "name": "AuthError"
- }
+ "type": "intrinsic",
+ "name": "string"
}
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [699, 694, 759, 746, 784, 734, 712, 719, 1, 74]
- },
- {
- "title": "Interfaces",
- "kind": 256,
- "children": [
- 340, 395, 354, 514, 673, 628, 331, 405, 413, 368, 361, 390, 343, 365, 482, 474
- ]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [
- 280, 279, 657, 648, 670, 661, 596, 572, 617, 606, 587, 559, 294, 616, 684, 491, 508,
- 498, 517, 531, 518, 538, 503, 492, 281, 681, 555, 552, 539, 544, 547, 490, 307, 278,
- 462, 431, 446, 415, 680, 320, 473
- ]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [691]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 0,
- "name": "@supabase/postgrest-js",
- "kind": 1,
- "kindString": "Project",
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 498,
- "name": "PostgrestBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isAbstract": true
- },
- "children": [
+ },
{
- "id": 499,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
+ "id": 1643,
+ "name": "joinedOnce",
+ "variant": "declaration",
+ "kind": 1024,
"flags": {},
"sources": [
{
- "fileName": "src/PostgrestBuilder.ts",
- "line": 18,
- "character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L18"
- }
- ],
- "signatures": [
- {
- "id": 500,
- "name": "new PostgrestBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 501,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 502,
- "name": "builder",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 498,
- "typeArguments": [
- {
- "type": "reference",
- "id": 501,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 498,
- "typeArguments": [
- {
- "type": "reference",
- "id": 501,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 515,
- "name": "allowEmpty",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 16,
- "character": 12,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L16"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 157,
+ "character": 4
}
],
"type": {
@@ -17678,118 +13917,5715 @@
}
},
{
- "id": 507,
- "name": "body",
+ "id": 1644,
+ "name": "joinPush",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
+ "flags": {},
"sources": [
{
- "fileName": "src/PostgrestBuilder.ts",
- "line": 12,
- "character": 12,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L12"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 158,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/lib/push.ts",
+ "qualifiedName": "default"
+ },
+ "name": "Push",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1627,
+ "name": "params",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 143,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1914,
+ "name": "RealtimeChannelOptions",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1647,
+ "name": "presence",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 161,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1603,
+ "name": "RealtimePresence",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1650,
+ "name": "private",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 164,
+ "character": 4
}
],
"type": {
"type": "intrinsic",
- "name": "unknown"
+ "name": "boolean"
}
},
{
- "id": 510,
- "name": "fetch",
+ "id": 1646,
+ "name": "pushBuffer",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 160,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/lib/push.ts",
+ "qualifiedName": "default"
+ },
+ "name": "Push",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ }
+ },
+ {
+ "id": 1645,
+ "name": "rejoinTimer",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 159,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/lib/timer.ts",
+ "qualifiedName": "default"
+ },
+ "name": "Timer",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1628,
+ "name": "socket",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 144,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1929,
+ "name": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1642,
+ "name": "state",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 156,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/lib/constants.ts",
+ "qualifiedName": "CHANNEL_STATES"
+ },
+ "name": "CHANNEL_STATES",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1649,
+ "name": "subTopic",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 163,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1641,
+ "name": "timeout",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 155,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1626,
+ "name": "topic",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Topic name can be any string."
+ }
+ ]
},
"sources": [
{
- "fileName": "src/PostgrestBuilder.ts",
- "line": 15,
- "character": 12,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L15"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 142,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1877,
+ "name": "httpSend",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 287,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1878,
+ "name": "httpSend",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Sends a broadcast message explicitly via REST API.\n\nThis method always uses the REST API endpoint regardless of WebSocket connection state.\nUseful when you want to guarantee REST delivery or when gradually migrating from implicit REST fallback."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@returns",
+ "content": [
+ {
+ "kind": "text",
+ "text": "Promise resolving to object with success status, and error details if failed"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 287,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1879,
+ "name": "event",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The name of the broadcast event"
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1880,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Payload to be sent (required)"
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1881,
+ "name": "opts",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Options including timeout"
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1882,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1883,
+ "name": "timeout",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 288,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1883]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 287,
+ "character": 49
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1884,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1885,
+ "name": "success",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 290,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": true
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1885]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 289,
+ "character": 16
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1886,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1889,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 294,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1888,
+ "name": "status",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 293,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1887,
+ "name": "success",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 292,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": false
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1889, 1888, 1887]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 291,
+ "character": 8
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1682,
+ "name": "on",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 184,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 187,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 192,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 197,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 200,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 203,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 206,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 215,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 226,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 239,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 246,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 255,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 264,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 273,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1683,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 184,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1684,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 1685,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1686,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1687,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 185,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1687]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 184,
+ "character": 58
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1688,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1689,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 186,
+ "character": 17
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1690,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 186,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1691,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 187,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1692,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1693,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 187,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1694,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 188,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1695,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1696,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 1697,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1698,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1699,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 190,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1699]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 189,
+ "character": 58
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1700,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1701,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 191,
+ "character": 17
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1702,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 191,
+ "character": 17
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1703,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2117,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1692,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimePresenceJoinPayload",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1704,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 192,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1705,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1706,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 192,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1707,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 193,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1708,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1709,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 1710,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1711,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1712,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 195,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1712]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 194,
+ "character": 58
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1713,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1714,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 196,
+ "character": 17
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1715,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 196,
+ "character": 17
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1716,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2127,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1705,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimePresenceLeavePayload",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1717,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 197,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1718,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1719,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 197,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1720,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 198,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1721,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1722,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 1723,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2076,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1724,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1725,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 199,
+ "character": 156
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1726,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 199,
+ "character": 156
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1727,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2083,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1718,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimePostgresChangesPayload",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1728,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 200,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1729,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1730,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 200,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1731,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 201,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1732,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1733,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 1734,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2076,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1735,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1736,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 202,
+ "character": 159
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1737,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 202,
+ "character": 159
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1738,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2088,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1729,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1739,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 203,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1740,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1741,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 203,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1742,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 204,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1743,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1744,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 1745,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2076,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1746,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1747,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 205,
+ "character": 159
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1748,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 205,
+ "character": 159
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1749,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2098,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1740,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1750,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 206,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1751,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1752,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 206,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1753,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 207,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1754,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1755,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 1756,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2076,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1757,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1758,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 208,
+ "character": 159
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1759,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 208,
+ "character": 159
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1760,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2107,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1751,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1761,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The following is placed here to display on supabase.com/docs/reference/javascript/subscribe."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 215,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1762,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "One of \"broadcast\", \"presence\", or \"postgres_changes\"."
+ }
+ ]
+ },
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ },
+ {
+ "id": 1763,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Custom object specific to the Realtime feature detailing which payloads to receive."
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1764,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1765,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 216,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1765]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 215,
+ "character": 59
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1766,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Function to be invoked when event handler is triggered."
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1767,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 217,
+ "character": 17
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1768,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 217,
+ "character": 17
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1769,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1770,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1772,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 219,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1773,
+ "name": "meta",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 220,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1774,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1776,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 222,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1775,
+ "name": "replayed",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 221,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1776, 1775]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 220,
+ "character": 15
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1771,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 218,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1772, 1773, 1771]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 217,
+ "character": 27
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1777,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 224,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1778,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1779,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 226,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1780,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1781,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 226,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1782,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 227,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1783,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1784,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ },
+ {
+ "id": 1785,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1786,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1787,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 229,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1787]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 228,
+ "character": 59
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1788,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1789,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 230,
+ "character": 17
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1790,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 230,
+ "character": 17
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1791,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1792,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1794,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 232,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1795,
+ "name": "meta",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 233,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1796,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1798,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 235,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1797,
+ "name": "replayed",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 234,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1798, 1797]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 233,
+ "character": 15
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1799,
+ "name": "payload",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 237,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1780,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "id": 1793,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 231,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1794, 1795, 1799, 1793]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 230,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1800,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 239,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1801,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Record"
+ },
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record",
+ "package": "typescript"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1802,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ },
+ {
+ "id": 1803,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1804,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1805,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 240,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2153,
+ "name": "ALL",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.ALL"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1805]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 239,
+ "character": 94
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1806,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1807,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 241,
+ "character": 17
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1808,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 241,
+ "character": 17
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1809,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1810,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1812,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2153,
+ "name": "ALL",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.ALL"
+ }
+ },
+ {
+ "id": 1813,
+ "name": "payload",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 244,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeChannel.ts",
+ "qualifiedName": "RealtimeBroadcastPayload"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1801,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimeBroadcastPayload",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1811,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 242,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1812, 1813, 1811]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 241,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1814,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 246,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1815,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1816,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 246,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1817,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 247,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1818,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1819,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ },
+ {
+ "id": 1820,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1821,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1822,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 249,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2154,
+ "name": "INSERT",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1822]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 248,
+ "character": 59
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1823,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1824,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 250,
+ "character": 17
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1825,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 250,
+ "character": 17
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1826,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1827,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1829,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 252,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2154,
+ "name": "INSERT",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
+ }
+ },
+ {
+ "id": 1830,
+ "name": "payload",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 253,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeChannel.ts",
+ "qualifiedName": "RealtimeBroadcastInsertPayload"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1815,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimeBroadcastInsertPayload",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1828,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 251,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1829, 1830, 1828]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 250,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1831,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 255,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1832,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1833,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 255,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1834,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 256,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1835,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1836,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ },
+ {
+ "id": 1837,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1838,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1839,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 258,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2155,
+ "name": "UPDATE",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1839]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 257,
+ "character": 59
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1840,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1841,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 259,
+ "character": 17
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1842,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 259,
+ "character": 17
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1843,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1844,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1846,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 261,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2155,
+ "name": "UPDATE",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
+ }
+ },
+ {
+ "id": 1847,
+ "name": "payload",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 262,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeChannel.ts",
+ "qualifiedName": "RealtimeBroadcastUpdatePayload"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1832,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimeBroadcastUpdatePayload",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1845,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 260,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1846, 1847, 1845]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 259,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1848,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 264,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1849,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1850,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 264,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1851,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 265,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1852,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1853,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ },
+ {
+ "id": 1854,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1855,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1856,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 267,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2156,
+ "name": "DELETE",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1856]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 266,
+ "character": 59
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1857,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1858,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 268,
+ "character": 17
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1859,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 268,
+ "character": 17
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1860,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1861,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1863,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 270,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2156,
+ "name": "DELETE",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
+ }
+ },
+ {
+ "id": 1864,
+ "name": "payload",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 271,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeChannel.ts",
+ "qualifiedName": "RealtimeBroadcastDeletePayload"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1849,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimeBroadcastDeletePayload",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1862,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 269,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1863, 1864, 1862]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 268,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1865,
+ "name": "on",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates an event handler that listens to changes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 273,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1866,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1867,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 273,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1868,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 274,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1869,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1870,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "system"
+ }
+ },
+ {
+ "id": 1871,
+ "name": "filter",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1872,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ },
+ {
+ "id": 1873,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1874,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 275,
+ "character": 70
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1875,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 275,
+ "character": 70
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1876,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1659,
+ "name": "presenceState",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 170,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1660,
+ "name": "presenceState",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 170,
+ "character": 4
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1661,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1662,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 170,
+ "character": 28
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1663,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 171,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1664,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "default": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1665,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {}
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2137,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1661,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimePresenceState",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1890,
+ "name": "send",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 305,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1891,
+ "name": "send",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Sends a message into the channel."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 305,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1892,
+ "name": "args",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Arguments to send to channel"
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1893,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1895,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The name of the event being sent"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 307,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1896,
+ "name": "payload",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Payload to be sent"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 308,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 1894,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The type of event to send"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 306,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "broadcast"
+ },
+ {
+ "type": "literal",
+ "value": "presence"
+ },
+ {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1895, 1896, 1894]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 305,
+ "character": 15
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1897,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 309,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1898,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1899,
+ "name": "opts",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Options to be used during the send process"
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1900,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 310,
+ "character": 14
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1901,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 311,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1902,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1928,
+ "name": "RealtimeChannelSendResponse",
+ "package": "@supabase/realtime-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1651,
+ "name": "subscribe",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 169,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1652,
+ "name": "subscribe",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Subscribe registers your client with the server"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 169,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1653,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1654,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 169,
+ "character": 25
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1655,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 169,
+ "character": 25
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1656,
+ "name": "status",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2161,
+ "name": "REALTIME_SUBSCRIBE_STATES",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1657,
+ "name": "err",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Error"
+ },
+ "name": "Error",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1658,
+ "name": "timeout",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1912,
+ "name": "teardown",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 331,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1913,
+ "name": "teardown",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Teardown the channel.\n\nDestroys and stops related timers."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 331,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1666,
+ "name": "track",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 173,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1667,
+ "name": "track",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 173,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1668,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1669,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 173,
+ "character": 19
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1670,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 174,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1671,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1672,
+ "name": "opts",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1673,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 175,
+ "character": 14
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1674,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 176,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1675,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1928,
+ "name": "RealtimeChannelSendResponse",
+ "package": "@supabase/realtime-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1909,
+ "name": "unsubscribe",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 325,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1910,
+ "name": "unsubscribe",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Leaves the channel.\n\nUnsubscribes from server events, and instructs channel to terminate on server.\nTriggers onClose() hooks.\n\nTo receive leave acknowledgements, use the a "
+ },
+ {
+ "kind": "code",
+ "text": "`receive`"
+ },
+ {
+ "kind": "text",
+ "text": " hook to bind to the server ack, ie:\nchannel.unsubscribe().receive(\"ok\", () => alert(\"left!\") )"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 325,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1911,
+ "name": "timeout",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1676,
+ "name": "untrack",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 178,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1677,
+ "name": "untrack",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 178,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1678,
+ "name": "opts",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1679,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 178,
+ "character": 19
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1680,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 179,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1681,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1928,
+ "name": "RealtimeChannelSendResponse",
+ "package": "@supabase/realtime-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1903,
+ "name": "updateJoinPayload",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 313,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1904,
+ "name": "updateJoinPayload",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 313,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1905,
+ "name": "payload",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1906,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 313,
+ "character": 31
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1907,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 314,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1908,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [1621]
+ },
+ {
+ "title": "Properties",
+ "children": [
+ 1629, 1648, 1643, 1644, 1627, 1647, 1650, 1646, 1645, 1628, 1642, 1649, 1641, 1626
+ ]
+ },
+ {
+ "title": "Methods",
+ "children": [1877, 1682, 1659, 1890, 1651, 1912, 1666, 1909, 1676, 1903]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 140,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 1929,
+ "name": "RealtimeClient",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "children": [
+ {
+ "id": 1930,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 119,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1931,
+ "name": "RealtimeClient",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Initializes the Socket."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 119,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1932,
+ "name": "endPoint",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1933,
+ "name": "options",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": 2039,
+ "name": "RealtimeClientOptions",
+ "package": "@supabase/realtime-js",
+ "highlightedProperties": {
+ "transport": [
+ {
+ "kind": "text",
+ "text": "The Websocket Transport, for example WebSocket. This can be a custom implementation"
+ }
+ ],
+ "timeout": [
+ {
+ "kind": "text",
+ "text": "The default timeout in milliseconds to trigger push timeouts."
+ }
+ ],
+ "params": [
+ {
+ "kind": "text",
+ "text": "The optional params to pass when connecting."
+ }
+ ],
+ "headers": [
+ {
+ "kind": "text",
+ "text": "Deprecated: headers cannot be set on websocket connections and this option will be removed in the future."
+ }
+ ],
+ "heartbeatIntervalMs": [
+ {
+ "kind": "text",
+ "text": "The millisec interval to send a heartbeat message."
+ }
+ ],
+ "heartbeatCallback": [
+ {
+ "kind": "text",
+ "text": "The optional function to handle heartbeat status."
+ }
+ ],
+ "logger": [
+ {
+ "kind": "text",
+ "text": "The optional function for specialized logging, ie: logger: (kind, msg, data) => { console.log("
+ },
+ {
+ "kind": "code",
+ "text": "`${kind}: ${msg}`"
+ },
+ {
+ "kind": "text",
+ "text": ", data) }"
+ }
+ ],
+ "logLevel": [
+ {
+ "kind": "text",
+ "text": "Sets the log level for Realtime"
+ }
+ ],
+ "encode": [
+ {
+ "kind": "text",
+ "text": "The function to encode outgoing messages. Defaults to JSON: (payload, callback) => callback(JSON.stringify(payload))"
+ }
+ ],
+ "decode": [
+ {
+ "kind": "text",
+ "text": "The function to decode incoming messages. Defaults to Serializer's decode."
+ }
+ ],
+ "reconnectAfterMs": [
+ {
+ "kind": "text",
+ "text": "he optional function that returns the millsec reconnect interval. Defaults to stepped backoff off."
+ }
+ ],
+ "worker": [
+ {
+ "kind": "text",
+ "text": "Use Web Worker to set a side flow. Defaults to false."
+ }
+ ],
+ "workerUrl": [
+ {
+ "kind": "text",
+ "text": "The URL of the worker script. Defaults to https://realtime.supabase.com/worker.js that includes a heartbeat event call to keep the connection alive."
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1929,
+ "name": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1981,
+ "name": "accessToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 93,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1982,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 93,
+ "character": 18
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1983,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 93,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 1934,
+ "name": "accessTokenValue",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 57,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1935,
+ "name": "apiKey",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 58,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1936,
+ "name": "channels",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 59,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ }
+ },
+ {
+ "id": 1964,
+ "name": "conn",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 83,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "target": 2183,
+ "name": "WebSocketLike",
+ "package": "@supabase/realtime-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1962,
+ "name": "decode",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 81,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1961,
+ "name": "encode",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 80,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1937,
+ "name": "endPoint",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 60,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1973,
+ "name": "fetch",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 92,
+ "character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 511,
+ "id": 1974,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"sources": [
{
"fileName": "node_modules/typescript/lib/lib.dom.d.ts",
- "line": 18044,
+ "line": 29329,
"character": 17
+ },
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 289,
+ "character": 13
}
],
"signatures": [
{
- "id": 512,
+ "id": 1975,
"name": "__type",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 29329,
+ "character": 17
+ }
+ ],
"parameters": [
{
- "id": 513,
+ "id": 1976,
"name": "input",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInfo"
+ },
"name": "RequestInfo",
- "qualifiedName": "RequestInfo",
"package": "typescript"
},
{
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
"name": "URL",
- "qualifiedName": "URL",
"package": "typescript"
}
]
}
},
{
- "id": 514,
+ "id": 1977,
"name": "init",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInit"
+ },
"name": "RequestInit",
- "qualifiedName": "RequestInit",
"package": "typescript"
}
}
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Response"
+ },
+ "name": "Response",
+ "package": "typescript"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1978,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 289,
+ "character": 13
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1979,
+ "name": "input",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Request"
+ },
+ "name": "Request",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1980,
+ "name": "init",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInit"
+ },
+ "name": "RequestInit",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Response"
+ },
"name": "Response",
- "qualifiedName": "Response",
"package": "typescript"
}
],
"name": "Promise",
- "qualifiedName": "Promise",
"package": "typescript"
}
}
@@ -17798,95 +19634,216 @@
}
},
{
- "id": 505,
+ "id": 1939,
"name": "headers",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
- "isProtected": true
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [],
+ "blockTags": [
+ {
+ "tag": "@deprecated",
+ "content": [
+ {
+ "kind": "text",
+ "text": "headers cannot be set on websocket connections"
+ }
+ ]
+ }
+ ]
},
"sources": [
{
- "fileName": "src/PostgrestBuilder.ts",
- "line": 10,
- "character": 12,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L10"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 63,
+ "character": 4
}
],
"type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Record",
- "qualifiedName": "Record",
- "package": "typescript"
+ "type": "reflection",
+ "declaration": {
+ "id": 1940,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 63,
+ "character": 14
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1941,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 64,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1942,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
}
},
{
- "id": 503,
- "name": "method",
+ "id": 1952,
+ "name": "heartbeatCallback",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
+ "flags": {},
"sources": [
{
- "fileName": "src/PostgrestBuilder.ts",
- "line": 8,
- "character": 12,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L8"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 74,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1953,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 74,
+ "character": 23
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1954,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 74,
+ "character": 23
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1955,
+ "name": "status",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeClient.ts",
+ "qualifiedName": "HeartbeatStatus"
+ },
+ "name": "HeartbeatStatus",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1949,
+ "name": "heartbeatIntervalMs",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 71,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1950,
+ "name": "heartbeatTimer",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 72,
+ "character": 4
}
],
"type": {
"type": "union",
"types": [
{
- "type": "literal",
- "value": "GET"
+ "type": "intrinsic",
+ "name": "undefined"
},
{
- "type": "literal",
- "value": "HEAD"
- },
- {
- "type": "literal",
- "value": "POST"
- },
- {
- "type": "literal",
- "value": "PATCH"
- },
- {
- "type": "literal",
- "value": "DELETE"
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/@types/node/timers.d.ts",
+ "qualifiedName": "__global.NodeJS.Timeout"
+ },
+ "name": "Timeout",
+ "package": "@types/node",
+ "qualifiedName": "__global.NodeJS.Timeout"
}
]
}
},
{
- "id": 506,
- "name": "schema",
+ "id": 1938,
+ "name": "httpEndpoint",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
+ "flags": {},
"sources": [
{
- "fileName": "src/PostgrestBuilder.ts",
- "line": 11,
- "character": 12,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L11"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 61,
+ "character": 4
}
],
"type": {
@@ -17895,379 +19852,1597 @@
}
},
{
- "id": 508,
- "name": "shouldThrowOnError",
+ "id": 1959,
+ "name": "logger",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 78,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1960,
+ "name": "logLevel",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
- "isProtected": true
+ "isOptional": true
},
"sources": [
{
- "fileName": "src/PostgrestBuilder.ts",
- "line": 13,
- "character": 12,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L13"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 79,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeClient.ts",
+ "qualifiedName": "LogLevel"
+ },
+ "name": "LogLevel",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1943,
+ "name": "params",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 66,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1944,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 66,
+ "character": 13
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1945,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 67,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1946,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1951,
+ "name": "pendingHeartbeatRef",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 73,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1963,
+ "name": "reconnectAfterMs",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 82,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1957,
+ "name": "reconnectTimer",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 76,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/lib/timer.ts",
+ "qualifiedName": "default"
+ },
+ "name": "Timer",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1956,
+ "name": "ref",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 75,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1965,
+ "name": "sendBuffer",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 84,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ }
+ },
+ {
+ "id": 1966,
+ "name": "serializer",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 85,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/lib/serializer.ts",
+ "qualifiedName": "default"
+ },
+ "name": "Serializer",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1967,
+ "name": "stateChangeCallbacks",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 86,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1968,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1970,
+ "name": "close",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 88,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ }
+ },
+ {
+ "id": 1971,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 89,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ }
+ },
+ {
+ "id": 1972,
+ "name": "message",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 90,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ }
+ },
+ {
+ "id": 1969,
+ "name": "open",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 87,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1970, 1971, 1972, 1969]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 86,
+ "character": 26
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1947,
+ "name": "timeout",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 69,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1948,
+ "name": "transport",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 70,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "target": 2233,
+ "name": "WebSocketLikeConstructor",
+ "package": "@supabase/realtime-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1958,
+ "name": "vsn",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 77,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1984,
+ "name": "worker",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 94,
+ "character": 4
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
- },
- "defaultValue": "false"
+ }
},
{
- "id": 509,
- "name": "signal",
+ "id": 1986,
+ "name": "workerRef",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
- "isProtected": true,
"isOptional": true
},
"sources": [
{
- "fileName": "src/PostgrestBuilder.ts",
- "line": 14,
- "character": 12,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L14"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 96,
+ "character": 4
}
],
"type": {
"type": "reference",
- "name": "AbortSignal",
- "qualifiedName": "AbortSignal",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Worker"
+ },
+ "name": "Worker",
"package": "typescript"
}
},
{
- "id": 504,
- "name": "url",
+ "id": 1985,
+ "name": "workerUrl",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
- "isProtected": true
+ "isOptional": true
},
"sources": [
{
- "fileName": "src/PostgrestBuilder.ts",
- "line": 9,
- "character": 12,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L9"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 95,
+ "character": 4
}
],
"type": {
- "type": "reference",
- "name": "URL",
- "qualifiedName": "URL",
- "package": "typescript"
+ "type": "intrinsic",
+ "name": "string"
}
},
{
- "id": 518,
- "name": "then",
+ "id": 2018,
+ "name": "channel",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/PostgrestBuilder.ts",
- "line": 48,
- "character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L48"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 171,
+ "character": 4
}
],
"signatures": [
{
- "id": 519,
- "name": "then",
+ "id": 2019,
+ "name": "channel",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
- "typeParameter": [
+ "sources": [
{
- "id": 520,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "id": 531,
- "typeArguments": [
- {
- "type": "reference",
- "id": 501,
- "name": "Result"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "id": 521,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 171,
+ "character": 4
}
],
"parameters": [
{
- "id": 522,
- "name": "onfulfilled",
+ "id": 2020,
+ "name": "topic",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 523,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 50,
- "character": 9,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L50"
- }
- ],
- "signatures": [
- {
- "id": 524,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 525,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 531,
- "typeArguments": [
- {
- "type": "reference",
- "id": 501,
- "name": "Result"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 388,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 388,
- "name": "TResult1"
- }
- ],
- "name": "PromiseLike",
- "qualifiedName": "PromiseLike",
- "package": "typescript"
- }
- ]
- }
- }
- ]
- }
- }
- ]
+ "type": "intrinsic",
+ "name": "string"
}
},
{
- "id": 526,
- "name": "onrejected",
+ "id": 2021,
+ "name": "params",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 527,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 53,
- "character": 18,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L53"
- }
- ],
- "signatures": [
- {
- "id": 528,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 529,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 389,
- "name": "TResult2"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 389,
- "name": "TResult2"
- }
- ],
- "name": "PromiseLike",
- "qualifiedName": "PromiseLike",
- "package": "typescript"
- }
- ]
- }
- }
- ]
- }
- }
- ]
+ "type": "reference",
+ "target": 1914,
+ "name": "RealtimeChannelOptions",
+ "package": "@supabase/realtime-js"
}
}
],
"type": {
"type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 388,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "id": 389,
- "name": "TResult2"
- }
- ]
- }
- ],
- "name": "PromiseLike",
- "qualifiedName": "PromiseLike",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "name": "PromiseLike.then"
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
}
}
- ],
- "implementationOf": {
- "type": "reference",
- "name": "PromiseLike.then"
- }
+ ]
},
{
- "id": 516,
- "name": "throwOnError",
+ "id": 1990,
+ "name": "connect",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/PostgrestBuilder.ts",
- "line": 43,
- "character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L43"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 123,
+ "character": 4
}
],
"signatures": [
{
- "id": 517,
- "name": "throwOnError",
+ "id": 1991,
+ "name": "connect",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
- "text": "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.\n\n"
- },
- {
- "kind": "inline-tag",
- "tag": "@link",
- "text": "https://github.com/supabase/supabase-js/issues/92",
- "target": "https://github.com/supabase/supabase-js/issues/92"
+ "text": "Connects the socket, unless already connected."
}
]
},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 123,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2010,
+ "name": "connectionState",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 158,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2011,
+ "name": "connectionState",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Returns the current state of the socket."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 158,
+ "character": 4
+ }
+ ],
"type": {
"type": "reference",
- "id": 498,
+ "target": {
+ "sourceFileName": "../realtime-js/src/lib/constants.ts",
+ "qualifiedName": "CONNECTION_STATE"
+ },
+ "name": "CONNECTION_STATE",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1994,
+ "name": "disconnect",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 135,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1995,
+ "name": "disconnect",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Disconnects the socket."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 135,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1996,
+ "name": "code",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A numeric status code to send on disconnect."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1997,
+ "name": "reason",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A custom reason for the disconnect."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1992,
+ "name": "endpointURL",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 128,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1993,
+ "name": "endpointURL",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Returns the URL of the websocket."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@returns",
+ "content": [
+ {
+ "kind": "text",
+ "text": "string The URL of the websocket."
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 128,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2036,
+ "name": "flushSendBuffer",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 196,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2037,
+ "name": "flushSendBuffer",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Flushes send buffer"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 196,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1998,
+ "name": "getChannels",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 139,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1999,
+ "name": "getChannels",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Returns all created channels"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 139,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 2012,
+ "name": "isConnected",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 162,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2013,
+ "name": "isConnected",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Returns "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": " is the connection is open."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 162,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2014,
+ "name": "isConnecting",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 166,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2015,
+ "name": "isConnecting",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Returns "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": " if the connection is currently connecting."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 166,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2016,
+ "name": "isDisconnecting",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 170,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2017,
+ "name": "isDisconnecting",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Returns "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": " if the connection is currently disconnecting."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 170,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2005,
+ "name": "log",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 154,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2006,
+ "name": "log",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Logs the message.\n\nFor customized logging, "
+ },
+ {
+ "kind": "code",
+ "text": "`this.logger`"
+ },
+ {
+ "kind": "text",
+ "text": " can be overridden."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 154,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2007,
+ "name": "kind",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2008,
+ "name": "msg",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2009,
+ "name": "data",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2030,
+ "name": "onHeartbeat",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 192,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2031,
+ "name": "onHeartbeat",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 192,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2032,
+ "name": "callback",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2033,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 192,
+ "character": 26
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2034,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 192,
+ "character": 26
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2035,
+ "name": "status",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeClient.ts",
+ "qualifiedName": "HeartbeatStatus"
+ },
+ "name": "HeartbeatStatus",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2022,
+ "name": "push",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 177,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2023,
+ "name": "push",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Push out a message if the socket is connected.\n\nIf the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 177,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2024,
+ "name": "data",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2069,
+ "name": "RealtimeMessage",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2003,
+ "name": "removeAllChannels",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 148,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2004,
+ "name": "removeAllChannels",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Unsubscribes and removes all channels"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 148,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 2146,
+ "name": "RealtimeRemoveChannelResponse",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2000,
+ "name": "removeChannel",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 144,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2001,
+ "name": "removeChannel",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Unsubscribes and removes a single channel"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 144,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2002,
+ "name": "channel",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A RealtimeChannel instance"
+ }
+ ]
+ },
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
"type": "reference",
- "id": 501,
- "name": "Result"
+ "target": 2146,
+ "name": "RealtimeRemoveChannelResponse",
+ "package": "@supabase/realtime-js"
}
],
- "name": "default"
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2028,
+ "name": "sendHeartbeat",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 191,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2029,
+ "name": "sendHeartbeat",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Sends a heartbeat message if the socket is connected."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 191,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2025,
+ "name": "setAuth",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 187,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2026,
+ "name": "setAuth",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Sets the JWT access token used for channel subscription authorization and Realtime RLS.\n\nIf param is null it will use the "
+ },
+ {
+ "kind": "code",
+ "text": "`accessToken`"
+ },
+ {
+ "kind": "text",
+ "text": " callback function or the token set on the client.\n\nOn callback used, it will set the value of the token internal to the client."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 187,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2027,
+ "name": "token",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A JWT string to override the token set on the client."
+ }
+ ]
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
}
}
]
@@ -18276,114 +21451,463 @@
"groups": [
{
"title": "Constructors",
- "children": [499]
+ "children": [1930]
},
{
"title": "Properties",
- "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
+ "children": [
+ 1981, 1934, 1935, 1936, 1964, 1962, 1961, 1937, 1973, 1939, 1952, 1949, 1950, 1938,
+ 1959, 1960, 1943, 1951, 1963, 1957, 1956, 1965, 1966, 1967, 1947, 1948, 1958, 1984,
+ 1986, 1985
+ ]
},
{
"title": "Methods",
- "children": [518, 516]
+ "children": [
+ 2018, 1990, 2010, 1994, 1992, 2036, 1998, 2012, 2014, 2016, 2005, 2030, 2022, 2003,
+ 2000, 2028, 2025
+ ]
}
],
"sources": [
{
- "fileName": "src/PostgrestBuilder.ts",
- "line": 5,
- "character": 30,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L5"
- }
- ],
- "typeParameters": [
- {
- "id": 530,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 401,
- "name": "PostgrestTransformBuilder"
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 531,
- "typeArguments": [
- {
- "type": "reference",
- "id": 501,
- "name": "Result"
- }
- ],
- "name": "PostgrestResponse"
- }
- ],
- "name": "PromiseLike",
- "qualifiedName": "PromiseLike",
- "package": "typescript"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 56,
+ "character": 21
}
]
},
{
- "id": 1,
- "name": "PostgrestClient",
+ "id": 1603,
+ "name": "RealtimePresence",
+ "variant": "declaration",
"kind": 128,
- "kindString": "Class",
"flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "PostgREST client."
- }
- ]
- },
"children": [
{
- "id": 2,
+ "id": 1604,
"name": "constructor",
+ "variant": "declaration",
"kind": 512,
- "kindString": "Constructor",
"flags": {},
"sources": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 41,
- "character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L41"
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 65,
+ "character": 4
}
],
"signatures": [
{
- "id": 3,
- "name": "new PostgrestClient",
+ "id": 1605,
+ "name": "RealtimePresence",
+ "variant": "signature",
"kind": 16384,
- "kindString": "Constructor signature",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
- "text": "Creates a PostgREST client."
+ "text": "Initializes the Presence."
}
]
},
- "typeParameter": [
+ "sources": [
{
- "id": 4,
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 65,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1606,
+ "name": "channel",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The RealtimeChannel"
+ }
+ ]
+ },
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1607,
+ "name": "opts",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The options,\n for example "
+ },
+ {
+ "kind": "code",
+ "text": "`{events: {state: 'state', diff: 'diff'}}`"
+ }
+ ]
+ },
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/@types/phoenix/index.d.ts",
+ "qualifiedName": "PresenceOpts"
+ },
+ "name": "PresenceOpts",
+ "package": "@types/phoenix"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1603,
+ "name": "RealtimePresence",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1613,
+ "name": "caller",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 53,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1614,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1615,
+ "name": "onJoin",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 54,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/@types/phoenix/index.d.ts",
+ "qualifiedName": "PresenceOnJoinCallback"
+ },
+ "name": "PresenceOnJoinCallback",
+ "package": "@types/phoenix"
+ }
+ },
+ {
+ "id": 1616,
+ "name": "onLeave",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 55,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/@types/phoenix/index.d.ts",
+ "qualifiedName": "PresenceOnLeaveCallback"
+ },
+ "name": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix"
+ }
+ },
+ {
+ "id": 1617,
+ "name": "onSync",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1618,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 56,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1619,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 56,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1615, 1616, 1617]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 53,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1608,
+ "name": "channel",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 48,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 1612,
+ "name": "enabled",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 52,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 1611,
+ "name": "joinRef",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 51,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1610,
+ "name": "pendingDiffs",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 50,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimePresence.ts",
+ "qualifiedName": "RawPresenceDiff"
+ },
+ "name": "RawPresenceDiff",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ },
+ {
+ "id": 1609,
+ "name": "state",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 49,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2137,
+ "name": "RealtimePresenceState",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [1604]
+ },
+ {
+ "title": "Properties",
+ "children": [1613, 1608, 1612, 1611, 1610, 1609]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 47,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 113,
+ "name": "SupabaseClient",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Supabase Client.\n\nAn isomorphic Javascript client for interacting with Postgres."
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 114,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 105,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L105"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 115,
+ "name": "SupabaseClient",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Create a new client for use in the browser."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 105,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L105"
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 116,
"name": "Database",
+ "variant": "typeParam",
"kind": 131072,
- "kindString": "Type parameter",
"flags": {},
"default": {
"type": "intrinsic",
@@ -18391,14 +21915,64 @@
}
},
{
- "id": 5,
- "name": "SchemaName",
+ "id": 117,
+ "name": "SchemaNameOrClientOptions",
+ "variant": "typeParam",
"kind": 131072,
- "kindString": "Type parameter",
"flags": {},
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 118,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 119,
+ "name": "PostgrestVersion",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 44,
+ "character": 8,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L44"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [119]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 44,
+ "character": 6,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L44"
+ }
+ ]
+ }
+ }
+ ]
},
"default": {
"type": "conditional",
@@ -18407,13 +21981,31 @@
"value": "public"
},
"extendsType": {
- "type": "typeOperator",
- "operator": "keyof",
+ "type": "reference",
"target": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
},
"trueType": {
"type": "literal",
@@ -18427,27 +22019,215 @@
"name": "string"
},
{
- "type": "typeOperator",
- "operator": "keyof",
+ "type": "reference",
"target": {
- "type": "reference",
- "id": 4,
- "name": "Database"
- }
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
}
]
}
}
},
{
- "id": 6,
+ "id": 120,
+ "name": "SchemaName",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 117,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
+ }
+ ]
+ },
+ "trueType": {
+ "type": "reference",
+ "target": 117,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 117,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
+ },
+ "falseType": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 121,
"name": "Schema",
+ "variant": "typeParam",
"kind": 131072,
- "kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "GenericSchema"
+ "target": {
+ "sourceFileName": "src/lib/rest/types/common/common.ts",
+ "qualifiedName": "GenericSchema"
+ },
+ "name": "GenericSchema",
+ "package": "@supabase/supabase-js"
},
"default": {
"type": "conditional",
@@ -18455,18 +22235,44 @@
"type": "indexedAccess",
"indexType": {
"type": "reference",
- "id": 5,
- "name": "SchemaName"
+ "target": 120,
+ "name": "SchemaName",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaName",
+ "refersToTypeParameter": true
},
"objectType": {
"type": "reference",
- "id": 4,
- "name": "Database"
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
}
},
"extendsType": {
"type": "reference",
- "name": "GenericSchema"
+ "target": {
+ "sourceFileName": "src/lib/rest/types/common/common.ts",
+ "qualifiedName": "GenericSchema"
+ },
+ "name": "GenericSchema",
+ "package": "@supabase/supabase-js"
},
"trueType": {
"type": "indexedAccess",
@@ -18481,23 +22287,367 @@
},
"falseType": {
"type": "intrinsic",
- "name": "any"
+ "name": "never"
+ }
+ }
+ },
+ {
+ "id": 122,
+ "name": "ClientOptions",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 123,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "PostgrestVersion",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 59,
+ "character": 26,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L59"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [124]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 59,
+ "character": 24,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L59"
+ }
+ ]
+ }
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 117,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
+ }
+ ]
+ },
+ "trueType": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 125,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 126,
+ "name": "__InternalSupabase",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 62,
+ "character": 25,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L62"
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 127,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 128,
+ "name": "PostgrestVersion",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 62,
+ "character": 47,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L62"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [128]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 62,
+ "character": 45,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L62"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [126]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 62,
+ "character": 23,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L62"
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": 116,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ }
+ },
+ "falseType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 130,
+ "name": "PostgrestVersion",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 65,
+ "character": 10,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L65"
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "12"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [130]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 65,
+ "character": 8,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L65"
+ }
+ ]
+ }
+ }
+ },
+ "falseType": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 117,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 131,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 132,
+ "name": "PostgrestVersion",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 66,
+ "character": 42,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L66"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [132]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 66,
+ "character": 40,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L66"
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "target": 117,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 117,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
}
}
}
],
"parameters": [
{
- "id": 7,
- "name": "url",
+ "id": 133,
+ "name": "supabaseUrl",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
- "text": "URL of the PostgREST endpoint"
+ "text": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
}
]
},
@@ -18507,342 +22657,186 @@
}
},
{
- "id": 8,
- "name": "options",
+ "id": 134,
+ "name": "supabaseKey",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
- "text": "Named parameters"
+ "text": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
}
]
},
- "originalName": "__namedParameters",
"type": {
- "type": "reflection",
- "declaration": {
- "id": 9,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 135,
+ "name": "options",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": 243,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 120,
+ "name": "SchemaName",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaName",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "SupabaseClientOptions",
+ "package": "@supabase/supabase-js",
+ "highlightedProperties": {
+ "realtime": [
{
- "id": 12,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 50,
- "character": 6,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L50"
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 13,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
- "line": 18044,
- "character": 17
- }
- ],
- "signatures": [
- {
- "id": 14,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Custom fetch"
- }
- ]
- },
- "parameters": [
- {
- "id": 15,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "RequestInfo",
- "qualifiedName": "RequestInfo",
- "package": "typescript"
- },
- {
- "type": "reference",
- "name": "URL",
- "qualifiedName": "URL",
- "package": "typescript"
- }
- ]
- }
- },
- {
- "id": 16,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "name": "RequestInit",
- "qualifiedName": "RequestInit",
- "package": "typescript"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "name": "Response",
- "qualifiedName": "Response",
- "package": "typescript"
- }
- ],
- "name": "Promise",
- "qualifiedName": "Promise",
- "package": "typescript"
- }
- }
- ]
- }
- }
- },
- {
- "id": 10,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Custom headers"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 48,
- "character": 6,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L48"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Record",
- "qualifiedName": "Record",
- "package": "typescript"
- }
- },
- {
- "id": 11,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Postgres schema to switch to"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 49,
- "character": 6,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L49"
- }
- ],
- "type": {
- "type": "reference",
- "id": 5,
- "name": "SchemaName"
- }
+ "kind": "text",
+ "text": "Options passed along to realtime-js constructor."
}
],
- "groups": [
+ "storage": [
{
- "title": "Properties",
- "children": [12, 10, 11]
- }
- ],
- "sources": [
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 47,
- "character": 7,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L47"
+ "kind": "text",
+ "text": "Options passed along to the storage-js constructor."
}
]
}
- },
- "defaultValue": "{}"
+ }
}
],
"type": {
"type": "reference",
- "id": 1,
+ "target": 113,
"typeArguments": [
{
"type": "reference",
- "id": 4,
- "name": "Database"
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
},
{
"type": "reference",
- "id": 5,
- "name": "SchemaName"
+ "target": 117,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
},
{
"type": "reference",
- "id": 6,
- "name": "Schema"
+ "target": 120,
+ "name": "SchemaName",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaName",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 121,
+ "name": "Schema",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Schema",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 122,
+ "name": "ClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.ClientOptions",
+ "refersToTypeParameter": true
}
],
- "name": "default"
+ "name": "SupabaseClient",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default"
}
}
]
},
{
- "id": 20,
- "name": "fetch",
+ "id": 154,
+ "name": "accessToken",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
+ "isProtected": true,
"isOptional": true
},
"sources": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 29,
- "character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L29"
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 88,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L88"
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 21,
+ "id": 155,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"sources": [
{
- "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
- "line": 18044,
- "character": 17
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 88,
+ "character": 26,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L88"
}
],
"signatures": [
{
- "id": 22,
+ "id": 156,
"name": "__type",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
- "parameters": [
+ "sources": [
{
- "id": 23,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "RequestInfo",
- "qualifiedName": "RequestInfo",
- "package": "typescript"
- },
- {
- "type": "reference",
- "name": "URL",
- "qualifiedName": "URL",
- "package": "typescript"
- }
- ]
- }
- },
- {
- "id": 24,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "name": "RequestInit",
- "qualifiedName": "RequestInit",
- "package": "typescript"
- }
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 88,
+ "character": 26,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L88"
}
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
"typeArguments": [
{
- "type": "reference",
- "name": "Response",
- "qualifiedName": "Response",
- "package": "typescript"
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
],
"name": "Promise",
- "qualifiedName": "Promise",
"package": "typescript"
}
}
@@ -18851,21 +22845,363 @@
}
},
{
- "id": 18,
- "name": "headers",
+ "id": 136,
+ "name": "auth",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies."
+ }
+ ]
+ },
"sources": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 27,
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 73,
"character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L27"
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L73"
}
],
"type": {
"type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/SupabaseAuthClient.ts",
+ "qualifiedName": "SupabaseAuthClient"
+ },
+ "name": "SupabaseAuthClient",
+ "package": "@supabase/supabase-js"
+ }
+ },
+ {
+ "id": 140,
+ "name": "authUrl",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 81,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L81"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 153,
+ "name": "changedAccessToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 87,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L87"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 145,
+ "name": "fetch",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 86,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L86"
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 146,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 29329,
+ "character": 17
+ },
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 289,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 147,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 29329,
+ "character": 17
+ }
+ ],
+ "parameters": [
+ {
+ "id": 148,
+ "name": "input",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInfo"
+ },
+ "name": "RequestInfo",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 149,
+ "name": "init",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInit"
+ },
+ "name": "RequestInit",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Response"
+ },
+ "name": "Response",
+ "package": "typescript"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 150,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@types/node/globals.d.ts",
+ "line": 289,
+ "character": 13
+ }
+ ],
+ "parameters": [
+ {
+ "id": 151,
+ "name": "input",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Request"
+ },
+ "name": "Request",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 152,
+ "name": "init",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "RequestInit"
+ },
+ "name": "RequestInit",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Response"
+ },
+ "name": "Response",
+ "package": "typescript"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 142,
+ "name": "functionsUrl",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 83,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L83"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 157,
+ "name": "headers",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 90,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L90"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Record"
+ },
"typeArguments": [
{
"type": "intrinsic",
@@ -18877,44 +23213,156 @@
}
],
"name": "Record",
- "qualifiedName": "Record",
"package": "typescript"
}
},
{
- "id": 19,
- "name": "schema",
+ "id": 137,
+ "name": "realtime",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
+ "flags": {},
"sources": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 28,
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 74,
"character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L28"
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L74"
}
],
"type": {
"type": "reference",
- "id": 5,
- "name": "SchemaName"
+ "target": 1929,
+ "name": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
}
},
{
- "id": 17,
- "name": "url",
+ "id": 139,
+ "name": "realtimeUrl",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
- "flags": {},
+ "flags": {
+ "isProtected": true
+ },
"sources": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 26,
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 80,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L80"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 143,
+ "name": "rest",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 84,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L84"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../postgrest-js/src/PostgrestClient.ts",
+ "qualifiedName": "default"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 122,
+ "name": "ClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.ClientOptions",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 120,
+ "name": "SchemaName",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaName",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "PostgrestClient",
+ "package": "@supabase/postgrest-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 138,
+ "name": "storage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Supabase Storage allows you to manage user-generated content, such as photos or videos."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 78,
"character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L26"
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L78"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../storage-js/src/StorageClient.ts",
+ "qualifiedName": "StorageClient"
+ },
+ "name": "StorageClient",
+ "package": "@supabase/storage-js"
+ }
+ },
+ {
+ "id": 144,
+ "name": "storageKey",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 85,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L85"
}
],
"type": {
@@ -18923,128 +23371,293 @@
}
},
{
- "id": 25,
- "name": "from",
- "kind": 2048,
- "kindString": "Method",
+ "id": 141,
+ "name": "storageUrl",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 82,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L82"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 159,
+ "name": "supabaseKey",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 107,
+ "character": 14,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L107"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 158,
+ "name": "supabaseUrl",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isProtected": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 106,
+ "character": 14,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L106"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 160,
+ "name": "functions",
+ "variant": "declaration",
+ "kind": 262144,
"flags": {},
"sources": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 64,
- "character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L64"
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 187,
+ "character": 6,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L187"
+ }
+ ],
+ "getSignature": {
+ "id": 161,
+ "name": "functions",
+ "variant": "signature",
+ "kind": 524288,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Supabase Functions allows you to deploy and invoke edge functions."
+ }
+ ]
},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 187,
+ "character": 6,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L187"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../functions-js/src/FunctionsClient.ts",
+ "qualifiedName": "FunctionsClient"
+ },
+ "name": "FunctionsClient",
+ "package": "@supabase/functions-js"
+ }
+ }
+ },
+ {
+ "id": 187,
+ "name": "channel",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 68,
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 301,
"character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L68"
- },
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 71,
- "character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L71"
- },
- {
- "fileName": "src/PostgrestClient.ts",
- "line": 72,
- "character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L72"
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L301"
}
],
"signatures": [
{
- "id": 26,
- "name": "from",
+ "id": 188,
+ "name": "channel",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
- "text": "Perform a query on a table or a view."
+ "text": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes."
}
]
},
- "typeParameter": [
+ "sources": [
{
- "id": 27,
- "name": "TableName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 28,
- "name": "Table",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericTable"
- }
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 301,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L301"
}
],
"parameters": [
{
- "id": 29,
- "name": "relation",
+ "id": 189,
+ "name": "name",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
- "text": "The table or view name to query"
+ "text": "The name of the Realtime channel."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 190,
+ "name": "opts",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The options to pass to the Realtime channel."
}
]
},
"type": {
"type": "reference",
- "id": 27,
- "name": "TableName"
- }
+ "target": 1914,
+ "name": "RealtimeChannelOptions",
+ "package": "@supabase/realtime-js"
+ },
+ "defaultValue": "..."
}
],
"type": {
"type": "reference",
- "id": 49,
- "typeArguments": [
- {
- "type": "reference",
- "id": 6,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 28,
- "name": "Table"
- }
- ],
- "name": "default"
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
}
+ }
+ ]
+ },
+ {
+ "id": 162,
+ "name": "from",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Perform a query on a table or a view."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@param",
+ "name": "relation",
+ "content": [
+ {
+ "kind": "text",
+ "text": "The table or view name to query"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 195,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L195"
},
{
- "id": 30,
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 199,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L199"
+ },
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 207,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L207"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 163,
"name": "from",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
- "typeParameter": [
+ "sources": [
{
- "id": 31,
- "name": "ViewName",
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 195,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L195"
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 164,
+ "name": "TableName",
+ "variant": "typeParam",
"kind": 131072,
- "kindString": "Type parameter",
"flags": {},
"type": {
"type": "intrinsic",
@@ -19052,107 +23665,418 @@
}
},
{
- "id": 32,
- "name": "View",
+ "id": 165,
+ "name": "Table",
+ "variant": "typeParam",
"kind": 131072,
- "kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "GenericView"
+ "target": {
+ "sourceFileName": "src/lib/rest/types/common/common.ts",
+ "qualifiedName": "GenericTable"
+ },
+ "name": "GenericTable",
+ "package": "@supabase/supabase-js"
}
}
],
"parameters": [
{
- "id": 33,
+ "id": 166,
"name": "relation",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 31,
- "name": "ViewName"
+ "target": 164,
+ "name": "TableName",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
}
}
],
"type": {
"type": "reference",
- "id": 49,
+ "target": {
+ "sourceFileName": "../postgrest-js/src/PostgrestQueryBuilder.ts",
+ "qualifiedName": "default"
+ },
"typeArguments": [
{
"type": "reference",
- "id": 6,
- "name": "Schema"
+ "target": 122,
+ "name": "ClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.ClientOptions",
+ "refersToTypeParameter": true
},
{
"type": "reference",
- "id": 32,
- "name": "View"
+ "target": 121,
+ "name": "Schema",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Schema",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 165,
+ "name": "Table",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 164,
+ "name": "TableName",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
}
],
- "name": "default"
+ "name": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "qualifiedName": "default"
}
},
{
- "id": 34,
+ "id": 167,
"name": "from",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
- "parameters": [
+ "sources": [
{
- "id": 35,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 199,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L199"
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 168,
+ "name": "ViewName",
+ "variant": "typeParam",
+ "kind": 131072,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 169,
+ "name": "View",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/rest/types/common/common.ts",
+ "qualifiedName": "GenericView"
+ },
+ "name": "GenericView",
+ "package": "@supabase/supabase-js"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 170,
+ "name": "relation",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 168,
+ "name": "ViewName",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
}
],
"type": {
"type": "reference",
- "id": 49,
+ "target": {
+ "sourceFileName": "../postgrest-js/src/PostgrestQueryBuilder.ts",
+ "qualifiedName": "default"
+ },
"typeArguments": [
{
"type": "reference",
- "id": 6,
- "name": "Schema"
+ "target": 122,
+ "name": "ClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.ClientOptions",
+ "refersToTypeParameter": true
},
{
- "type": "intrinsic",
- "name": "any"
+ "type": "reference",
+ "target": 121,
+ "name": "Schema",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Schema",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 169,
+ "name": "View",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 168,
+ "name": "ViewName",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
}
],
- "name": "default"
+ "name": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "qualifiedName": "default"
}
}
]
},
{
- "id": 36,
- "name": "rpc",
+ "id": 191,
+ "name": "getChannels",
+ "variant": "declaration",
"kind": 2048,
- "kindString": "Method",
"flags": {},
"sources": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 102,
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 308,
"character": 2,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L102"
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L308"
}
],
"signatures": [
{
- "id": 37,
+ "id": 192,
+ "name": "getChannels",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Returns all Realtime channels."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 308,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L308"
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 196,
+ "name": "removeAllChannels",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 325,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L325"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 197,
+ "name": "removeAllChannels",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Unsubscribes and removes all Realtime channels from Realtime client."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 325,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L325"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 193,
+ "name": "removeChannel",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 318,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L318"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 194,
+ "name": "removeChannel",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Unsubscribes and removes Realtime channel from Realtime client."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 318,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L318"
+ }
+ ],
+ "parameters": [
+ {
+ "id": 195,
+ "name": "channel",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The name of the Realtime channel."
+ }
+ ]
+ },
+ "type": {
+ "type": "reference",
+ "target": 1620,
+ "name": "RealtimeChannel",
+ "package": "@supabase/realtime-js",
+ "qualifiedName": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 175,
+ "name": "rpc",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 254,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L254"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 176,
"name": "rpc",
+ "variant": "signature",
"kind": 4096,
- "kindString": "Call signature",
"flags": {},
"comment": {
"summary": [
@@ -19162,12 +24086,20 @@
}
]
},
- "typeParameter": [
+ "sources": [
{
- "id": 38,
- "name": "FunctionName",
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 254,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L254"
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 177,
+ "name": "FnName",
+ "variant": "typeParam",
"kind": 131072,
- "kindString": "Type parameter",
"flags": {},
"type": {
"type": "intrinsic",
@@ -19175,23 +24107,100 @@
}
},
{
- "id": 39,
- "name": "Function_",
+ "id": 178,
+ "name": "Args",
+ "variant": "typeParam",
"kind": 131072,
- "kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "name": "GenericFunction"
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Record"
+ },
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Record",
+ "package": "typescript"
+ },
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "id": 179,
+ "name": "FilterBuilder",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/rest/types/common/rpc.ts",
+ "qualifiedName": "RpcFunctionNotFound"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 177,
+ "name": "FnName",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RpcFunctionNotFound",
+ "package": "@supabase/supabase-js"
+ },
+ "default": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/rest/types/common/rpc.ts",
+ "qualifiedName": "GetRpcFunctionFilterBuilderByArgs"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 121,
+ "name": "Schema",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Schema",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 177,
+ "name": "FnName",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 178,
+ "name": "Args",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "GetRpcFunctionFilterBuilderByArgs",
+ "package": "@supabase/supabase-js"
}
}
],
"parameters": [
{
- "id": 40,
+ "id": 180,
"name": "fn",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"comment": {
"summary": [
@@ -19203,15 +24212,17 @@
},
"type": {
"type": "reference",
- "id": 38,
- "name": "FunctionName"
+ "target": 177,
+ "name": "FnName",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
}
},
{
- "id": 41,
+ "id": 181,
"name": "args",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"comment": {
"summary": [
@@ -19222,24 +24233,19 @@
]
},
"type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Args"
- },
- "objectType": {
- "type": "reference",
- "id": 39,
- "name": "Function_"
- }
+ "type": "reference",
+ "target": 178,
+ "name": "Args",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
},
- "defaultValue": "{}"
+ "defaultValue": "..."
},
{
- "id": 42,
+ "id": 182,
"name": "options",
+ "variant": "param",
"kind": 32768,
- "kindString": "Parameter",
"flags": {},
"comment": {
"summary": [
@@ -19249,21 +24255,20 @@
}
]
},
- "originalName": "__namedParameters",
"type": {
"type": "reflection",
"declaration": {
- "id": 43,
+ "id": 183,
"name": "__type",
+ "variant": "declaration",
"kind": 65536,
- "kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 45,
+ "id": 186,
"name": "count",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
"isOptional": true
},
@@ -19309,10 +24314,10 @@
},
"sources": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 113,
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 268,
"character": 6,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L113"
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L268"
}
],
"type": {
@@ -19334,10 +24339,47 @@
}
},
{
- "id": 44,
+ "id": 185,
+ "name": "get",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "When set to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ", the function will be called with\nread-only access mode."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 267,
+ "character": 6,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L267"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 184,
"name": "head",
+ "variant": "declaration",
"kind": 1024,
- "kindString": "Property",
"flags": {
"isOptional": true
},
@@ -19367,10 +24409,10 @@
},
"sources": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 112,
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 266,
"character": 6,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L112"
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L266"
}
],
"type": {
@@ -19382,15 +24424,41812 @@
"groups": [
{
"title": "Properties",
- "children": [45, 44]
+ "children": [186, 185, 184]
}
],
"sources": [
{
- "fileName": "src/PostgrestClient.ts",
- "line": 111,
- "character": 7,
- "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L111"
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 265,
+ "character": 13,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L265"
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../postgrest-js/src/PostgrestFilterBuilder.ts",
+ "qualifiedName": "default"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 122,
+ "name": "ClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.ClientOptions",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 121,
+ "name": "Schema",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Schema",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": 179,
+ "name": "FilterBuilder",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Result"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": 179,
+ "name": "FilterBuilder",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "RelationName"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": 179,
+ "name": "FilterBuilder",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Relationships"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": 179,
+ "name": "FilterBuilder",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "literal",
+ "value": "RPC"
+ }
+ ],
+ "name": "PostgrestFilterBuilder",
+ "package": "@supabase/postgrest-js",
+ "qualifiedName": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 171,
+ "name": "schema",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 219,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L219"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 172,
+ "name": "schema",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Select a schema to query or perform an function (rpc) call.\n\nThe schema needs to be on the list of exposed schemas inside Supabase."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 219,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L219"
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 173,
+ "name": "DynamicSchema",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 174,
+ "name": "schema",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The schema to query"
+ }
+ ]
+ },
+ "type": {
+ "type": "reference",
+ "target": 173,
+ "name": "DynamicSchema",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../postgrest-js/src/PostgrestClient.ts",
+ "qualifiedName": "default"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 122,
+ "name": "ClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.ClientOptions",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 173,
+ "name": "DynamicSchema",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "target": 173,
+ "name": "DynamicSchema",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ "objectType": {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/rest/types/common/common.ts",
+ "qualifiedName": "GenericSchema"
+ },
+ "name": "GenericSchema",
+ "package": "@supabase/supabase-js"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "PostgrestClient",
+ "package": "@supabase/postgrest-js",
+ "qualifiedName": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [114]
+ },
+ {
+ "title": "Properties",
+ "children": [
+ 154, 136, 140, 153, 145, 142, 157, 137, 139, 143, 138, 144, 141, 159, 158
+ ]
+ },
+ {
+ "title": "Accessors",
+ "children": [160]
+ },
+ {
+ "title": "Methods",
+ "children": [187, 162, 191, 196, 193, 175, 171]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 37,
+ "character": 21,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L37"
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 226,
+ "name": "Database",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 227,
+ "name": "SchemaNameOrClientOptions",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 228,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 229,
+ "name": "PostgrestVersion",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 44,
+ "character": 8,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L44"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [229]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 44,
+ "character": 6,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L44"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 230,
+ "name": "SchemaName",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 117,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ "trueType": {
+ "type": "reference",
+ "target": 117,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
+ },
+ "falseType": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 231,
+ "name": "Schema",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "target": 120,
+ "name": "SchemaName",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaName",
+ "refersToTypeParameter": true
+ },
+ "objectType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/rest/types/common/common.ts",
+ "qualifiedName": "GenericSchema"
+ },
+ "name": "GenericSchema",
+ "package": "@supabase/supabase-js"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "target": 120,
+ "name": "SchemaName",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaName",
+ "refersToTypeParameter": true
+ },
+ "objectType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "target": 120,
+ "name": "SchemaName",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaName",
+ "refersToTypeParameter": true
+ },
+ "objectType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/rest/types/common/common.ts",
+ "qualifiedName": "GenericSchema"
+ },
+ "name": "GenericSchema",
+ "package": "@supabase/supabase-js"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "target": 120,
+ "name": "SchemaName",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaName",
+ "refersToTypeParameter": true
+ },
+ "objectType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ },
+ {
+ "id": 232,
+ "name": "ClientOptions",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 233,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 234,
+ "name": "PostgrestVersion",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 59,
+ "character": 26,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L59"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [234]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 59,
+ "character": 24,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L59"
+ }
+ ]
+ }
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 117,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ "trueType": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 235,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 236,
+ "name": "__InternalSupabase",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 62,
+ "character": 25,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L62"
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 237,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 238,
+ "name": "PostgrestVersion",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 62,
+ "character": 47,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L62"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [238]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 62,
+ "character": 45,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L62"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [236]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 62,
+ "character": 23,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L62"
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": 116,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.Database",
+ "refersToTypeParameter": true
+ }
+ },
+ "falseType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 239,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 240,
+ "name": "PostgrestVersion",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 65,
+ "character": 10,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L65"
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "12"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [240]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 65,
+ "character": 8,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L65"
+ }
+ ]
+ }
+ }
+ },
+ "falseType": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 117,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 241,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 242,
+ "name": "PostgrestVersion",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 66,
+ "character": 42,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L66"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [242]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/SupabaseClient.ts",
+ "line": 66,
+ "character": 40,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/SupabaseClient.ts#L66"
+ }
+ ]
+ }
+ },
+ "trueType": {
+ "type": "reference",
+ "target": 117,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default.SchemaNameOrClientOptions",
+ "refersToTypeParameter": true
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 2167,
+ "name": "WebSocketFactory",
+ "variant": "declaration",
+ "kind": 128,
+ "flags": {},
+ "children": [
+ {
+ "id": 2181,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "signatures": [
+ {
+ "id": 2182,
+ "name": "WebSocketFactory",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 2167,
+ "name": "WebSocketFactory",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2175,
+ "name": "createWebSocket",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {
+ "isStatic": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 31,
+ "character": 11
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2176,
+ "name": "createWebSocket",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 31,
+ "character": 11
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2177,
+ "name": "url",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 2178,
+ "name": "protocols",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2183,
+ "name": "WebSocketLike",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2169,
+ "name": "getWebSocketConstructor",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {
+ "isStatic": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 30,
+ "character": 11
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2170,
+ "name": "getWebSocketConstructor",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 30,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2171,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 26772,
+ "character": 23
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2172,
+ "name": "getWebSocketConstructor",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "node_modules/typescript/lib/lib.dom.d.ts",
+ "line": 26774,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2173,
+ "name": "url",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 2174,
+ "name": "protocols",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "WebSocket"
+ },
+ "name": "WebSocket",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 2179,
+ "name": "isWebSocketSupported",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {
+ "isStatic": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 32,
+ "character": 11
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2180,
+ "name": "isWebSocketSupported",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 32,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [2181]
+ },
+ {
+ "title": "Methods",
+ "children": [2175, 2169, 2179]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 28,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 848,
+ "name": "AdminUserAttributes",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 850,
+ "name": "app_metadata",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A custom data object to store the user's application specific metadata. This maps to the "
+ },
+ {
+ "kind": "code",
+ "text": "`auth.users.app_metadata`"
+ },
+ {
+ "kind": "text",
+ "text": " column.\n\nOnly a service role can modify.\n\nThe "
+ },
+ {
+ "kind": "code",
+ "text": "`app_metadata`"
+ },
+ {
+ "kind": "text",
+ "text": " should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 345,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 853,
+ "name": "ban_duration",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Determines how long a user is banned for.\n\nThe format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 368,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 858,
+ "name": "email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true,
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's email."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 302,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "Omit.email"
+ }
+ },
+ {
+ "id": 851,
+ "name": "email_confirm",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Confirms the user's email address if set to true.\n\nOnly a service role can modify."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 351,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 856,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The "
+ },
+ {
+ "kind": "code",
+ "text": "`id`"
+ },
+ {
+ "kind": "text",
+ "text": " for the user.\n\nAllows you to overwrite the default "
+ },
+ {
+ "kind": "code",
+ "text": "`id`"
+ },
+ {
+ "kind": "text",
+ "text": " set for the user."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 390,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 857,
+ "name": "nonce",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true,
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The nonce sent for reauthentication if the user's password is to be updated.\n\nCall reauthenticate() to obtain the nonce first."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 316,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "Omit.nonce"
+ }
+ },
+ {
+ "id": 859,
+ "name": "password",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true,
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's password."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 310,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 855,
+ "name": "password_hash",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The "
+ },
+ {
+ "kind": "code",
+ "text": "`password_hash`"
+ },
+ {
+ "kind": "text",
+ "text": " for the user's password.\n\nAllows you to specify a password hash for the user. This is useful for migrating a user's password hash from another service.\n\nSupports bcrypt, scrypt (firebase), and argon2 password hashes."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 384,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 860,
+ "name": "phone",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true,
+ "isInherited": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's phone."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 306,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 852,
+ "name": "phone_confirm",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Confirms the user's phone number if set to true.\n\nOnly a service role can modify."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 357,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 854,
+ "name": "role",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The "
+ },
+ {
+ "kind": "code",
+ "text": "`role`"
+ },
+ {
+ "kind": "text",
+ "text": " claim set in the user's access token JWT.\n\nWhen a user signs up, this role is set to "
+ },
+ {
+ "kind": "code",
+ "text": "`authenticated`"
+ },
+ {
+ "kind": "text",
+ "text": " by default. You should only modify the "
+ },
+ {
+ "kind": "code",
+ "text": "`role`"
+ },
+ {
+ "kind": "text",
+ "text": " if you need to provision several levels of admin access that have different permissions on individual columns in your database.\n\nSetting this role to "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " is not recommended as it grants the user admin privileges."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 376,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 849,
+ "name": "user_metadata",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A custom data object to store the user's metadata. This maps to the "
+ },
+ {
+ "kind": "code",
+ "text": "`auth.users.raw_user_meta_data`"
+ },
+ {
+ "kind": "text",
+ "text": " column.\n\n\nThe "
+ },
+ {
+ "kind": "code",
+ "text": "`user_metadata`"
+ },
+ {
+ "kind": "text",
+ "text": " should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 336,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [850, 853, 858, 851, 856, 857, 859, 855, 860, 852, 854, 849]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 325,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 842,
+ "name": "UserAttributes",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "literal",
+ "value": "data"
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ ]
+ },
+ {
+ "id": 807,
+ "name": "AMREntry",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "An authentication methord reference (AMR) entry.\n\nAn entry designates what method was used by the user to verify their\nidentity and at what time."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@see",
+ "content": [
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "GoTrueMFAApi#getAuthenticatorAssuranceLevel",
+ "target": 1232
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 808,
+ "name": "method",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Authentication method name."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 205,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 805,
+ "name": "AMRMethod",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 809,
+ "name": "timestamp",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Timestamp when the method was successfully used. Represents number of\nseconds since 1st January 1970 (UNIX epoch) in UTC."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 210,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [808, 809]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 203,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 1417,
+ "name": "AuthOAuthServerApi",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Contains all OAuth 2.1 authorization server user-facing methods.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth.\n\nThese methods are used to implement the consent page."
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 1421,
+ "name": "approveAuthorization",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1409,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1422,
+ "name": "approveAuthorization",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Approves an OAuth authorization request.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@returns",
+ "content": [
+ {
+ "kind": "text",
+ "text": "Redirect URL to send the user back to the OAuth client"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1409,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1423,
+ "name": "authorizationId",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The authorization ID to approve"
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1424,
+ "name": "options",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Optional parameters including skipBrowserRedirect"
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1425,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1426,
+ "name": "skipBrowserRedirect",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1410,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1426]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1409,
+ "character": 60
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1414,
+ "name": "AuthOAuthConsentResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1427,
+ "name": "denyAuthorization",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1420,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1428,
+ "name": "denyAuthorization",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Denies an OAuth authorization request.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@returns",
+ "content": [
+ {
+ "kind": "text",
+ "text": "Redirect URL to send the user back to the OAuth client"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1420,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1429,
+ "name": "authorizationId",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The authorization ID to deny"
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1430,
+ "name": "options",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Optional parameters including skipBrowserRedirect"
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1431,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1432,
+ "name": "skipBrowserRedirect",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1421,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1432]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1420,
+ "character": 57
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1414,
+ "name": "AuthOAuthConsentResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1418,
+ "name": "getAuthorizationDetails",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1400,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1419,
+ "name": "getAuthorizationDetails",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Retrieves details about an OAuth authorization request.\nUsed to display consent information to the user.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth.\n\nThis method returns authorization details including client info, scopes, and user information.\nIf the response includes a redirect_uri, it means consent was already given - the caller\nshould handle the redirect manually if needed."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@returns",
+ "content": [
+ {
+ "kind": "text",
+ "text": "Authorization details including client info and requested scopes"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1400,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1420,
+ "name": "authorizationId",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The authorization ID from the authorization request"
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1413,
+ "name": "AuthOAuthAuthorizationDetailsResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "children": [1421, 1427, 1418]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1387,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 37,
+ "name": "AuthSession",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 40,
+ "name": "access_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 174,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 43,
+ "name": "expires_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A timestamp of when the token will expire. Returned when a login is confirmed."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 186,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 42,
+ "name": "expires_in",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 182,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 39,
+ "name": "provider_refresh_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 170,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 38,
+ "name": "provider_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 165,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 41,
+ "name": "refresh_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A one-time used refresh token that never expires."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 178,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 44,
+ "name": "token_type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 187,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "bearer"
+ }
+ },
+ {
+ "id": 45,
+ "name": "user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "When using a separate user storage, accessing properties of this object will throw an error."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 191,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 11,
+ "name": "User",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [40, 43, 42, 39, 38, 41, 44, 45]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 161,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 11,
+ "name": "AuthUser",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 22,
+ "name": "action_link",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 282,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 13,
+ "name": "app_metadata",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 273,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 833,
+ "name": "UserAppMetadata",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 15,
+ "name": "aud",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 275,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 16,
+ "name": "confirmation_sent_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 276,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 26,
+ "name": "confirmed_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 286,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 25,
+ "name": "created_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 285,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 36,
+ "name": "deleted_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 296,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 23,
+ "name": "email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 283,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 18,
+ "name": "email_change_sent_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 278,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 27,
+ "name": "email_confirmed_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 287,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 35,
+ "name": "factors",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 295,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 823,
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "webauthn"
+ },
+ {
+ "type": "literal",
+ "value": "totp"
+ },
+ {
+ "type": "literal",
+ "value": "phone"
+ }
+ ]
+ },
+ {
+ "type": "literal",
+ "value": "verified"
+ }
+ ],
+ "name": "Factor",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 823,
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "webauthn"
+ },
+ {
+ "type": "literal",
+ "value": "totp"
+ },
+ {
+ "type": "literal",
+ "value": "phone"
+ }
+ ]
+ },
+ {
+ "type": "literal",
+ "value": "unverified"
+ }
+ ],
+ "name": "Factor",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 12,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 272,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 32,
+ "name": "identities",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 292,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 810,
+ "name": "UserIdentity",
+ "package": "@supabase/auth-js"
+ }
+ }
+ },
+ {
+ "id": 21,
+ "name": "invited_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 281,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 33,
+ "name": "is_anonymous",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 293,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 34,
+ "name": "is_sso_user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 294,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 29,
+ "name": "last_sign_in_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 289,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 19,
+ "name": "new_email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 279,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 20,
+ "name": "new_phone",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 280,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 24,
+ "name": "phone",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 284,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 28,
+ "name": "phone_confirmed_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 288,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 17,
+ "name": "recovery_sent_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 277,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 30,
+ "name": "role",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 290,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 31,
+ "name": "updated_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 291,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 14,
+ "name": "user_metadata",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 274,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 838,
+ "name": "UserMetadata",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [
+ 22, 13, 15, 16, 26, 25, 36, 23, 18, 27, 35, 12, 32, 21, 33, 34, 29, 19, 20, 24, 28,
+ 17, 30, 31, 14
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 271,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 1055,
+ "name": "GenerateLinkOptions",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 1056,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A custom data object to store the user's metadata. This maps to the "
+ },
+ {
+ "kind": "code",
+ "text": "`auth.users.raw_user_meta_data`"
+ },
+ {
+ "kind": "text",
+ "text": " column.\n\nThe "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " should be a JSON object that includes user-specific info, such as their first and last name."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 689,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 1057,
+ "name": "redirectTo",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The URL which will be appended to the email link generated."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 691,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1056, 1057]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 683,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 1248,
+ "name": "GoTrueAdminMFAApi",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Contains the full multi-factor authentication administration API."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@expermental",
+ "content": []
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 1252,
+ "name": "deleteFactor",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1022,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1253,
+ "name": "deleteFactor",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@see",
+ "content": [
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "GoTrueMFAApi#unenroll",
+ "target": 1221
+ }
+ ]
+ },
+ {
+ "tag": "@expermental",
+ "content": []
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1022,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1254,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 1238,
+ "name": "AuthMFAAdminDeleteFactorParams",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1235,
+ "name": "AuthMFAAdminDeleteFactorResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1249,
+ "name": "listFactors",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1013,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1250,
+ "name": "listFactors",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Lists all factors associated to a user."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1013,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1251,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 1245,
+ "name": "AuthMFAAdminListFactorsParams",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1242,
+ "name": "AuthMFAAdminListFactorsResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "children": [1252, 1249]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1008,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 1374,
+ "name": "GoTrueAdminOAuthApi",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Contains all OAuth client administration methods.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 1378,
+ "name": "createClient",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1300,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1379,
+ "name": "createClient",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates a new OAuth client.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth.\n\nThis function should only be called on a server. Never expose your "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " key in the browser."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1300,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1380,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 1346,
+ "name": "CreateOAuthClientParams",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1361,
+ "name": "OAuthClientResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1388,
+ "name": "deleteClient",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1321,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1389,
+ "name": "deleteClient",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Deletes an OAuth client.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth.\n\nThis function should only be called on a server. Never expose your "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " key in the browser."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1321,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1390,
+ "name": "clientId",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1391,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1392,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1322,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 1393,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1323,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1392, 1393]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1321,
+ "character": 44
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1381,
+ "name": "getClient",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1307,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1382,
+ "name": "getClient",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Gets details of a specific OAuth client.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth.\n\nThis function should only be called on a server. Never expose your "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " key in the browser."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1307,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1383,
+ "name": "clientId",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1361,
+ "name": "OAuthClientResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1375,
+ "name": "listClients",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1293,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1376,
+ "name": "listClients",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Lists all OAuth clients with optional pagination.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth.\n\nThis function should only be called on a server. Never expose your "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " key in the browser."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1293,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1377,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": 1269,
+ "name": "PageParams",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1362,
+ "name": "OAuthClientListResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1394,
+ "name": "regenerateClientSecret",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1331,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1395,
+ "name": "regenerateClientSecret",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Regenerates the secret for an OAuth client.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth.\n\nThis function should only be called on a server. Never expose your "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " key in the browser."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1331,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1396,
+ "name": "clientId",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1361,
+ "name": "OAuthClientResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1384,
+ "name": "updateClient",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1314,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1385,
+ "name": "updateClient",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Updates an existing OAuth client.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth.\n\nThis function should only be called on a server. Never expose your "
+ },
+ {
+ "kind": "code",
+ "text": "`service_role`"
+ },
+ {
+ "kind": "text",
+ "text": " key in the browser."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1314,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1386,
+ "name": "clientId",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1387,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 1354,
+ "name": "UpdateOAuthClientParams",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1361,
+ "name": "OAuthClientResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "children": [1378, 1388, 1381, 1375, 1394, 1384]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1286,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 1118,
+ "name": "GoTrueMFAApi",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Contains the full multi-factor authentication API."
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 1234,
+ "name": "webauthn",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 971,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/webauthn.ts",
+ "qualifiedName": "WebAuthnApi"
+ },
+ "name": "WebAuthnApi",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1139,
+ "name": "challenge",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 926,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 927,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 928,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 929,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1140,
+ "name": "challenge",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Prepares a challenge used to verify that a user has access to a MFA\nfactor."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 926,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1141,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1142,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1143,
+ "name": "factorId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the factor to be challenged. Returned in enroll()."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 768,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1143]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1144,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1145,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 91,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 1146,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 92,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1145, 1146]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1147,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1148,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 88,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1149,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1152,
+ "name": "expires_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Timestamp in UNIX seconds when this challenge will no longer be usable."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 830,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1150,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the newly created challenge."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 826,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1151,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Factor Type which generated the challenge"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 828,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "totp"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1152, 1150, 1151]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1153,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 89,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1148, 1153]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1154,
+ "name": "challenge",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 927,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1155,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1156,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1158,
+ "name": "channel",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Messaging channel to use (e.g. whatsapp or sms). Only relevant for phone factors"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 775,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1157,
+ "name": "factorId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the factor to be challenged. Returned in enroll()."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 768,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1158, 1157]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1159,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1160,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 91,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 1161,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 92,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1160, 1161]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1162,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1163,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 88,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1164,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1167,
+ "name": "expires_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Timestamp in UNIX seconds when this challenge will no longer be usable."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 830,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1165,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the newly created challenge."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 826,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1166,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Factor Type which generated the challenge"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 828,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "phone"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1167, 1165, 1166]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1168,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 89,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1163, 1168]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1169,
+ "name": "challenge",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 928,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1170,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1171,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1172,
+ "name": "factorId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the factor to be challenged. Returned in enroll()."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 768,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1173,
+ "name": "webauthn",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 780,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1174,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1175,
+ "name": "rpId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Relying party ID"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 782,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1176,
+ "name": "rpOrigins",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Relying party origins"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 784,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1175, 1176]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 780,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1172, 1173]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1177,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1178,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 91,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 1179,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 92,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1178, 1179]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1180,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1181,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 88,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1182,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1185,
+ "name": "expires_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Timestamp in UNIX seconds when this challenge will no longer be usable."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 830,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1183,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the newly created challenge."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 826,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1184,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Factor Type which generated the challenge"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 828,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "webauthn"
+ }
+ },
+ {
+ "id": 1186,
+ "name": "webauthn",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 837,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1187,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1189,
+ "name": "credential_options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 839,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1190,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1191,
+ "name": "publicKey",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 840,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/webauthn.dom.ts",
+ "qualifiedName": "PublicKeyCredentialCreationOptionsFuture"
+ },
+ "name": "PublicKeyCredentialCreationOptionsFuture",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1191]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 839,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1188,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 838,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "create"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1189, 1188]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 837,
+ "character": 14
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1192,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1194,
+ "name": "credential_options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 844,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1195,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1196,
+ "name": "publicKey",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 845,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/webauthn.dom.ts",
+ "qualifiedName": "PublicKeyCredentialRequestOptionsFuture"
+ },
+ "name": "PublicKeyCredentialRequestOptionsFuture",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1196]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 844,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1193,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 843,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "request"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1194, 1193]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 842,
+ "character": 8
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1185, 1183, 1184, 1186]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1197,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 89,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1181, 1197]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1198,
+ "name": "challenge",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 929,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1199,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 1088,
+ "name": "MFAChallengeParams",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1107,
+ "name": "AuthMFAChallengeResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1224,
+ "name": "challengeAndVerify",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 947,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1225,
+ "name": "challengeAndVerify",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 947,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1226,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1227,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1229,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification code provided by the user."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 733,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1228,
+ "name": "factorId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the factor being verified. Returned in enroll()."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 727,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1229, 1228]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1097,
+ "name": "AuthMFAVerifyResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1119,
+ "name": "enroll",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 918,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 919,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 920,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 921,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1120,
+ "name": "enroll",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new "
+ },
+ {
+ "kind": "code",
+ "text": "`unverified`"
+ },
+ {
+ "kind": "text",
+ "text": " factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.\n\nUpon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to "
+ },
+ {
+ "kind": "code",
+ "text": "`aal2`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 918,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1121,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1122,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1123,
+ "name": "factorType",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The type of factor being enrolled."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1070,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "totp"
+ }
+ },
+ {
+ "id": 1124,
+ "name": "friendlyName",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Human readable name assigned to the factor."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1072,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1125,
+ "name": "issuer",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Domain which the user is enrolled with."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1076,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1123, 1124, 1125]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1279,
+ "name": "AuthMFAEnrollTOTPResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1126,
+ "name": "enroll",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 919,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1127,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1128,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1129,
+ "name": "factorType",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The type of factor being enrolled."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1070,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "phone"
+ }
+ },
+ {
+ "id": 1130,
+ "name": "friendlyName",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Human readable name assigned to the factor."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1072,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1131,
+ "name": "phone",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Phone number associated with a factor. Number should conform to E.164 format"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1081,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1129, 1130, 1131]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1280,
+ "name": "AuthMFAEnrollPhoneResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1132,
+ "name": "enroll",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 920,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1133,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1134,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1135,
+ "name": "factorType",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The type of factor being enrolled."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1070,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "webauthn"
+ }
+ },
+ {
+ "id": 1136,
+ "name": "friendlyName",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Human readable name assigned to the factor."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1072,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1135, 1136]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1281,
+ "name": "AuthMFAEnrollWebauthnResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1137,
+ "name": "enroll",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 921,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1138,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 1071,
+ "name": "MFAEnrollParams",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1098,
+ "name": "AuthMFAEnrollResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1232,
+ "name": "getAuthenticatorAssuranceLevel",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 970,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1233,
+ "name": "getAuthenticatorAssuranceLevel",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Returns the Authenticator Assurance Level (AAL) for the active session.\n\n- "
+ },
+ {
+ "kind": "code",
+ "text": "`aal1`"
+ },
+ {
+ "kind": "text",
+ "text": " (or "
+ },
+ {
+ "kind": "code",
+ "text": "`null`"
+ },
+ {
+ "kind": "text",
+ "text": ") means that the user's identity has been verified only\nwith a conventional login (email+password, OTP, magic link, social login,\netc.).\n- "
+ },
+ {
+ "kind": "code",
+ "text": "`aal2`"
+ },
+ {
+ "kind": "text",
+ "text": " means that the user's identity has been verified both with a conventional login and at least one MFA factor.\n\nAlthough this method returns a promise, it's fairly quick (microseconds)\nand rarely uses the network. You can use this to check whether the current\nuser needs to be shown a screen to verify their MFA factors."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 970,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1113,
+ "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1230,
+ "name": "listFactors",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 956,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1231,
+ "name": "listFactors",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Returns the list of MFA factors enabled for this user."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@see",
+ "content": [
+ {
+ "kind": "text",
+ "text": " - "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "GoTrueMFAApi#enroll",
+ "target": 1119
+ },
+ {
+ "kind": "text",
+ "text": "\n"
+ },
+ {
+ "kind": "text",
+ "text": " - "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "GoTrueMFAApi#getAuthenticatorAssuranceLevel",
+ "target": 1232
+ },
+ {
+ "kind": "text",
+ "text": "\n"
+ },
+ {
+ "kind": "text",
+ "text": " - "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "GoTrueClient#getUser",
+ "target": 507
+ },
+ {
+ "kind": "text",
+ "text": "\n"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 956,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1108,
+ "typeArguments": [
+ {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "tuple",
+ "elements": [
+ {
+ "type": "literal",
+ "value": "totp"
+ },
+ {
+ "type": "literal",
+ "value": "phone"
+ },
+ {
+ "type": "literal",
+ "value": "webauthn"
+ }
+ ]
+ }
+ }
+ ],
+ "name": "AuthMFAListFactorsResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1221,
+ "name": "unenroll",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 942,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1222,
+ "name": "unenroll",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Unenroll removes a MFA factor.\nA user has to have an "
+ },
+ {
+ "kind": "code",
+ "text": "`aal2`"
+ },
+ {
+ "kind": "text",
+ "text": " authenticator level in order to unenroll a "
+ },
+ {
+ "kind": "code",
+ "text": "`verified`"
+ },
+ {
+ "kind": "text",
+ "text": " factor."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 942,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1223,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 1072,
+ "name": "MFAUnenrollParams",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1099,
+ "name": "AuthMFAUnenrollResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1200,
+ "name": "verify",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 934,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 935,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 936,
+ "character": 4
+ },
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 937,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1201,
+ "name": "verify",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 934,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1202,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1203,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1205,
+ "name": "challengeId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the challenge being verified. Returned in challenge()."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 729,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1206,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification code provided by the user."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 733,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1204,
+ "name": "factorId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the factor being verified. Returned in enroll()."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 727,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1205, 1206, 1204]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1097,
+ "name": "AuthMFAVerifyResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1207,
+ "name": "verify",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 935,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1208,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1209,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1211,
+ "name": "challengeId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the challenge being verified. Returned in challenge()."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 729,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1212,
+ "name": "code",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification code provided by the user."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 733,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1210,
+ "name": "factorId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the factor being verified. Returned in enroll()."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 727,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1211, 1212, 1210]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1097,
+ "name": "AuthMFAVerifyResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1213,
+ "name": "verify",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 936,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1214,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1215,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1217,
+ "name": "challengeId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the challenge being verified. Returned in challenge()."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 729,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1216,
+ "name": "factorId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the factor being verified. Returned in enroll()."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 727,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1218,
+ "name": "webauthn",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 756,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAVerifyWebauthnParamFieldsBase"
+ },
+ "name": "MFAVerifyWebauthnParamFieldsBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAVerifyWebauthnCredentialParamFields"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "create"
+ },
+ {
+ "type": "literal",
+ "value": "request"
+ }
+ ]
+ }
+ ],
+ "name": "MFAVerifyWebauthnCredentialParamFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1217, 1216, 1218]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 51
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1097,
+ "name": "AuthMFAVerifyResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1219,
+ "name": "verify",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 937,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1220,
+ "name": "params",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 1083,
+ "name": "MFAVerifyParams",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1097,
+ "name": "AuthMFAVerifyResponse",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1234]
+ },
+ {
+ "title": "Methods",
+ "children": [1139, 1224, 1119, 1232, 1230, 1221, 1200]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 908,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 1317,
+ "name": "JWK",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 1320,
+ "name": "alg",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1166,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1319,
+ "name": "key_ops",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1165,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 1321,
+ "name": "kid",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1167,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1318,
+ "name": "kty",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1164,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "RSA"
+ },
+ {
+ "type": "literal",
+ "value": "EC"
+ },
+ {
+ "type": "literal",
+ "value": "oct"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1320, 1319, 1321, 1318]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1163,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1322,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1168,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1323,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1297,
+ "name": "JwtPayload",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "JWT Payload containing claims for Supabase authentication tokens.\n\nRequired claims (iss, aud, exp, iat, sub, role, aal, session_id) are inherited from RequiredClaims.\nAll other claims are optional as they can be customized via Custom Access Token Hooks."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@see",
+ "content": [
+ {
+ "kind": "text",
+ "text": "https://supabase.com/docs/guides/auth/jwt-fields"
+ }
+ ]
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 1313,
+ "name": "aal",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1140,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1112,
+ "name": "AuthenticatorAssuranceLevels",
+ "package": "@supabase/auth-js"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "RequiredClaims.aal"
+ }
+ },
+ {
+ "id": 1305,
+ "name": "amr",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1159,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 807,
+ "name": "AMREntry",
+ "package": "@supabase/auth-js"
+ }
+ }
+ },
+ {
+ "id": 1303,
+ "name": "app_metadata",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1157,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 833,
+ "name": "UserAppMetadata",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1309,
+ "name": "aud",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1136,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "RequiredClaims.aud"
+ }
+ },
+ {
+ "id": 1298,
+ "name": "email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1152,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1310,
+ "name": "exp",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1137,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "RequiredClaims.exp"
+ }
+ },
+ {
+ "id": 1311,
+ "name": "iat",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1138,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "RequiredClaims.iat"
+ }
+ },
+ {
+ "id": 1300,
+ "name": "is_anonymous",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1154,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 1307,
+ "name": "iss",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1134,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "RequiredClaims.iss"
+ }
+ },
+ {
+ "id": 1301,
+ "name": "jti",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1155,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1302,
+ "name": "nbf",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1156,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1299,
+ "name": "phone",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1153,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1306,
+ "name": "ref",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1160,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1312,
+ "name": "role",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1139,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "RequiredClaims.role"
+ }
+ },
+ {
+ "id": 1314,
+ "name": "session_id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1141,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "RequiredClaims.session_id"
+ }
+ },
+ {
+ "id": 1308,
+ "name": "sub",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isInherited": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1135,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "target": -1,
+ "name": "RequiredClaims.sub"
+ }
+ },
+ {
+ "id": 1304,
+ "name": "user_metadata",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1158,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 838,
+ "name": "UserMetadata",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [
+ 1313, 1305, 1303, 1309, 1298, 1310, 1311, 1300, 1307, 1301, 1302, 1299, 1306, 1312,
+ 1314, 1308, 1304
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1151,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1315,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1161,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1316,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "target": 1287,
+ "name": "RequiredClaims",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ },
+ {
+ "id": 861,
+ "name": "Subscription",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 863,
+ "name": "callback",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The function to call every time there is an event. eg: (eventName) => {}"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 402,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 864,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 402,
+ "character": 14
+ }
+ ],
+ "signatures": [
+ {
+ "id": 865,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 402,
+ "character": 14
+ }
+ ],
+ "parameters": [
+ {
+ "id": 866,
+ "name": "event",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 702,
+ "name": "AuthChangeEvent",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 867,
+ "name": "session",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "target": 37,
+ "name": "Session",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 862,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A unique identifier for this subscription, set by the client.\nThis is an internal identifier used for managing callbacks and should not be\nrelied upon by application code. Use the unsubscribe() method to remove listeners."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 398,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "symbol"
+ }
+ ]
+ }
+ },
+ {
+ "id": 868,
+ "name": "unsubscribe",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Call this to remove the listener."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 406,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 869,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 406,
+ "character": 17
+ }
+ ],
+ "signatures": [
+ {
+ "id": 870,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 406,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [863, 862, 868]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 392,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 833,
+ "name": "UserAppMetadata",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 834,
+ "name": "provider",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The first provider that the user used to sign up with."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 261,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 835,
+ "name": "providers",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A list of all providers that the user has linked to their account."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 265,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [834, 835]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 257,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 836,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 266,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 837,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ },
+ {
+ "id": 842,
+ "name": "UserAttributes",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 847,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A custom data object to store the user's metadata. This maps to the "
+ },
+ {
+ "kind": "code",
+ "text": "`auth.users.raw_user_meta_data`"
+ },
+ {
+ "kind": "text",
+ "text": " column.\n\nThe "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " should be a JSON object that includes user-specific info, such as their first and last name."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 323,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 843,
+ "name": "email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's email."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 302,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 846,
+ "name": "nonce",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The nonce sent for reauthentication if the user's password is to be updated.\n\nCall reauthenticate() to obtain the nonce first."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 316,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 845,
+ "name": "password",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's password."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 310,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 844,
+ "name": "phone",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's phone."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 306,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [847, 843, 846, 845, 844]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 298,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 810,
+ "name": "UserIdentity",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 819,
+ "name": "created_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 220,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 811,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 213,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 813,
+ "name": "identity_data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 215,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 814,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 215,
+ "character": 20
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 815,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 216,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 816,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 817,
+ "name": "identity_id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 218,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 820,
+ "name": "last_sign_in_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 221,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 818,
+ "name": "provider",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 219,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 821,
+ "name": "updated_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 222,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 812,
+ "name": "user_id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 214,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [819, 811, 813, 817, 820, 818, 821, 812]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 212,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 838,
+ "name": "UserMetadata",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 268,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 839,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 269,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 840,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ },
+ {
+ "id": 991,
+ "name": "VerifyEmailOtpParams",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 992,
+ "name": "email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's email address."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 584,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 995,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 589,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 996,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 998,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@deprecated",
+ "content": []
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 596,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 997,
+ "name": "redirectTo",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A URL to send the user to after they are confirmed."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 591,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [998, 997]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 589,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 993,
+ "name": "token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The otp sent to the user's email address."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 586,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 994,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's verification type."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 588,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1003,
+ "name": "EmailOtpType",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [992, 995, 993, 994]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 582,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 983,
+ "name": "VerifyMobileOtpParams",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 987,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 571,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 988,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 990,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@deprecated",
+ "content": []
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 579,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 989,
+ "name": "redirectTo",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A URL to send the user to after they are confirmed."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 573,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [990, 989]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 571,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 984,
+ "name": "phone",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's phone number."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 566,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 985,
+ "name": "token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The otp sent to the user's phone number."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 568,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 986,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's verification type."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 570,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1002,
+ "name": "MobileOtpType",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [987, 984, 985, 986]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 564,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 999,
+ "name": "VerifyTokenHashParams",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 1000,
+ "name": "token_hash",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The token hash used in an email link"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 601,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1001,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's verification type."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 603,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1003,
+ "name": "EmailOtpType",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1000, 1001]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 599,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 2183,
+ "name": "WebSocketLike",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 2226,
+ "name": "binaryType",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2227,
+ "name": "bufferedAmount",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 18,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 2187,
+ "name": "CLOSED",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isReadonly": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 5,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 2186,
+ "name": "CLOSING",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isReadonly": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 4,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 2184,
+ "name": "CONNECTING",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isReadonly": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 2,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 2229,
+ "name": "dispatchEvent",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2230,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 20,
+ "character": 20
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2231,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 20,
+ "character": 20
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2232,
+ "name": "event",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Event"
+ },
+ "name": "Event",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2228,
+ "name": "extensions",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2208,
+ "name": "onclose",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 2209,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2210,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 13,
+ "character": 14
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2211,
+ "name": "this",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 2212,
+ "name": "ev",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "CloseEvent"
+ },
+ "name": "CloseEvent",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 2213,
+ "name": "onerror",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 14,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 2214,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 14,
+ "character": 14
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2215,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 14,
+ "character": 14
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2216,
+ "name": "this",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 2217,
+ "name": "ev",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Event"
+ },
+ "name": "Event",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 2203,
+ "name": "onmessage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 12,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 2204,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 12,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2205,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 12,
+ "character": 16
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2206,
+ "name": "this",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 2207,
+ "name": "ev",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "MessageEvent"
+ },
+ "name": "MessageEvent",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 2198,
+ "name": "onopen",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 2199,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 11,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2200,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 11,
+ "character": 13
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2201,
+ "name": "this",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 2202,
+ "name": "ev",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Event"
+ },
+ "name": "Event",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 2185,
+ "name": "OPEN",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isReadonly": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 3,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 2190,
+ "name": "protocol",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isReadonly": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 8,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2188,
+ "name": "readyState",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isReadonly": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 6,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 2189,
+ "name": "url",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isReadonly": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 7,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2218,
+ "name": "addEventListener",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 15,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2219,
+ "name": "addEventListener",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 15,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2220,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2221,
+ "name": "listener",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "EventListener"
+ },
+ "name": "EventListener",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2191,
+ "name": "close",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 9,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2192,
+ "name": "close",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 9,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2193,
+ "name": "code",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 2194,
+ "name": "reason",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2222,
+ "name": "removeEventListener",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 16,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2223,
+ "name": "removeEventListener",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 16,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2224,
+ "name": "type",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2225,
+ "name": "listener",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "EventListener"
+ },
+ "name": "EventListener",
+ "package": "typescript"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 2195,
+ "name": "send",
+ "variant": "declaration",
+ "kind": 2048,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2196,
+ "name": "send",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2197,
+ "name": "data",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "ArrayBufferLike"
+ },
+ "name": "ArrayBufferLike",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "ArrayBufferView"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "ArrayBufferLike"
+ },
+ "name": "ArrayBufferLike",
+ "package": "typescript"
+ }
+ ],
+ "name": "ArrayBufferView",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Blob"
+ },
+ "name": "Blob",
+ "package": "typescript"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [
+ 2226, 2227, 2187, 2186, 2184, 2229, 2228, 2208, 2213, 2203, 2198, 2185, 2190, 2188,
+ 2189
+ ]
+ },
+ {
+ "title": "Methods",
+ "children": [2218, 2191, 2222, 2195]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/lib/websocket-factory.d.ts",
+ "line": 1,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 2233,
+ "name": "WebSocketLikeConstructor",
+ "variant": "declaration",
+ "kind": 256,
+ "flags": {},
+ "children": [
+ {
+ "id": 2234,
+ "name": "constructor",
+ "variant": "declaration",
+ "kind": 512,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 24,
+ "character": 17
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2235,
+ "name": "WebSocketLikeConstructor",
+ "variant": "signature",
+ "kind": 16384,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 25,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2236,
+ "name": "address",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "URL"
+ },
+ "name": "URL",
+ "package": "typescript"
+ }
+ ]
+ }
+ },
+ {
+ "id": 2237,
+ "name": "subprotocols",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2183,
+ "name": "WebSocketLike",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "children": [2234]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 24,
+ "character": 17
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 2238,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 26,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2239,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ },
+ {
+ "id": 805,
+ "name": "AMRMethod",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 194,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "objectType": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AMRMethods"
+ },
+ "name": "AMRMethods",
+ "package": "@supabase/auth-js",
+ "preferValues": true
+ }
+ }
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 806,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 194,
+ "character": 64
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "id": 702,
+ "name": "AuthChangeEvent",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "INITIAL_SESSION"
+ },
+ {
+ "type": "literal",
+ "value": "PASSWORD_RECOVERY"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_IN"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "TOKEN_REFRESHED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_UPDATED"
+ },
+ {
+ "type": "reference",
+ "target": 701,
+ "name": "AuthChangeEventMFA",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 701,
+ "name": "AuthChangeEventMFA",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 9,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "MFA_CHALLENGE_VERIFIED"
+ }
+ },
+ {
+ "id": 1112,
+ "name": "AuthenticatorAssuranceLevels",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 886,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "aal1"
+ },
+ {
+ "type": "literal",
+ "value": "aal2"
+ }
+ ]
+ }
+ },
+ {
+ "id": 907,
+ "name": "AuthFlowType",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 475,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "implicit"
+ },
+ {
+ "type": "literal",
+ "value": "pkce"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1238,
+ "name": "AuthMFAAdminDeleteFactorParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [],
+ "blockTags": [
+ {
+ "tag": "@expermental",
+ "content": []
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 983,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1239,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1240,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the MFA factor to delete."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 985,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1241,
+ "name": "userId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the user whose factor is being deleted."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 987,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1240, 1241]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 983,
+ "character": 45
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1235,
+ "name": "AuthMFAAdminDeleteFactorResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [],
+ "blockTags": [
+ {
+ "tag": "@expermental",
+ "content": []
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 976,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1236,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1237,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the factor that was successfully deleted."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 978,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1237]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 976,
+ "character": 61
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1245,
+ "name": "AuthMFAAdminListFactorsParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [],
+ "blockTags": [
+ {
+ "tag": "@expermental",
+ "content": []
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 999,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1246,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1247,
+ "name": "userId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the user."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1001,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1247]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 999,
+ "character": 44
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1242,
+ "name": "AuthMFAAdminListFactorsResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [],
+ "blockTags": [
+ {
+ "tag": "@expermental",
+ "content": []
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 992,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1243,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1244,
+ "name": "factors",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "All factors attached to the user."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 994,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 823,
+ "name": "Factor",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1244]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 992,
+ "character": 60
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1103,
+ "name": "AuthMFAChallengePhoneResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 835,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAChallengeResponseBase"
+ },
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "phone"
+ }
+ ],
+ "name": "AuthMFAChallengeResponseBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAChallengePhoneResponseFields"
+ },
+ "name": "AuthMFAChallengePhoneResponseFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1107,
+ "name": "AuthMFAChallengeResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 878,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 1102,
+ "name": "AuthMFAChallengeTOTPResponse",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1103,
+ "name": "AuthMFAChallengePhoneResponse",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1104,
+ "name": "AuthMFAChallengeWebauthnResponse",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1102,
+ "name": "AuthMFAChallengeTOTPResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 833,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAChallengeResponseBase"
+ },
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "totp"
+ }
+ ],
+ "name": "AuthMFAChallengeResponseBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAChallengeTOTPResponseFields"
+ },
+ "name": "AuthMFAChallengeTOTPResponseFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1104,
+ "name": "AuthMFAChallengeWebauthnResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Response type for WebAuthn MFA challenge.\nContains credential creation or request options from the server."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@see",
+ "content": [
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "W3C WebAuthn Spec - Credential Creation",
+ "target": "https://w3c.github.io/webauthn/#sctn-credential-creation"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 854,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAChallengeResponseBase"
+ },
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "webauthn"
+ }
+ ],
+ "name": "AuthMFAChallengeResponseBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAChallengeWebauthnResponseFields"
+ },
+ "name": "AuthMFAChallengeWebauthnResponseFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1105,
+ "name": "AuthMFAChallengeWebauthnResponseDataJSON",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "JSON-serializable version of WebAuthn challenge response.\nUsed for server communication with base64url-encoded binary fields."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 872,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAChallengeResponseBase"
+ },
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "webauthn"
+ }
+ ],
+ "name": "AuthMFAChallengeResponseBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAChallengeWebauthnResponseFieldsJSON"
+ },
+ "name": "AuthMFAChallengeWebauthnResponseFieldsJSON",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1106,
+ "name": "AuthMFAChallengeWebauthnServerResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Server response type for WebAuthn MFA challenge.\nContains JSON-formatted WebAuthn options ready for browser API."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 877,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1105,
+ "name": "AuthMFAChallengeWebauthnResponseDataJSON",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1280,
+ "name": "AuthMFAEnrollPhoneResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1120,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAEnrollResponseBase"
+ },
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "phone"
+ }
+ ],
+ "name": "AuthMFAEnrollResponseBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAEnrollPhoneResponseFields"
+ },
+ "name": "AuthMFAEnrollPhoneResponseFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1098,
+ "name": "AuthMFAEnrollResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 819,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 1279,
+ "name": "AuthMFAEnrollTOTPResponse",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1280,
+ "name": "AuthMFAEnrollPhoneResponse",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1281,
+ "name": "AuthMFAEnrollWebauthnResponse",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1279,
+ "name": "AuthMFAEnrollTOTPResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1115,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAEnrollResponseBase"
+ },
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "totp"
+ }
+ ],
+ "name": "AuthMFAEnrollResponseBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAEnrollTOTPResponseFields"
+ },
+ "name": "AuthMFAEnrollTOTPResponseFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1281,
+ "name": "AuthMFAEnrollWebauthnResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Response type for WebAuthn factor enrollment.\nReturns the enrolled factor ID and metadata."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@see",
+ "content": [
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "W3C WebAuthn Spec - Registering a New Credential",
+ "target": "https://w3c.github.io/webauthn/#sctn-registering-a-new-credential"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1127,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAEnrollResponseBase"
+ },
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "webauthn"
+ }
+ ],
+ "name": "AuthMFAEnrollResponseBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "AuthMFAEnrollWebauthnFields"
+ },
+ "name": "AuthMFAEnrollWebauthnFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1113,
+ "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 887,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1114,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1117,
+ "name": "currentAuthenticationMethods",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 902,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 807,
+ "name": "AMREntry",
+ "package": "@supabase/auth-js"
+ }
+ }
+ },
+ {
+ "id": 1115,
+ "name": "currentLevel",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Current AAL level of the session."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 889,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 1112,
+ "name": "AuthenticatorAssuranceLevels",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 1116,
+ "name": "nextLevel",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@see",
+ "content": [
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "GoTrueMFAApi#challenge",
+ "target": 1139
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 896,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 1112,
+ "name": "AuthenticatorAssuranceLevels",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1117, 1115, 1116]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 887,
+ "character": 74
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1108,
+ "name": "AuthMFAListFactorsResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "response of ListFactors, which should contain all the types of factors that are available, this ensures we always include all"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 880,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1111,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "FactorTypes"
+ },
+ "name": "FactorTypes",
+ "package": "@supabase/auth-js",
+ "preferValues": true
+ }
+ },
+ "default": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "FactorTypes"
+ },
+ "name": "FactorTypes",
+ "package": "@supabase/auth-js",
+ "preferValues": true
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1109,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1110,
+ "name": "all",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "All available factors (verified and unverified)."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 882,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 823,
+ "name": "Factor",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1110]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 880,
+ "character": 106
+ }
+ ]
+ }
+ },
+ {
+ "type": "mapped",
+ "parameter": "K",
+ "parameterType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": 1111,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ },
+ "templateType": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 823,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "K"
+ },
+ "name": "K",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": "verified"
+ }
+ ],
+ "name": "Factor",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1099,
+ "name": "AuthMFAUnenrollResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 820,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1100,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1101,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the factor that was successfully unenrolled."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 822,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1101]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 820,
+ "character": 52
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1097,
+ "name": "AuthMFAVerifyResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Response type for MFA verification operations.\nReturns session tokens on successful verification."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 818,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1090,
+ "name": "AuthMFAVerifyResponseData",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1090,
+ "name": "AuthMFAVerifyResponseData",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Data returned after successful MFA verification.\nContains new session tokens and updated user information."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 802,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1091,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1092,
+ "name": "access_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "New access token (JWT) after successful verification."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 804,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1094,
+ "name": "expires_in",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Number of seconds in which the access token will expire."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 808,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1095,
+ "name": "refresh_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Refresh token you can use to obtain new access tokens when expired."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 810,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1093,
+ "name": "token_type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Type of token, always "
+ },
+ {
+ "kind": "code",
+ "text": "`bearer`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 806,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "bearer"
+ }
+ },
+ {
+ "id": 1096,
+ "name": "user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Updated user profile."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 812,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 11,
+ "name": "User",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1092, 1094, 1095, 1093, 1096]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 802,
+ "character": 40
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1413,
+ "name": "AuthOAuthAuthorizationDetailsResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Response type for getting OAuth authorization details.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1372,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1403,
+ "name": "OAuthAuthorizationDetails",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1414,
+ "name": "AuthOAuthConsentResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Response type for OAuth consent decision (approve/deny).\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1377,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1415,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1416,
+ "name": "redirect_url",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URL to redirect the user back to the OAuth client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1379,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1416]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1377,
+ "character": 53
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 771,
+ "name": "AuthOtpResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "AuthOtpResponse is returned when OTP is used.\n\n"
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@see",
+ "text": "AuthResponse"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 121,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 754,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 772,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 775,
+ "name": "messageId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 124,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 774,
+ "name": "session",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 123,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 773,
+ "name": "user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 122,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [775, 774, 773]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 121,
+ "character": 59
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResultSafeDestructure",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 762,
+ "name": "AuthResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 107,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 754,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 763,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 765,
+ "name": "session",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 109,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 37,
+ "name": "Session",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 764,
+ "name": "user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 108,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 11,
+ "name": "User",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [765, 764]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 107,
+ "character": 56
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResultSafeDestructure",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 766,
+ "name": "AuthResponsePassword",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 111,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 754,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 767,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 769,
+ "name": "session",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 113,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 37,
+ "name": "Session",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 768,
+ "name": "user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 112,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 11,
+ "name": "User",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 770,
+ "name": "weak_password",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 114,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 736,
+ "name": "WeakPassword",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [769, 768, 770]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 111,
+ "character": 64
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResultSafeDestructure",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 776,
+ "name": "AuthTokenResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 126,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 754,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 777,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 779,
+ "name": "session",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 128,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 37,
+ "name": "Session",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 778,
+ "name": "user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 127,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 11,
+ "name": "User",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [779, 778]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 126,
+ "character": 61
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResultSafeDestructure",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 780,
+ "name": "AuthTokenResponsePassword",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 130,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 754,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 781,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 783,
+ "name": "session",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 132,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 37,
+ "name": "Session",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 782,
+ "name": "user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 131,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 11,
+ "name": "User",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 784,
+ "name": "weakPassword",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 133,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 736,
+ "name": "WeakPassword",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [783, 782, 784]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 130,
+ "character": 69
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResultSafeDestructure",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1261,
+ "name": "CallRefreshTokenResult",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1042,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 37,
+ "name": "Session",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1346,
+ "name": "CreateOAuthClientParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Parameters for creating a new OAuth client.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1230,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1347,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1348,
+ "name": "client_name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Human-readable name of the OAuth client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1232,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1349,
+ "name": "client_uri",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URI of the OAuth client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1234,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1351,
+ "name": "grant_types",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Array of allowed grant types (optional, defaults to authorization_code and refresh_token)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1238,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1326,
+ "name": "OAuthClientGrantType",
+ "package": "@supabase/auth-js"
+ }
+ }
+ },
+ {
+ "id": 1350,
+ "name": "redirect_uris",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Array of allowed redirect URIs"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1236,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 1352,
+ "name": "response_types",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Array of allowed response types (optional, defaults to code)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1240,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1327,
+ "name": "OAuthClientResponseType",
+ "package": "@supabase/auth-js"
+ }
+ }
+ },
+ {
+ "id": 1353,
+ "name": "scope",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Scope of the OAuth client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1242,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1348, 1349, 1351, 1350, 1352, 1353]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1230,
+ "character": 38
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1003,
+ "name": "EmailOtpType",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 606,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
+ }
+ ]
+ }
+ },
+ {
+ "id": 963,
+ "name": "EthereumWallet",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 537,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/web3/ethereum.ts",
+ "qualifiedName": "EIP1193Provider"
+ },
+ "name": "EIP1193Provider",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 964,
+ "name": "EthereumWeb3Credentials",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 538,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 965,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 966,
+ "name": "chain",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 539,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "ethereum"
+ }
+ },
+ {
+ "id": 969,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 544,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 970,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 972,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 548,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 973,
+ "name": "signInWithEthereum",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 549,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Partial"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/web3/ethereum.ts",
+ "qualifiedName": "EthereumSignInInput"
+ },
+ "name": "EthereumSignInInput",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "version"
+ },
+ {
+ "type": "literal",
+ "value": "domain"
+ },
+ {
+ "type": "literal",
+ "value": "uri"
+ },
+ {
+ "type": "literal",
+ "value": "statement"
+ }
+ ]
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ ],
+ "name": "Partial",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 971,
+ "name": "url",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 546,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [972, 973, 971]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 544,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 968,
+ "name": "statement",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Optional statement to include in the Sign in with Ethereum message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 543,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 967,
+ "name": "wallet",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Wallet interface to use. If not specified will default to "
+ },
+ {
+ "kind": "code",
+ "text": "`window.ethereum`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 541,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 963,
+ "name": "EthereumWallet",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [966, 969, 968, 967]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 538,
+ "character": 38
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 974,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 975,
+ "name": "chain",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 552,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "ethereum"
+ }
+ },
+ {
+ "id": 976,
+ "name": "message",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Sign in with Ethereum compatible message. Must include "
+ },
+ {
+ "kind": "code",
+ "text": "`Issued At`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`URI`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`Version`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 554,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 978,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 557,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 979,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 980,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 559,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [980]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 557,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 977,
+ "name": "signature",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Ethereum curve (secp256k1) signature of the message."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 556,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/web3/ethereum.ts",
+ "qualifiedName": "Hex"
+ },
+ "name": "Hex",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [975, 976, 978, 977]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 551,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 823,
+ "name": "Factor",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A MFA factor."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@see",
+ "content": [
+ {
+ "kind": "text",
+ "text": " - "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "GoTrueMFAApi#enroll",
+ "target": 1119
+ },
+ {
+ "kind": "text",
+ "text": "\n"
+ },
+ {
+ "kind": "text",
+ "text": " - "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "GoTrueMFAApi#listFactors",
+ "target": 1230
+ },
+ {
+ "kind": "text",
+ "text": "\n"
+ },
+ {
+ "kind": "text",
+ "text": " - "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "GoTrueMFAAdminApi#listFactors"
+ },
+ {
+ "kind": "text",
+ "text": "\n"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 241,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 831,
+ "name": "Type",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": 822,
+ "name": "FactorType",
+ "package": "@supabase/auth-js"
+ },
+ "default": {
+ "type": "reference",
+ "target": 822,
+ "name": "FactorType",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 832,
+ "name": "Status",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "FactorVerificationStatus"
+ },
+ "name": "FactorVerificationStatus",
+ "package": "@supabase/auth-js"
+ },
+ "default": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "objectType": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "FactorVerificationStatuses"
+ },
+ "name": "FactorVerificationStatuses",
+ "package": "@supabase/auth-js",
+ "preferValues": true
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 824,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 829,
+ "name": "created_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 254,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 827,
+ "name": "factor_type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Type of factor. "
+ },
+ {
+ "kind": "code",
+ "text": "`totp`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`phone`"
+ },
+ {
+ "kind": "text",
+ "text": " supported with this version"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 249,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 831,
+ "name": "Type",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "id": 826,
+ "name": "friendly_name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Friendly name of the factor, useful to disambiguate between multiple factors."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 245,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 825,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the factor."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 243,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 828,
+ "name": "status",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The verification status of the factor, default is "
+ },
+ {
+ "kind": "code",
+ "text": "`unverified`"
+ },
+ {
+ "kind": "text",
+ "text": " after "
+ },
+ {
+ "kind": "code",
+ "text": "`.enroll()`"
+ },
+ {
+ "kind": "text",
+ "text": ", then "
+ },
+ {
+ "kind": "code",
+ "text": "`verified`"
+ },
+ {
+ "kind": "text",
+ "text": " after the user verifies it with "
+ },
+ {
+ "kind": "code",
+ "text": "`.verify()`"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 253,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 832,
+ "name": "Status",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "id": 830,
+ "name": "updated_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 255,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [829, 827, 826, 825, 828, 830]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 241,
+ "character": 146
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 822,
+ "name": "FactorType",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Type of factor. "
+ },
+ {
+ "kind": "code",
+ "text": "`totp`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`phone`"
+ },
+ {
+ "kind": "text",
+ "text": " supported with this version"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 228,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "objectType": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "FactorTypes"
+ },
+ "name": "FactorTypes",
+ "package": "@supabase/auth-js",
+ "preferValues": true
+ }
+ }
+ }
+ },
+ {
+ "id": 86,
+ "name": "FunctionInvokeOptions",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 46,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 87,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 94,
+ "name": "body",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The body of the request."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "File"
+ },
+ "name": "File",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Blob"
+ },
+ "name": "Blob",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "ArrayBuffer"
+ },
+ "name": "ArrayBuffer",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "FormData"
+ },
+ "name": "FormData",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "ReadableStream"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Uint8Array"
+ },
+ "name": "Uint8Array",
+ "package": "typescript"
+ }
+ ],
+ "name": "ReadableStream",
+ "package": "typescript"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Record"
+ },
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Record",
+ "package": "typescript"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 88,
+ "name": "headers",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Object representing the headers to send with the request."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 50,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 89,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 50,
+ "character": 14
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 90,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 51,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 91,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 92,
+ "name": "method",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The HTTP verb of the request"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 56,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "POST"
+ },
+ {
+ "type": "literal",
+ "value": "GET"
+ },
+ {
+ "type": "literal",
+ "value": "PUT"
+ },
+ {
+ "type": "literal",
+ "value": "PATCH"
+ },
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 93,
+ "name": "region",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The Region to invoke the function in."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 60,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 97,
+ "name": "FunctionRegion",
+ "package": "@supabase/functions-js"
+ }
+ },
+ {
+ "id": 95,
+ "name": "signal",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The AbortSignal to use for the request."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 68,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "AbortSignal"
+ },
+ "name": "AbortSignal",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 96,
+ "name": "timeout",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The timeout for the request in milliseconds.\nIf the function takes longer than this, the request will be aborted."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 73,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [94, 88, 92, 93, 95, 96]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/functions-js/dist/module/types.d.ts",
+ "line": 46,
+ "character": 36
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1049,
+ "name": "GenerateEmailChangeLinkParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 673,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1050,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1052,
+ "name": "email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's email"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 676,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1053,
+ "name": "newEmail",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 680,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1054,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 681,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Pick"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1055,
+ "name": "GenerateLinkOptions",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ],
+ "name": "Pick",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1051,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 674,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "email_change_current"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_new"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1052, 1053, 1054, 1051]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 673,
+ "character": 44
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1039,
+ "name": "GenerateInviteOrMagiclinkParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 661,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1040,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1042,
+ "name": "email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's email"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 664,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1043,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 665,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Pick"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1055,
+ "name": "GenerateLinkOptions",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "data"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ]
+ }
+ ],
+ "name": "Pick",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1041,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 662,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1042, 1043, 1041]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 661,
+ "character": 46
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1058,
+ "name": "GenerateLinkParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 693,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 1033,
+ "name": "GenerateSignupLinkParams",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1039,
+ "name": "GenerateInviteOrMagiclinkParams",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1044,
+ "name": "GenerateRecoveryLinkParams",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1049,
+ "name": "GenerateEmailChangeLinkParams",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1063,
+ "name": "GenerateLinkProperties",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The properties related to the email link generated"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 699,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1064,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1065,
+ "name": "action_link",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The email link to send to the user.\nThe action_link follows the following format: auth/v1/verify?type={verification_type}&token={hashed_token}&redirect_to={redirect_to}"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 704,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1066,
+ "name": "email_otp",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The raw email OTP.\nYou should send this in the email if you want your users to verify using an OTP instead of the action link."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 709,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1067,
+ "name": "hashed_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The hashed token appended to the action link."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 713,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1068,
+ "name": "redirect_to",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The URL appended to the action link."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 715,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1069,
+ "name": "verification_type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The verification type that the email link is associated to."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 717,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1070,
+ "name": "GenerateLinkType",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1065, 1066, 1067, 1068, 1069]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 699,
+ "character": 37
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1059,
+ "name": "GenerateLinkResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 694,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 754,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1060,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1061,
+ "name": "properties",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 695,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1063,
+ "name": "GenerateLinkProperties",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1062,
+ "name": "user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 696,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 11,
+ "name": "User",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1061, 1062]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 694,
+ "character": 64
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResultSafeDestructure",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1070,
+ "name": "GenerateLinkType",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 719,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_current"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_new"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1044,
+ "name": "GenerateRecoveryLinkParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 667,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1045,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1047,
+ "name": "email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's email"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 670,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1048,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 671,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Pick"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1055,
+ "name": "GenerateLinkOptions",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ],
+ "name": "Pick",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1046,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 668,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "recovery"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1047, 1048, 1046]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 667,
+ "character": 41
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1033,
+ "name": "GenerateSignupLinkParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 655,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1034,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1036,
+ "name": "email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 657,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1038,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 659,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Pick"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1055,
+ "name": "GenerateLinkOptions",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "data"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ]
+ }
+ ],
+ "name": "Pick",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 1037,
+ "name": "password",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 658,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1035,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 656,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "signup"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1036, 1038, 1037, 1035]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 655,
+ "character": 39
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 712,
+ "name": "GoTrueClientOptions",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 27,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 713,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 721,
+ "name": "autoRefreshToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 34,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 727,
+ "name": "debug",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 47,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 728,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 47,
+ "character": 23
+ }
+ ],
+ "signatures": [
+ {
+ "id": 729,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "parameters": [
+ {
+ "id": 730,
+ "name": "message",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 731,
+ "name": "args",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isRest": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 720,
+ "name": "detectSessionInUrl",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 33,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 725,
+ "name": "fetch",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 45,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/fetch.ts",
+ "qualifiedName": "Fetch"
+ },
+ "name": "Fetch",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 726,
+ "name": "flowType",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 907,
+ "name": "AuthFlowType",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 733,
+ "name": "hasCustomAuthorizationHeader",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Set to \"true\" if there is a custom authorization header set globally."
+ }
+ ],
+ "modifierTags": ["@experimental"]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 58,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 715,
+ "name": "headers",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 29,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 716,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 29,
+ "character": 14
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 717,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 30,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 718,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 732,
+ "name": "lock",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time."
+ }
+ ],
+ "modifierTags": ["@experimental"]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 53,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 703,
+ "name": "LockFunc",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 722,
+ "name": "persistSession",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 35,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 723,
+ "name": "storage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1255,
+ "name": "SupportedStorage",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 719,
+ "name": "storageKey",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 32,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 734,
+ "name": "throwOnError",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there is an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 714,
+ "name": "url",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 28,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 724,
+ "name": "userStorage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Stores the user object in a separate storage location from the rest of the session data. When non-null, "
+ },
+ {
+ "kind": "code",
+ "text": "`storage`"
+ },
+ {
+ "kind": "text",
+ "text": " will only store a JSON object containing the access and refresh token and some adjacent metadata, while "
+ },
+ {
+ "kind": "code",
+ "text": "`userStorage`"
+ },
+ {
+ "kind": "text",
+ "text": " will only contain the user object under the key "
+ },
+ {
+ "kind": "code",
+ "text": "`storageKey + '-user'`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nWhen this option is set and cookie storage is used, "
+ },
+ {
+ "kind": "code",
+ "text": "`getSession()`"
+ },
+ {
+ "kind": "text",
+ "text": " and other functions that load a session from the cookie store might not return back a user. It's very important to always use "
+ },
+ {
+ "kind": "code",
+ "text": "`getUser()`"
+ },
+ {
+ "kind": "text",
+ "text": " to fetch a user object in those scenarios."
+ }
+ ],
+ "modifierTags": ["@experimental"]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 44,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1255,
+ "name": "SupportedStorage",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [721, 727, 720, 725, 726, 733, 715, 732, 722, 723, 719, 734, 714, 724]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 27,
+ "character": 34
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1258,
+ "name": "InitializeResult",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1039,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1259,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1260,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1040,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1260]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1039,
+ "character": 31
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1282,
+ "name": "JwtHeader",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1128,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1283,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1284,
+ "name": "alg",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1129,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "RS256"
+ },
+ {
+ "type": "literal",
+ "value": "ES256"
+ },
+ {
+ "type": "literal",
+ "value": "HS256"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1285,
+ "name": "kid",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1130,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1286,
+ "name": "typ",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1131,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1284, 1285, 1286]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1128,
+ "character": 24
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 703,
+ "name": "LockFunc",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Provide your own global lock implementation instead of the default\nimplementation. The function should acquire a lock for the duration of the\n"
+ },
+ {
+ "kind": "code",
+ "text": "`fn`"
+ },
+ {
+ "kind": "text",
+ "text": " async function, such that no other client instances will be able to\nhold it at the same time."
+ }
+ ],
+ "modifierTags": ["@experimental"]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 26,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 704,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 26,
+ "character": 23
+ }
+ ],
+ "signatures": [
+ {
+ "id": 705,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "typeParameters": [
+ {
+ "id": 711,
+ "name": "R",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 706,
+ "name": "name",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Name of the lock to be acquired."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 707,
+ "name": "acquireTimeout",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If negative, no timeout should occur. If positive it\n should throw an Error with an "
+ },
+ {
+ "kind": "code",
+ "text": "`isAcquireTimeout`"
+ },
+ {
+ "kind": "text",
+ "text": "\n property set to true if the operation fails to be\n acquired after this much time (ms)."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 708,
+ "name": "fn",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The operation to execute when the lock is acquired."
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 709,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 26,
+ "character": 69
+ }
+ ],
+ "signatures": [
+ {
+ "id": 710,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 711,
+ "name": "R",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 711,
+ "name": "R",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1089,
+ "name": "MFAChallengeAndVerifyParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 797,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAChallengeAndVerifyTOTPParams"
+ },
+ "name": "MFAChallengeAndVerifyTOTPParams",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1088,
+ "name": "MFAChallengeParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 793,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 1085,
+ "name": "MFAChallengeTOTPParams",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1086,
+ "name": "MFAChallengePhoneParams",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1087,
+ "name": "MFAChallengeWebauthnParams",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1086,
+ "name": "MFAChallengePhoneParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 777,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAChallengeParamsBase"
+ },
+ "name": "MFAChallengeParamsBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAChallengePhoneParamFields"
+ },
+ "name": "MFAChallengePhoneParamFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1085,
+ "name": "MFAChallengeTOTPParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 772,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAChallengeParamsBase"
+ },
+ "name": "MFAChallengeParamsBase",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1087,
+ "name": "MFAChallengeWebauthnParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Parameters for initiating a WebAuthn MFA challenge.\nIncludes Relying Party information needed for WebAuthn ceremonies."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@see",
+ "content": [
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "W3C WebAuthn Spec - Relying Party Operations",
+ "target": "https://w3c.github.io/webauthn/#sctn-rp-operations"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 792,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAChallengeParamsBase"
+ },
+ "name": "MFAChallengeParamsBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAChallengeWebauthnParamFields"
+ },
+ "name": "MFAChallengeWebauthnParamFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1071,
+ "name": "MFAEnrollParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 720,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 1276,
+ "name": "MFAEnrollTOTPParams",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1277,
+ "name": "MFAEnrollPhoneParams",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1278,
+ "name": "MFAEnrollWebauthnParams",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1277,
+ "name": "MFAEnrollPhoneParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1083,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAEnrollParamsBase"
+ },
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "phone"
+ }
+ ],
+ "name": "MFAEnrollParamsBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAEnrollPhoneParamFields"
+ },
+ "name": "MFAEnrollPhoneParamFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1276,
+ "name": "MFAEnrollTOTPParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1078,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAEnrollParamsBase"
+ },
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "totp"
+ }
+ ],
+ "name": "MFAEnrollParamsBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAEnrollTOTPParamFields"
+ },
+ "name": "MFAEnrollTOTPParamFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1278,
+ "name": "MFAEnrollWebauthnParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Parameters for enrolling a WebAuthn factor.\nCreates an unverified WebAuthn factor that must be verified with a credential."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@see",
+ "content": [
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "W3C WebAuthn Spec - Registering a New Credential",
+ "target": "https://w3c.github.io/webauthn/#sctn-registering-a-new-credential"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1090,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAEnrollParamsBase"
+ },
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "webauthn"
+ }
+ ],
+ "name": "MFAEnrollParamsBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAEnrollWebauthnFields"
+ },
+ "name": "MFAEnrollWebauthnFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1084,
+ "name": "MFATOTPChannel",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 771,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "objectType": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFATOTPChannels"
+ },
+ "name": "MFATOTPChannels",
+ "package": "@supabase/auth-js",
+ "preferValues": true
+ }
+ }
+ }
+ },
+ {
+ "id": 1072,
+ "name": "MFAUnenrollParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 721,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1073,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1074,
+ "name": "factorId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "ID of the factor being unenrolled."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 723,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1074]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 721,
+ "character": 32
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1083,
+ "name": "MFAVerifyParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 765,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 1075,
+ "name": "MFAVerifyTOTPParams",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1076,
+ "name": "MFAVerifyPhoneParams",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1081,
+ "name": "MFAVerifyWebauthnParams",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1076,
+ "name": "MFAVerifyPhoneParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 737,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAVerifyParamsBase"
+ },
+ "name": "MFAVerifyParamsBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAVerifyPhoneParamFields"
+ },
+ "name": "MFAVerifyPhoneParamFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1075,
+ "name": "MFAVerifyTOTPParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 735,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAVerifyParamsBase"
+ },
+ "name": "MFAVerifyParamsBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAVerifyTOTPParamFields"
+ },
+ "name": "MFAVerifyTOTPParamFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1077,
+ "name": "MFAVerifyWebauthnParamFields",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "WebAuthn-specific fields for MFA verification.\nSupports both credential creation (registration) and request (authentication) flows."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 755,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1080,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Type of WebAuthn operation: 'create' for registration, 'request' for authentication"
+ }
+ ]
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "create"
+ },
+ {
+ "type": "literal",
+ "value": "request"
+ }
+ ]
+ },
+ "default": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "create"
+ },
+ {
+ "type": "literal",
+ "value": "request"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1078,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1079,
+ "name": "webauthn",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 756,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAVerifyWebauthnParamFieldsBase"
+ },
+ "name": "MFAVerifyWebauthnParamFieldsBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAVerifyWebauthnCredentialParamFields"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1080,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "MFAVerifyWebauthnCredentialParamFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1079]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 755,
+ "character": 98
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1081,
+ "name": "MFAVerifyWebauthnParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Parameters for WebAuthn MFA verification.\nUsed to verify WebAuthn credentials after challenge."
+ }
+ ],
+ "blockTags": [
+ {
+ "tag": "@see",
+ "content": [
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "W3C WebAuthn Spec - Verifying an Authentication Assertion",
+ "target": "https://w3c.github.io/webauthn/#sctn-verifying-assertion"
+ }
+ ]
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 764,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 1082,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Type of WebAuthn operation: 'create' for registration, 'request' for authentication"
+ }
+ ]
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "create"
+ },
+ {
+ "type": "literal",
+ "value": "request"
+ }
+ ]
+ },
+ "default": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "create"
+ },
+ {
+ "type": "literal",
+ "value": "request"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "MFAVerifyParamsBase"
+ },
+ "name": "MFAVerifyParamsBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 1077,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1082,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "MFAVerifyWebauthnParamFields",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1002,
+ "name": "MobileOtpType",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 605,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1397,
+ "name": "OAuthAuthorizationClient",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "OAuth client details in an authorization request.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1337,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1398,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1399,
+ "name": "client_id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Unique identifier for the OAuth client (UUID)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1339,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1400,
+ "name": "client_name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Human-readable name of the OAuth client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1341,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1401,
+ "name": "client_uri",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URI of the OAuth client's website"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1343,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1402,
+ "name": "logo_uri",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URI of the OAuth client's logo"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1345,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1399, 1400, 1401, 1402]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1337,
+ "character": 39
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1403,
+ "name": "OAuthAuthorizationDetails",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "OAuth authorization details for the consent flow.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1351,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1404,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1405,
+ "name": "authorization_id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The authorization ID"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1353,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1407,
+ "name": "client",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "OAuth client requesting authorization"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1357,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1397,
+ "name": "OAuthAuthorizationClient",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1406,
+ "name": "redirect_uri",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Redirect URI - present if user already consented (can be used to trigger immediate redirect)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1355,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1412,
+ "name": "scope",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Space-separated list of requested scopes"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1366,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1408,
+ "name": "user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "User object associated with the authorization"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1359,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1409,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1411,
+ "name": "email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "User email"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1363,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1410,
+ "name": "id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "User ID (UUID)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1361,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1411, 1410]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1359,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1405, 1407, 1406, 1412, 1408]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1351,
+ "character": 40
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1330,
+ "name": "OAuthClient",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "OAuth client object returned from the OAuth 2.1 server.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1196,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1331,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1332,
+ "name": "client_id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Unique identifier for the OAuth client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1198,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1333,
+ "name": "client_name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Human-readable name of the OAuth client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1200,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1334,
+ "name": "client_secret",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Client secret (only returned on registration and regeneration)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1202,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1335,
+ "name": "client_type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Type of OAuth client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1204,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1328,
+ "name": "OAuthClientType",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1338,
+ "name": "client_uri",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URI of the OAuth client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1210,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1344,
+ "name": "created_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Timestamp when the client was created"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1222,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1341,
+ "name": "grant_types",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Array of allowed grant types"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1216,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1326,
+ "name": "OAuthClientGrantType",
+ "package": "@supabase/auth-js"
+ }
+ }
+ },
+ {
+ "id": 1339,
+ "name": "logo_uri",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URI of the OAuth client's logo"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1212,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1340,
+ "name": "redirect_uris",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Array of allowed redirect URIs"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1214,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 1337,
+ "name": "registration_type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Registration type of the client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1208,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1329,
+ "name": "OAuthClientRegistrationType",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1342,
+ "name": "response_types",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Array of allowed response types"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1218,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1327,
+ "name": "OAuthClientResponseType",
+ "package": "@supabase/auth-js"
+ }
+ }
+ },
+ {
+ "id": 1343,
+ "name": "scope",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Scope of the OAuth client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1220,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1336,
+ "name": "token_endpoint_auth_method",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Token endpoint authentication method"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1206,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1345,
+ "name": "updated_at",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Timestamp when the client was last updated"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1224,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [
+ 1332, 1333, 1334, 1335, 1338, 1344, 1341, 1339, 1340, 1337, 1342, 1343, 1336,
+ 1345
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1196,
+ "character": 26
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1326,
+ "name": "OAuthClientGrantType",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "OAuth client grant types supported by the OAuth 2.1 server.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1176,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "authorization_code"
+ },
+ {
+ "type": "literal",
+ "value": "refresh_token"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1362,
+ "name": "OAuthClientListResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Response type for listing OAuth clients.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1270,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1363,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1364,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1271,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1365,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1367,
+ "name": "aud",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1273,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1366,
+ "name": "clients",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1272,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1330,
+ "name": "OAuthClient",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1367, 1366]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1271,
+ "character": 10
+ }
+ ]
+ }
+ },
+ {
+ "type": "reference",
+ "target": 1262,
+ "name": "Pagination",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1368,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1275,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1364, 1368]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1270,
+ "character": 38
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1369,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1370,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1277,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1371,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1372,
+ "name": "clients",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1278,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "tuple"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1372]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1277,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1373,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1280,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1370, 1373]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1276,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 1329,
+ "name": "OAuthClientRegistrationType",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "OAuth client registration type.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1191,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "dynamic"
+ },
+ {
+ "type": "literal",
+ "value": "manual"
+ }
+ ]
+ }
+ },
+ {
+ "id": 1361,
+ "name": "OAuthClientResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Response type for OAuth client operations.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1265,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1330,
+ "name": "OAuthClient",
+ "package": "@supabase/auth-js"
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1327,
+ "name": "OAuthClientResponseType",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "OAuth client response types supported by the OAuth 2.1 server.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1181,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "code"
+ }
+ },
+ {
+ "id": 1328,
+ "name": "OAuthClientType",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "OAuth client type indicating whether the client can keep credentials confidential.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1186,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "public"
+ },
+ {
+ "type": "literal",
+ "value": "confidential"
+ }
+ ]
+ }
+ },
+ {
+ "id": 785,
+ "name": "OAuthResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 135,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 786,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 787,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 136,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 788,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 789,
+ "name": "provider",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 137,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 700,
+ "name": "Provider",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 790,
+ "name": "url",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 138,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [789, 790]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 136,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 791,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 140,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [787, 791]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 135,
+ "character": 28
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 792,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 793,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 142,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 794,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 795,
+ "name": "provider",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 143,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 700,
+ "name": "Provider",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 796,
+ "name": "url",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 144,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [795, 796]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 142,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 797,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 146,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [793, 797]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 141,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 1269,
+ "name": "PageParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1049,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1270,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1271,
+ "name": "page",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The page number"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1051,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1272,
+ "name": "perPage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Number of items returned per page"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1053,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1271, 1272]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1049,
+ "character": 25
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1262,
+ "name": "Pagination",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1043,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1263,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1265,
+ "name": "lastPage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1046,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1264,
+ "name": "nextPage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1045,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 1266,
+ "name": "total",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1047,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1265, 1264, 1266]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1043,
+ "character": 25
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 1267,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1044,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1268,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 50,
+ "name": "PostgrestMaybeSingleResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/postgrest-js/dist/cjs/types/types.d.ts",
+ "line": 25,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 51,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 48,
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 51,
+ "name": "T",
+ "package": "@supabase/postgrest-js",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ ],
+ "name": "PostgrestSingleResponse",
+ "package": "@supabase/postgrest-js"
+ }
+ },
+ {
+ "id": 46,
+ "name": "PostgrestResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/postgrest-js/dist/cjs/types/types.d.ts",
+ "line": 26,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 47,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 48,
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 47,
+ "name": "T",
+ "package": "@supabase/postgrest-js",
+ "refersToTypeParameter": true
+ }
+ }
+ ],
+ "name": "PostgrestSingleResponse",
+ "package": "@supabase/postgrest-js"
+ }
+ },
+ {
+ "id": 48,
+ "name": "PostgrestSingleResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/postgrest-js/dist/cjs/types/types.d.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 49,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../postgrest-js/src/types/types.ts",
+ "qualifiedName": "PostgrestResponseSuccess"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 49,
+ "name": "T",
+ "package": "@supabase/postgrest-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "PostgrestResponseSuccess",
+ "package": "@supabase/postgrest-js"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../postgrest-js/src/types/types.ts",
+ "qualifiedName": "PostgrestResponseFailure"
+ },
+ "name": "PostgrestResponseFailure",
+ "package": "@supabase/postgrest-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 740,
+ "name": "Prettify",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Resolve mapped types and show the derived keys and their types when hovering in\nVS Code, instead of just showing the names those mapped types are defined with."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 75,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 741,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 741,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ },
+ "trueType": {
+ "type": "reference",
+ "target": 741,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ },
+ "falseType": {
+ "type": "mapped",
+ "parameter": "K",
+ "parameterType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 741,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ },
+ "templateType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "K"
+ },
+ "name": "K",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ },
+ "objectType": {
+ "type": "reference",
+ "target": 741,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 700,
+ "name": "Provider",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "One of the providers supported by GoTrue."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "bitbucket"
+ },
+ {
+ "type": "literal",
+ "value": "discord"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "literal",
+ "value": "figma"
+ },
+ {
+ "type": "literal",
+ "value": "github"
+ },
+ {
+ "type": "literal",
+ "value": "gitlab"
+ },
+ {
+ "type": "literal",
+ "value": "google"
+ },
+ {
+ "type": "literal",
+ "value": "kakao"
+ },
+ {
+ "type": "literal",
+ "value": "keycloak"
+ },
+ {
+ "type": "literal",
+ "value": "linkedin"
+ },
+ {
+ "type": "literal",
+ "value": "linkedin_oidc"
+ },
+ {
+ "type": "literal",
+ "value": "notion"
+ },
+ {
+ "type": "literal",
+ "value": "slack"
+ },
+ {
+ "type": "literal",
+ "value": "slack_oidc"
+ },
+ {
+ "type": "literal",
+ "value": "spotify"
+ },
+ {
+ "type": "literal",
+ "value": "twitch"
+ },
+ {
+ "type": "literal",
+ "value": "twitter"
+ },
+ {
+ "type": "literal",
+ "value": "workos"
+ },
+ {
+ "type": "literal",
+ "value": "zoom"
+ },
+ {
+ "type": "literal",
+ "value": "fly"
+ }
+ ]
+ }
+ },
+ {
+ "id": 272,
+ "name": "QueryData",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 118,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L118"
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 275,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 275,
+ "name": "T",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "PromiseLike"
+ },
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 273,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 274,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 118,
+ "character": 51,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L118"
+ }
+ ],
+ "type": {
+ "type": "inferred",
+ "name": "U"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [274]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 118,
+ "character": 49,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L118"
+ }
+ ]
+ }
+ }
+ ],
+ "name": "PromiseLike",
+ "package": "typescript"
+ },
+ "trueType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/types.ts",
+ "qualifiedName": "U"
+ },
+ "name": "U",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ },
+ {
+ "id": 276,
+ "name": "QueryError",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 119,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L119"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 52,
+ "name": "PostgrestError",
+ "package": "@supabase/postgrest-js",
+ "qualifiedName": "default"
+ }
+ },
+ {
+ "id": 270,
+ "name": "QueryResult",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Helper types for query results."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 117,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L117"
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 271,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 271,
+ "name": "T",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "PromiseLike"
+ },
+ "typeArguments": [
+ {
+ "type": "inferred",
+ "name": "U"
+ }
+ ],
+ "name": "PromiseLike",
+ "package": "typescript"
+ },
+ "trueType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/types.ts",
+ "qualifiedName": "U"
+ },
+ "name": "U",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ },
+ {
+ "id": 1914,
+ "name": "RealtimeChannelOptions",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 11,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1915,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1916,
+ "name": "config",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 12,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1917,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1918,
+ "name": "broadcast",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received\nreplay option instructs server to replay broadcast messages"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 18,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1919,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1921,
+ "name": "ack",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 20,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 1922,
+ "name": "replay",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 21,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeChannel.ts",
+ "qualifiedName": "ReplayOption"
+ },
+ "name": "ReplayOption",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 1920,
+ "name": "self",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 19,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1921, 1922, 1920]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 18,
+ "character": 20
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1923,
+ "name": "presence",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "key option is used to track presence payload across clients"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 26,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1924,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1926,
+ "name": "enabled",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 1925,
+ "name": "key",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 27,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1926, 1925]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 26,
+ "character": 19
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1927,
+ "name": "private",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "defines if the channel is private or not and if RLS policies will be used to check data"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 33,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1918, 1923, 1927]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 12,
+ "character": 12
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1916]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 11,
+ "character": 37
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1928,
+ "name": "RealtimeChannelSendResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 115,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
+ {
+ "id": 2039,
+ "name": "RealtimeClientOptions",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 33,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2040,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 2066,
+ "name": "accessToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 54,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2067,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 54,
+ "character": 18
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2068,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2051,
+ "name": "decode",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 41,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 2050,
+ "name": "encode",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 40,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 2063,
+ "name": "fetch",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 51,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeClient.ts",
+ "qualifiedName": "Fetch"
+ },
+ "name": "Fetch",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 2053,
+ "name": "headers",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 43,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2054,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 43,
+ "character": 14
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 2055,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 44,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2056,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2044,
+ "name": "heartbeatCallback",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 37,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2045,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 37,
+ "character": 24
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2046,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "parameters": [
+ {
+ "id": 2047,
+ "name": "status",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeClient.ts",
+ "qualifiedName": "HeartbeatStatus"
+ },
+ "name": "HeartbeatStatus",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2043,
+ "name": "heartbeatIntervalMs",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 2061,
+ "name": "log_level",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 49,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeClient.ts",
+ "qualifiedName": "LogLevel"
+ },
+ "name": "LogLevel",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 2049,
+ "name": "logger",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 39,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 2062,
+ "name": "logLevel",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 50,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeClient.ts",
+ "qualifiedName": "LogLevel"
+ },
+ "name": "LogLevel",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 2057,
+ "name": "params",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 46,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2058,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 46,
+ "character": 13
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 2059,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 47,
+ "character": 8
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2060,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2052,
+ "name": "reconnectAfterMs",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 42,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Function"
+ },
+ "name": "Function",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 2042,
+ "name": "timeout",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 35,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 2041,
+ "name": "transport",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 34,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2233,
+ "name": "WebSocketLikeConstructor",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 2048,
+ "name": "vsn",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 38,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2064,
+ "name": "worker",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 52,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 2065,
+ "name": "workerUrl",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 53,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [
+ 2066, 2051, 2050, 2063, 2053, 2044, 2043, 2061, 2049, 2062, 2057, 2052, 2042,
+ 2041, 2048, 2064, 2065
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 33,
+ "character": 36
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2069,
+ "name": "RealtimeMessage",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2070,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 2072,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2075,
+ "name": "join_ref",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 20,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2073,
+ "name": "payload",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 18,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 2074,
+ "name": "ref",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2071,
+ "name": "topic",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 16,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [2072, 2075, 2073, 2074, 2071]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 15,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2076,
+ "name": "RealtimePostgresChangesFilter",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 97,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 2082,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "templateLiteral",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "target": 2152,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
+ "package": "@supabase/realtime-js"
+ },
+ ""
+ ]
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2077,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 2078,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The type of database change to listen to."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 101,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2082,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "id": 2081,
+ "name": "filter",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Receive database changes when filter is matched."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 113,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2079,
+ "name": "schema",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The database schema to listen to."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 105,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2080,
+ "name": "table",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The database table to listen to."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 109,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [2078, 2081, 2079, 2080]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 97,
+ "character": 99
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2083,
+ "name": "RealtimePostgresChangesPayload",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 94,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 2084,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2085,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 94,
+ "character": 53
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 2086,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 95,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2087,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 2088,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 2084,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload",
+ "package": "@supabase/realtime-js"
+ },
+ {
+ "type": "reference",
+ "target": 2098,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 2084,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload",
+ "package": "@supabase/realtime-js"
+ },
+ {
+ "type": "reference",
+ "target": 2107,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 2084,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload",
+ "package": "@supabase/realtime-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 2107,
+ "name": "RealtimePostgresDeletePayload",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 87,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 2113,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2114,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 87,
+ "character": 52
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 2115,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 88,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2116,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeChannel.ts",
+ "qualifiedName": "RealtimePostgresChangesPayloadBase"
+ },
+ "name": "RealtimePostgresChangesPayloadBase",
+ "package": "@supabase/realtime-js"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 2108,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 2109,
+ "name": "eventType",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 90,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "templateLiteral",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "target": 2156,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE",
+ "package": "@supabase/realtime-js"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 2110,
+ "name": "new",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 91,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2111,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 91,
+ "character": 9
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2112,
+ "name": "old",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 92,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Partial"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 2113,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Partial",
+ "package": "typescript"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [2109, 2110, 2112]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 89,
+ "character": 42
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 2088,
+ "name": "RealtimePostgresInsertPayload",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 73,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 2094,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2095,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 73,
+ "character": 52
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 2096,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 74,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2097,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeChannel.ts",
+ "qualifiedName": "RealtimePostgresChangesPayloadBase"
+ },
+ "name": "RealtimePostgresChangesPayloadBase",
+ "package": "@supabase/realtime-js"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 2089,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 2090,
+ "name": "eventType",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 76,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "templateLiteral",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "target": 2154,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT",
+ "package": "@supabase/realtime-js"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 2091,
+ "name": "new",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 77,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2094,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "id": 2092,
+ "name": "old",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 78,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2093,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 78,
+ "character": 9
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [2090, 2091, 2092]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 75,
+ "character": 42
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 2098,
+ "name": "RealtimePostgresUpdatePayload",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 80,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 2103,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2104,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 80,
+ "character": 52
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 2105,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 81,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2106,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimeChannel.ts",
+ "qualifiedName": "RealtimePostgresChangesPayloadBase"
+ },
+ "name": "RealtimePostgresChangesPayloadBase",
+ "package": "@supabase/realtime-js"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 2099,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 2100,
+ "name": "eventType",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 83,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "templateLiteral",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "target": 2155,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE",
+ "package": "@supabase/realtime-js"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 2101,
+ "name": "new",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 84,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2103,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "id": 2102,
+ "name": "old",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 85,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Partial"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 2103,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Partial",
+ "package": "typescript"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [2100, 2101, 2102]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 82,
+ "character": 42
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 2117,
+ "name": "RealtimePresenceJoinPayload",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 2123,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2124,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 13,
+ "character": 50
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 2125,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 14,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2126,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2118,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 2121,
+ "name": "currentPresences",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 18,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimePresence.ts",
+ "qualifiedName": "Presence"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 2123,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Presence",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ },
+ {
+ "id": 2119,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 16,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "templateLiteral",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "target": 2159,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN",
+ "package": "@supabase/realtime-js"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 2120,
+ "name": "key",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 17,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2122,
+ "name": "newPresences",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimePresence.ts",
+ "qualifiedName": "Presence"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 2123,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Presence",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [2121, 2119, 2120, 2122]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 15,
+ "character": 5
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2127,
+ "name": "RealtimePresenceLeavePayload",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 21,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 2133,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2134,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 21,
+ "character": 51
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 2135,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 22,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2136,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2128,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 2131,
+ "name": "currentPresences",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 26,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimePresence.ts",
+ "qualifiedName": "Presence"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 2133,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Presence",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ },
+ {
+ "id": 2129,
+ "name": "event",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 24,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "templateLiteral",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "target": 2160,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE",
+ "package": "@supabase/realtime-js"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 2130,
+ "name": "key",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 25,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 2132,
+ "name": "leftPresences",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 27,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimePresence.ts",
+ "qualifiedName": "Presence"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 2133,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Presence",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [2131, 2129, 2130, 2132]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 23,
+ "character": 5
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2137,
+ "name": "RealtimePresenceState",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 2141,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2142,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 8,
+ "character": 44
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 2143,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 9,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2144,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ },
+ "default": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2145,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 10,
+ "character": 4
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 2138,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 10,
+ "character": 10
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 2139,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimePresence.d.ts",
+ "line": 11,
+ "character": 4
+ }
+ ],
+ "parameters": [
+ {
+ "id": 2140,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/RealtimePresence.ts",
+ "qualifiedName": "Presence"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 2141,
+ "name": "T",
+ "package": "@supabase/realtime-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Presence",
+ "package": "@supabase/realtime-js"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2146,
+ "name": "RealtimeRemoveChannelResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeClient.d.ts",
+ "line": 22,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ },
+ {
+ "id": 745,
+ "name": "RequestResult",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "a shared result type that encapsulates errors instead of throwing them, allows you to optionally specify the ErrorType"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 87,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 752,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ },
+ {
+ "id": 753,
+ "name": "ErrorType",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Error"
+ },
+ "name": "Error",
+ "package": "typescript"
+ },
+ "default": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 746,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 747,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 88,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 752,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "id": 748,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 89,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [747, 748]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 87,
+ "character": 68
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 749,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 750,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 91,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 751,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 92,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Error"
+ },
+ "name": "Error",
+ "package": "typescript"
+ },
+ "extendsType": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ },
+ "trueType": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ },
+ "falseType": {
+ "type": "reference",
+ "target": 753,
+ "name": "ErrorType",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [750, 751]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 90,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 754,
+ "name": "RequestResultSafeDestructure",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "similar to RequestResult except it allows you to destructure the possible shape of the success response\n "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@see",
+ "text": "RequestResult"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 98,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 761,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 755,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 756,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 99,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 761,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "id": 757,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 100,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [756, 757]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 98,
+ "character": 46
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 758,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 759,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 102,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 761,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "trueType": {
+ "type": "mapped",
+ "parameter": "K",
+ "parameterType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 761,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ },
+ "templateType": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ "falseType": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ },
+ {
+ "id": 760,
+ "name": "error",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 105,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [759, 760]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 101,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 1287,
+ "name": "RequiredClaims",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1133,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1288,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1295,
+ "name": "aal",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1140,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 1112,
+ "name": "AuthenticatorAssuranceLevels",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 1291,
+ "name": "aud",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1136,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 1292,
+ "name": "exp",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1137,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1293,
+ "name": "iat",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1138,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 1289,
+ "name": "iss",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1134,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1294,
+ "name": "role",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1139,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1296,
+ "name": "session_id",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1141,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1290,
+ "name": "sub",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1135,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1295, 1291, 1292, 1293, 1289, 1294, 1296, 1290]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1133,
+ "character": 29
+ }
+ ]
+ }
+ },
+ "extendedBy": [
+ {
+ "type": "reference",
+ "target": 1297,
+ "name": "JwtPayload"
+ }
+ ]
+ },
+ {
+ "id": 1004,
+ "name": "ResendParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 607,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1005,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1007,
+ "name": "email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 609,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1008,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 610,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1009,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1011,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 614,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1010,
+ "name": "emailRedirectTo",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A URL to send the user to after they have signed-in."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 612,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1011, 1010]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 610,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1006,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 608,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Extract"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1003,
+ "name": "EmailOtpType",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ }
+ ]
+ }
+ ],
+ "name": "Extract",
+ "package": "typescript"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1007, 1008, 1006]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 607,
+ "character": 27
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1012,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1015,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 619,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1016,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1017,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 621,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1017]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 619,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1014,
+ "name": "phone",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 618,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1013,
+ "name": "type",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 617,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Extract"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 1002,
+ "name": "MobileOtpType",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ ],
+ "name": "Extract",
+ "package": "typescript"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1015, 1014, 1013]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 616,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 871,
+ "name": "SignInAnonymouslyCredentials",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 408,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 872,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 873,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 409,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 874,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 876,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 417,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 875,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A custom data object to store the user's metadata. This maps to the "
+ },
+ {
+ "kind": "code",
+ "text": "`auth.users.raw_user_meta_data`"
+ },
+ {
+ "kind": "text",
+ "text": " column.\n\nThe "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " should be a JSON object that includes user-specific info, such as their first and last name."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 415,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [876, 875]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 409,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [873]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 408,
+ "character": 43
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 920,
+ "name": "SignInWithIdTokenCredentials",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 492,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 921,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 925,
+ "name": "access_token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If the ID token contains an "
+ },
+ {
+ "kind": "code",
+ "text": "`at_hash`"
+ },
+ {
+ "kind": "text",
+ "text": " claim, then the hash of this value is compared to the value in the ID token."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 498,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 926,
+ "name": "nonce",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If the ID token contains a "
+ },
+ {
+ "kind": "code",
+ "text": "`nonce`"
+ },
+ {
+ "kind": "text",
+ "text": " claim, then the hash of this value is compared to the value in the ID token."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 500,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 927,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 501,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 928,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 929,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 503,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [929]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 501,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 922,
+ "name": "provider",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Provider name or OIDC "
+ },
+ {
+ "kind": "code",
+ "text": "`iss`"
+ },
+ {
+ "kind": "text",
+ "text": " value identifying which provider should be used to verify the provided token. Supported names: "
+ },
+ {
+ "kind": "code",
+ "text": "`google`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`apple`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`azure`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`facebook`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`kakao`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`keycloak`"
+ },
+ {
+ "kind": "text",
+ "text": " (deprecated)."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 494,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "google"
+ },
+ {
+ "type": "literal",
+ "value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "literal",
+ "value": "kakao"
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 923,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 494,
+ "character": 78
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "id": 924,
+ "name": "token",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "OIDC ID token issued by the specified provider. The "
+ },
+ {
+ "kind": "code",
+ "text": "`iss`"
+ },
+ {
+ "kind": "text",
+ "text": " claim in the ID token must match the supplied provider. Some ID tokens contain an "
+ },
+ {
+ "kind": "code",
+ "text": "`at_hash`"
+ },
+ {
+ "kind": "text",
+ "text": " which require that you provide an "
+ },
+ {
+ "kind": "code",
+ "text": "`access_token`"
+ },
+ {
+ "kind": "text",
+ "text": " value to be accepted properly. If the token contains a "
+ },
+ {
+ "kind": "code",
+ "text": "`nonce`"
+ },
+ {
+ "kind": "text",
+ "text": " claim you must supply the nonce used to obtain the ID token."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 496,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [925, 926, 927, 922, 924]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 492,
+ "character": 43
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 908,
+ "name": "SignInWithOAuthCredentials",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 476,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 909,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 911,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 479,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 912,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 915,
+ "name": "queryParams",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "An object of query params"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 485,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 916,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 485,
+ "character": 22
+ }
+ ],
+ "indexSignatures": [
+ {
+ "id": 917,
+ "name": "__index",
+ "variant": "signature",
+ "kind": 8192,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 486,
+ "character": 12
+ }
+ ],
+ "parameters": [
+ {
+ "id": 918,
+ "name": "key",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 913,
+ "name": "redirectTo",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A URL to send the user to after they are confirmed."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 481,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 914,
+ "name": "scopes",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A space-separated list of scopes granted to the OAuth application."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 483,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 919,
+ "name": "skipBrowserRedirect",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 489,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [915, 913, 914, 919]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 479,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 910,
+ "name": "provider",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "One of the providers supported by GoTrue."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 478,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 700,
+ "name": "Provider",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [911, 910]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 476,
+ "character": 41
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 885,
+ "name": "SignInWithPasswordCredentials",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 435,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "PasswordCredentialsBase"
+ },
+ "name": "PasswordCredentialsBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 886,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 887,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 436,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 888,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 889,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 437,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [889]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 436,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [887]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 435,
+ "character": 70
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 890,
+ "name": "SignInWithPasswordlessCredentials",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 440,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 891,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 892,
+ "name": "email",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's email address."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 442,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 893,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 443,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 894,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 898,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 455,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 897,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A custom data object to store the user's metadata. This maps to the "
+ },
+ {
+ "kind": "code",
+ "text": "`auth.users.raw_user_meta_data`"
+ },
+ {
+ "kind": "text",
+ "text": " column.\n\nThe "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " should be a JSON object that includes user-specific info, such as their first and last name."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 453,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 895,
+ "name": "emailRedirectTo",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The redirect url embedded in the email link"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 445,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 896,
+ "name": "shouldCreateUser",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If set to false, this method will not create a new user. Defaults to true."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 447,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [898, 897, 895, 896]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 443,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [892, 893]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 440,
+ "character": 48
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 899,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 901,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 460,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 902,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 905,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 470,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 906,
+ "name": "channel",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Messaging channel to use (e.g. whatsapp or sms)"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 472,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
+ {
+ "id": 904,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A custom data object to store the user's metadata. This maps to the "
+ },
+ {
+ "kind": "code",
+ "text": "`auth.users.raw_user_meta_data`"
+ },
+ {
+ "kind": "text",
+ "text": " column.\n\nThe "
+ },
+ {
+ "kind": "code",
+ "text": "`data`"
+ },
+ {
+ "kind": "text",
+ "text": " should be a JSON object that includes user-specific info, such as their first and last name."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 468,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 903,
+ "name": "shouldCreateUser",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If set to false, this method will not create a new user. Defaults to true."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 462,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [905, 906, 904, 903]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 460,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 900,
+ "name": "phone",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The user's phone number."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 459,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [901, 900]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 457,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 1018,
+ "name": "SignInWithSSO",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 624,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1019,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1021,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 627,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1022,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1024,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 631,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1023,
+ "name": "redirectTo",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A URL to send the user to after they have signed-in."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 629,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1025,
+ "name": "skipBrowserRedirect",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If set to true, the redirect will not happen on the client side.\nThis parameter is used when you wish to handle the redirect yourself.\nDefaults to false."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 637,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1024, 1023, 1025]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 627,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1020,
+ "name": "providerId",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "UUID of the SSO provider to invoke single-sign on to."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 626,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1021, 1020]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 624,
+ "character": 28
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1026,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1027,
+ "name": "domain",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Domain name of the organization for which to invoke single-sign on."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 641,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1028,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 642,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1029,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1031,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 646,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1030,
+ "name": "redirectTo",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A URL to send the user to after they have signed-in."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 644,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1032,
+ "name": "skipBrowserRedirect",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If set to true, the redirect will not happen on the client side.\nThis parameter is used when you wish to handle the redirect yourself.\nDefaults to false."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 652,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1031, 1030, 1032]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 642,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1027, 1028]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 639,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 1273,
+ "name": "SignOut",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1055,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1274,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1275,
+ "name": "scope",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Determines which sessions should be\nlogged out. Global means all\nsessions by this account. Local\nmeans only this session. Others\nmeans all other sessions except the\ncurrent one. When using others,\nthere is no sign-out event fired on\nthe current session!"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1066,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1275]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1055,
+ "character": 22
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1325,
+ "name": "SignOutScope",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1171,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "objectType": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "target": 1324,
+ "name": "SIGN_OUT_SCOPES",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ },
+ {
+ "id": 877,
+ "name": "SignUpWithPasswordCredentials",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 420,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 740,
+ "typeArguments": [
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "PasswordCredentialsBase"
+ },
+ "name": "PasswordCredentialsBase",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 878,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 879,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 421,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 880,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 883,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 424,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 884,
+ "name": "channel",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 425,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
+ {
+ "id": 882,
+ "name": "data",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 423,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 881,
+ "name": "emailRedirectTo",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 422,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [883, 884, 882, 881]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 421,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [879]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 420,
+ "character": 79
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Prettify",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 930,
+ "name": "SolanaWallet",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 506,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 931,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 936,
+ "name": "publicKey",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 508,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 937,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 938,
+ "name": "toBase58",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 509,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 939,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 509,
+ "character": 18
+ }
+ ],
+ "signatures": [
+ {
+ "id": 940,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [938]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 508,
+ "character": 16
+ }
+ ]
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 932,
+ "name": "signIn",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 507,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 933,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 507,
+ "character": 13
+ }
+ ],
+ "signatures": [
+ {
+ "id": 934,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "parameters": [
+ {
+ "id": 935,
+ "name": "inputs",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isRest": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/web3/solana.ts",
+ "qualifiedName": "SolanaSignInInput"
+ },
+ "name": "SolanaSignInInput",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/web3/solana.ts",
+ "qualifiedName": "SolanaSignInOutput"
+ },
+ "name": "SolanaSignInOutput",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/web3/solana.ts",
+ "qualifiedName": "SolanaSignInOutput"
+ },
+ "name": "SolanaSignInOutput",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 941,
+ "name": "signMessage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 511,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 942,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 511,
+ "character": 18
+ }
+ ],
+ "signatures": [
+ {
+ "id": 943,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "parameters": [
+ {
+ "id": 944,
+ "name": "message",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Uint8Array"
+ },
+ "name": "Uint8Array",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 945,
+ "name": "encoding",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "utf8"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Uint8Array"
+ },
+ "name": "Uint8Array",
+ "package": "typescript"
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [936, 932, 941]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 506,
+ "character": 27
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 946,
+ "name": "SolanaWeb3Credentials",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 513,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 947,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 948,
+ "name": "chain",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 514,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "solana"
+ }
+ },
+ {
+ "id": 951,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 519,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 952,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 954,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 523,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 955,
+ "name": "signInWithSolana",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 524,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Partial"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/web3/solana.ts",
+ "qualifiedName": "SolanaSignInInput"
+ },
+ "name": "SolanaSignInInput",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "version"
+ },
+ {
+ "type": "literal",
+ "value": "chain"
+ },
+ {
+ "type": "literal",
+ "value": "domain"
+ },
+ {
+ "type": "literal",
+ "value": "uri"
+ },
+ {
+ "type": "literal",
+ "value": "statement"
+ }
+ ]
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ ],
+ "name": "Partial",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 953,
+ "name": "url",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 521,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [954, 955, 953]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 519,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 950,
+ "name": "statement",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 518,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 949,
+ "name": "wallet",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Wallet interface to use. If not specified will default to "
+ },
+ {
+ "kind": "code",
+ "text": "`window.solana`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 516,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 930,
+ "name": "SolanaWallet",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [948, 951, 950, 949]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 513,
+ "character": 36
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 956,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 957,
+ "name": "chain",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 527,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "solana"
+ }
+ },
+ {
+ "id": 958,
+ "name": "message",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Sign in with Solana compatible message. Must include "
+ },
+ {
+ "kind": "code",
+ "text": "`Issued At`"
+ },
+ {
+ "kind": "text",
+ "text": ", "
+ },
+ {
+ "kind": "code",
+ "text": "`URI`"
+ },
+ {
+ "kind": "text",
+ "text": " and "
+ },
+ {
+ "kind": "code",
+ "text": "`Version`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 529,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 960,
+ "name": "options",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 532,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 961,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 962,
+ "name": "captchaToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Verification token received when the user completes the captcha on the site."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 534,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [962]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 532,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 959,
+ "name": "signature",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Ed25519 signature of the message."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 531,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Uint8Array"
+ },
+ "name": "Uint8Array",
+ "package": "typescript"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [957, 958, 960, 959]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 526,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 798,
+ "name": "SSOResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 148,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 745,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 799,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 800,
+ "name": "url",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URL to open in a browser which will complete the sign-in flow by\ntaking the user to the identity provider's authentication flow.\n\nOn browsers you can set the URL to "
+ },
+ {
+ "kind": "code",
+ "text": "`window.location.href`"
+ },
+ {
+ "kind": "text",
+ "text": " to take\nthe user to the authentication flow."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 156,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [800]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 148,
+ "character": 40
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResult",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 742,
+ "name": "StrictOmit",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A stricter version of TypeScript's Omit that only allows omitting keys that actually exist.\nThis prevents typos and ensures type safety at compile time.\nUnlike regular Omit, this will error if you try to omit a non-existent key."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 83,
+ "character": 12
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 743,
+ "name": "T",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ },
+ {
+ "id": 744,
+ "name": "K",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 743,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Omit"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 743,
+ "name": "T",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 744,
+ "name": "K",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Omit",
+ "package": "typescript"
+ }
+ },
+ {
+ "id": 243,
+ "name": "SupabaseClientOptions",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 28,
+ "character": 12,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L28"
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 269,
+ "name": "SchemaName",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 244,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 266,
+ "name": "accessToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Optional function for using a third-party authentication system with\nSupabase. The function should return an access token or ID token (JWT) by\nobtaining it from the third-party auth SDK. Note that this\nfunction may be called concurrently and many times. Use memoization and\nlocking techniques if this is not supported by the SDKs.\n\nWhen set, the "
+ },
+ {
+ "kind": "code",
+ "text": "`auth`"
+ },
+ {
+ "kind": "text",
+ "text": " namespace of the Supabase client cannot be used.\nCreate another client if you wish to use Supabase Auth and third-party\nauthentications concurrently in the same application."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 111,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L111"
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 267,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 111,
+ "character": 16,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L111"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 268,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 248,
+ "name": "auth",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 36,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L36"
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 249,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 250,
+ "name": "autoRefreshToken",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Automatically refreshes the token for logged-in users. Defaults to true."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 40,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L40"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 257,
+ "name": "debug",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 72,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L72"
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "debug"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/types.ts",
+ "qualifiedName": "SupabaseAuthClientOptions"
+ },
+ "name": "SupabaseAuthClientOptions",
+ "package": "@supabase/supabase-js"
+ }
+ }
+ },
+ {
+ "id": 253,
+ "name": "detectSessionInUrl",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 52,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L52"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 256,
+ "name": "flowType",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 68,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L68"
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "flowType"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/types.ts",
+ "qualifiedName": "SupabaseAuthClientOptions"
+ },
+ "name": "SupabaseAuthClientOptions",
+ "package": "@supabase/supabase-js"
+ }
+ }
+ },
+ {
+ "id": 258,
+ "name": "lock",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Provide your own locking mechanism based on the environment. By default no locking is done at this time."
+ }
+ ],
+ "modifierTags": ["@experimental"]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 78,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L78"
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "lock"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/types.ts",
+ "qualifiedName": "SupabaseAuthClientOptions"
+ },
+ "name": "SupabaseAuthClientOptions",
+ "package": "@supabase/supabase-js"
+ }
+ }
+ },
+ {
+ "id": 252,
+ "name": "persistSession",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Whether to persist a logged-in session to storage. Defaults to true."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 48,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L48"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 254,
+ "name": "storage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A storage provider. Used to store the logged-in session."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 56,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L56"
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "storage"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/types.ts",
+ "qualifiedName": "SupabaseAuthClientOptions"
+ },
+ "name": "SupabaseAuthClientOptions",
+ "package": "@supabase/supabase-js"
+ }
+ }
+ },
+ {
+ "id": 251,
+ "name": "storageKey",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Optional key name used for storing tokens in local storage."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 44,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L44"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 259,
+ "name": "throwOnError",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If there is an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 83,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L83"
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "throwOnError"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/types.ts",
+ "qualifiedName": "SupabaseAuthClientOptions"
+ },
+ "name": "SupabaseAuthClientOptions",
+ "package": "@supabase/supabase-js"
+ }
+ }
+ },
+ {
+ "id": 255,
+ "name": "userStorage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A storage provider to store the user profile separately from the session.\nUseful when you need to store the session information in cookies,\nwithout bloating the data with the redundant user object."
+ }
+ ],
+ "modifierTags": ["@experimental"]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 64,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L64"
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "userStorage"
+ },
+ "objectType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/types.ts",
+ "qualifiedName": "SupabaseAuthClientOptions"
+ },
+ "name": "SupabaseAuthClientOptions",
+ "package": "@supabase/supabase-js"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [250, 257, 253, 256, 258, 252, 254, 251, 259, 255]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 36,
+ "character": 9,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L36"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 245,
+ "name": "db",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to "
+ },
+ {
+ "kind": "code",
+ "text": "`public`"
+ },
+ {
+ "kind": "text",
+ "text": "."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 32,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L32"
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 246,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 247,
+ "name": "schema",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 33,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L33"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 269,
+ "name": "SchemaName",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [247]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 32,
+ "character": 7,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L32"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 262,
+ "name": "global",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 90,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L90"
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 263,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 264,
+ "name": "fetch",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "A custom "
+ },
+ {
+ "kind": "code",
+ "text": "`fetch`"
+ },
+ {
+ "kind": "text",
+ "text": " implementation."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 94,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L94"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "src/lib/types.ts",
+ "qualifiedName": "Fetch"
+ },
+ "name": "Fetch",
+ "package": "@supabase/supabase-js"
+ }
+ },
+ {
+ "id": 265,
+ "name": "headers",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Optional headers for initializing the client."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 98,
+ "character": 4,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L98"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Record"
+ },
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "Record",
+ "package": "typescript"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [264, 265]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 90,
+ "character": 11,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L90"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 260,
+ "name": "realtime",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Options passed to the realtime-js instance"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 88,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L88"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 2039,
+ "name": "RealtimeClientOptions",
+ "package": "@supabase/realtime-js"
+ }
+ },
+ {
+ "id": 261,
+ "name": "storage",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 89,
+ "character": 2,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L89"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../storage-js/src/StorageClient.ts",
+ "qualifiedName": "StorageClientOptions"
+ },
+ "name": "StorageClientOptions",
+ "package": "@supabase/storage-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [266, 248, 245, 262, 260, 261]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/lib/types.ts",
+ "line": 28,
+ "character": 48,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/lib/types.ts#L28"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1255,
+ "name": "SupportedStorage",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1029,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "PromisifyMethods"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Pick"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
+ "qualifiedName": "Storage"
+ },
+ "name": "Storage",
+ "package": "typescript"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "getItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ },
+ {
+ "type": "literal",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "name": "Pick",
+ "package": "typescript"
+ }
+ ],
+ "name": "PromisifyMethods",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 1256,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1257,
+ "name": "isServer",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If set to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": " signals to the library that the storage medium is used\non a server and the values may not be authentic, such as reading from\nrequest cookies. Implementations should not set this to true if the client\nis used on a server that reads storage information from authenticated\nsources, such as a secure database or file."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1037,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1257]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1029,
+ "character": 103
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 1354,
+ "name": "UpdateOAuthClientParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Parameters for updating an existing OAuth client.\nAll fields are optional. Only provided fields will be updated.\nOnly relevant when the OAuth 2.1 server is enabled in Supabase Auth."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1249,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 1355,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 1356,
+ "name": "client_name",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Human-readable name of the OAuth client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1251,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1357,
+ "name": "client_uri",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URI of the OAuth client"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1253,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1360,
+ "name": "grant_types",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Array of allowed grant types"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1259,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 1326,
+ "name": "OAuthClientGrantType",
+ "package": "@supabase/auth-js"
+ }
+ }
+ },
+ {
+ "id": 1358,
+ "name": "logo_uri",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "URI of the OAuth client's logo"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1255,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 1359,
+ "name": "redirect_uris",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Array of allowed redirect URIs"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1257,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [1356, 1357, 1360, 1358, 1359]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1249,
+ "character": 38
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 801,
+ "name": "UserResponse",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 158,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 754,
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 802,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 803,
+ "name": "user",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 159,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 11,
+ "name": "User",
+ "package": "@supabase/auth-js"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [803]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 158,
+ "character": 56
+ }
+ ]
+ }
+ }
+ ],
+ "name": "RequestResultSafeDestructure",
+ "package": "@supabase/auth-js"
+ }
+ },
+ {
+ "id": 982,
+ "name": "VerifyOtpParams",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 563,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 983,
+ "name": "VerifyMobileOtpParams",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 991,
+ "name": "VerifyEmailOtpParams",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 999,
+ "name": "VerifyTokenHashParams",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 736,
+ "name": "WeakPassword",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 67,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 737,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 739,
+ "name": "message",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 69,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 738,
+ "name": "reasons",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 68,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "target": 735,
+ "name": "WeakPasswordReasons",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [739, 738]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 67,
+ "character": 27
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 735,
+ "name": "WeakPasswordReasons",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 66,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "objectType": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../auth-js/src/lib/types.ts",
+ "qualifiedName": "WeakPasswordReasons"
+ },
+ "name": "WeakPasswordReasons",
+ "package": "@supabase/auth-js",
+ "preferValues": true
+ }
+ }
+ }
+ },
+ {
+ "id": 981,
+ "name": "Web3Credentials",
+ "variant": "declaration",
+ "kind": 2097152,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 562,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "target": 946,
+ "name": "SolanaWeb3Credentials",
+ "package": "@supabase/auth-js"
+ },
+ {
+ "type": "reference",
+ "target": 964,
+ "name": "EthereumWeb3Credentials",
+ "package": "@supabase/auth-js"
+ }
+ ]
+ }
+ },
+ {
+ "id": 674,
+ "name": "AuthAdminApi",
+ "variant": "declaration",
+ "kind": 32,
+ "flags": {
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/AuthAdminApi.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "target": 277,
+ "name": "GoTrueAdminApi",
+ "package": "@supabase/auth-js",
+ "qualifiedName": "default"
+ }
+ }
+ },
+ {
+ "id": 675,
+ "name": "AuthClient",
+ "variant": "declaration",
+ "kind": 32,
+ "flags": {
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/AuthClient.d.ts",
+ "line": 2,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "target": 363,
+ "name": "GoTrueClient",
+ "package": "@supabase/auth-js",
+ "qualifiedName": "default"
+ }
+ }
+ },
+ {
+ "id": 689,
+ "name": "lockInternals",
+ "variant": "declaration",
+ "kind": 32,
+ "flags": {
+ "isConst": true
+ },
+ "comment": {
+ "summary": [],
+ "modifierTags": ["@experimental"]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 4,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 690,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 691,
+ "name": "debug",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "comment": {
+ "summary": [],
+ "modifierTags": ["@experimental"]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 8,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [691]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 4,
+ "character": 32
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 2166,
+ "name": "REALTIME_CHANNEL_STATES",
+ "variant": "declaration",
+ "kind": 32,
+ "flags": {
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/realtime-js/dist/module/RealtimeChannel.d.ts",
+ "line": 134,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../realtime-js/src/lib/constants.ts",
+ "qualifiedName": "CHANNEL_STATES"
+ },
+ "name": "CHANNEL_STATES",
+ "package": "@supabase/realtime-js",
+ "preferValues": true
+ }
+ }
+ },
+ {
+ "id": 1324,
+ "name": "SIGN_OUT_SCOPES",
+ "variant": "declaration",
+ "kind": 32,
+ "flags": {
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 1170,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "typeOperator",
+ "operator": "readonly",
+ "target": {
+ "type": "tuple",
+ "elements": [
+ {
+ "type": "literal",
+ "value": "global"
+ },
+ {
+ "type": "literal",
+ "value": "local"
+ },
+ {
+ "type": "literal",
+ "value": "others"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 1,
+ "name": "createClient",
+ "variant": "declaration",
+ "kind": 64,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Creates a new Supabase Client."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/index.ts",
+ "line": 27,
+ "character": 13,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/index.ts#L27"
+ }
+ ],
+ "signatures": [
+ {
+ "id": 2,
+ "name": "createClient",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/index.ts",
+ "line": 27,
+ "character": 28,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/index.ts#L27"
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 3,
+ "name": "Database",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 4,
+ "name": "SchemaNameOrClientOptions",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 5,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "children": [
+ {
+ "id": 6,
+ "name": "PostgrestVersion",
+ "variant": "declaration",
+ "kind": 1024,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/index.ts",
+ "line": 31,
+ "character": 8,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/index.ts#L31"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "children": [6]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "packages/core/supabase-js/src/index.ts",
+ "line": 31,
+ "character": 6,
+ "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/supabase-js/src/index.ts#L31"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 3,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 3,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 7,
+ "name": "SchemaName",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "reference",
+ "target": 4,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ "extendsType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 3,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
+ }
+ ]
+ },
+ "trueType": {
+ "type": "reference",
+ "target": 4,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 4,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ "falseType": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 3,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Exclude"
+ },
+ "typeArguments": [
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "target": 3,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
+ },
+ {
+ "type": "literal",
+ "value": "__InternalSupabase"
+ }
+ ],
+ "name": "Exclude",
+ "package": "typescript"
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 8,
+ "name": "supabaseUrl",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 9,
+ "name": "supabaseKey",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 10,
+ "name": "options",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "target": 243,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 7,
+ "name": "SchemaName",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "SupabaseClientOptions",
+ "package": "@supabase/supabase-js"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": 113,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 3,
+ "name": "Database",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 4,
+ "name": "SchemaNameOrClientOptions",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ },
+ {
+ "type": "reference",
+ "target": 7,
+ "name": "SchemaName",
+ "package": "@supabase/supabase-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "SupabaseClient",
+ "package": "@supabase/supabase-js",
+ "qualifiedName": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 1436,
+ "name": "isAuthApiError",
+ "variant": "declaration",
+ "kind": 64,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 21,
+ "character": 24
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1437,
+ "name": "isAuthApiError",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 21,
+ "character": 24
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1438,
+ "name": "error",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "target": 1461,
+ "name": "AuthApiError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 1433,
+ "name": "isAuthError",
+ "variant": "declaration",
+ "kind": 64,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 16,
+ "character": 24
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1434,
+ "name": "isAuthError",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 16,
+ "character": 24
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1435,
+ "name": "error",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "target": 1451,
+ "name": "AuthError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 1442,
+ "name": "isAuthImplicitGrantRedirectError",
+ "variant": "declaration",
+ "kind": 64,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 60,
+ "character": 24
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1443,
+ "name": "isAuthImplicitGrantRedirectError",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 60,
+ "character": 24
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1444,
+ "name": "error",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "target": 1518,
+ "name": "AuthImplicitGrantRedirectError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 1445,
+ "name": "isAuthRetryableFetchError",
+ "variant": "declaration",
+ "kind": 64,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 83,
+ "character": 24
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1446,
+ "name": "isAuthRetryableFetchError",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 83,
+ "character": 24
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1447,
+ "name": "error",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "target": 1572,
+ "name": "AuthRetryableFetchError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 1439,
+ "name": "isAuthSessionMissingError",
+ "variant": "declaration",
+ "kind": 64,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 34,
+ "character": 24
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1440,
+ "name": "isAuthSessionMissingError",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 34,
+ "character": 24
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1441,
+ "name": "error",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "target": 1493,
+ "name": "AuthSessionMissingError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 1448,
+ "name": "isAuthWeakPasswordError",
+ "variant": "declaration",
+ "kind": 64,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 96,
+ "character": 24
+ }
+ ],
+ "signatures": [
+ {
+ "id": 1449,
+ "name": "isAuthWeakPasswordError",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/errors.d.ts",
+ "line": 96,
+ "character": 24
+ }
+ ],
+ "parameters": [
+ {
+ "id": 1450,
+ "name": "error",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "target": 1582,
+ "name": "AuthWeakPasswordError",
+ "package": "@supabase/auth-js"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 676,
+ "name": "navigatorLock",
+ "variant": "declaration",
+ "kind": 64,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 48,
+ "character": 24
+ }
+ ],
+ "signatures": [
+ {
+ "id": 677,
+ "name": "navigatorLock",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Implements a global exclusive lock using the Navigator LockManager API. It\nis available on all browsers released after 2022-03-15 with Safari being the\nlast one to release support. If the API is not available, this function will\nthrow. Make sure you check availablility before configuring "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "GoTrueClient",
+ "target": 363
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nYou can turn on debugging by setting the "
+ },
+ {
+ "kind": "code",
+ "text": "`supabase.gotrue-js.locks.debug`"
+ },
+ {
+ "kind": "text",
+ "text": "\nlocal storage item to "
+ },
+ {
+ "kind": "code",
+ "text": "`true`"
+ },
+ {
+ "kind": "text",
+ "text": ".\n\nInternals:\n\nSince the LockManager API does not preserve stack traces for the async\nfunction passed in the "
+ },
+ {
+ "kind": "code",
+ "text": "`request`"
+ },
+ {
+ "kind": "text",
+ "text": " method, a trick is used where acquiring the\nlock releases a previously started promise to run the operation in the "
+ },
+ {
+ "kind": "code",
+ "text": "`fn`"
+ },
+ {
+ "kind": "text",
+ "text": "\nfunction. The lock waits for that promise to finish (with or without error),\nwhile the function will finally wait for the result anyway."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 48,
+ "character": 24
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 678,
+ "name": "R",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 679,
+ "name": "name",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Name of the lock to be acquired."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 680,
+ "name": "acquireTimeout",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If negative, no timeout. If 0 an error is thrown if\n the lock can't be acquired without waiting. If positive, the lock acquire\n will time out after so many milliseconds. An error is\n a timeout if it has "
+ },
+ {
+ "kind": "code",
+ "text": "`isAcquireTimeout`"
+ },
+ {
+ "kind": "text",
+ "text": " set to true."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 681,
+ "name": "fn",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The operation to run once the lock is acquired."
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 682,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 48,
+ "character": 83
+ }
+ ],
+ "signatures": [
+ {
+ "id": 683,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 48,
+ "character": 83
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 678,
+ "name": "R",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 678,
+ "name": "R",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 692,
+ "name": "processLock",
+ "variant": "declaration",
+ "kind": 64,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 63,
+ "character": 24
+ }
+ ],
+ "signatures": [
+ {
+ "id": 693,
+ "name": "processLock",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Implements a global exclusive lock that works only in the current process.\nUseful for environments like React Native or other non-browser\nsingle-process (i.e. no concept of \"tabs\") environments.\n\nUse "
+ },
+ {
+ "kind": "inline-tag",
+ "tag": "@link",
+ "text": "#navigatorLock"
+ },
+ {
+ "kind": "text",
+ "text": " in browser environments."
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 63,
+ "character": 24
+ }
+ ],
+ "typeParameters": [
+ {
+ "id": 694,
+ "name": "R",
+ "variant": "typeParam",
+ "kind": 131072,
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 695,
+ "name": "name",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "Name of the lock to be acquired."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 696,
+ "name": "acquireTimeout",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "If negative, no timeout. If 0 an error is thrown if\n the lock can't be acquired without waiting. If positive, the lock acquire\n will time out after so many milliseconds. An error is\n a timeout if it has "
+ },
+ {
+ "kind": "code",
+ "text": "`isAcquireTimeout`"
+ },
+ {
+ "kind": "text",
+ "text": " set to true."
+ }
+ ]
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 697,
+ "name": "fn",
+ "variant": "param",
+ "kind": 32768,
+ "flags": {},
+ "comment": {
+ "summary": [
+ {
+ "kind": "text",
+ "text": "The operation to run once the lock is acquired."
+ }
+ ]
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 698,
+ "name": "__type",
+ "variant": "declaration",
+ "kind": 65536,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 63,
+ "character": 81
+ }
+ ],
+ "signatures": [
+ {
+ "id": 699,
+ "name": "__type",
+ "variant": "signature",
+ "kind": 4096,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/locks.d.ts",
+ "line": 63,
+ "character": 81
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 694,
+ "name": "R",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "target": {
+ "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
+ "qualifiedName": "Promise"
+ },
+ "typeArguments": [
+ {
+ "type": "reference",
+ "target": 694,
+ "name": "R",
+ "package": "@supabase/auth-js",
+ "refersToTypeParameter": true
+ }
+ ],
+ "name": "Promise",
+ "package": "typescript"
+ }
+ }
+ ]
+ },
+ {
+ "id": 804,
+ "name": "Session",
+ "variant": "reference",
+ "kind": 4194304,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 161,
+ "character": 17
+ }
+ ],
+ "target": 37
+ },
+ {
+ "id": 841,
+ "name": "User",
+ "variant": "reference",
+ "kind": 4194304,
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "packages/core/auth-js/dist/module/lib/types.d.ts",
+ "line": 271,
+ "character": 17
+ }
+ ],
+ "target": 11
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumerations",
+ "children": [97, 2147, 2152, 2157, 2161]
+ },
+ {
+ "title": "Classes",
+ "children": [
+ 1461, 1451, 1518, 1509, 1594, 1501, 1545, 1572, 1493, 1471, 1582, 1481, 79, 69, 64, 74,
+ 277, 363, 684, 52, 1620, 1929, 1603, 113, 2167
+ ]
+ },
+ {
+ "title": "Interfaces",
+ "children": [
+ 848, 807, 1417, 37, 11, 1055, 1248, 1374, 1118, 1317, 1297, 861, 833, 842, 810, 838,
+ 991, 983, 999, 2183, 2233
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "children": [
+ 805, 702, 701, 1112, 907, 1238, 1235, 1245, 1242, 1103, 1107, 1102, 1104, 1105, 1106,
+ 1280, 1098, 1279, 1281, 1113, 1108, 1099, 1097, 1090, 1413, 1414, 771, 762, 766, 776,
+ 780, 1261, 1346, 1003, 963, 964, 823, 822, 86, 1049, 1039, 1058, 1063, 1059, 1070, 1044,
+ 1033, 712, 1258, 1282, 703, 1089, 1088, 1086, 1085, 1087, 1071, 1277, 1276, 1278, 1084,
+ 1072, 1083, 1076, 1075, 1077, 1081, 1002, 1397, 1403, 1330, 1326, 1362, 1329, 1361,
+ 1327, 1328, 785, 1269, 1262, 50, 46, 48, 740, 700, 272, 276, 270, 1914, 1928, 2039,
+ 2069, 2076, 2083, 2107, 2088, 2098, 2117, 2127, 2137, 2146, 745, 754, 1287, 1004, 871,
+ 920, 908, 885, 890, 1018, 1273, 1325, 877, 930, 946, 798, 742, 243, 1255, 1354, 801,
+ 982, 736, 735, 981
+ ]
+ },
+ {
+ "title": "Variables",
+ "children": [674, 675, 689, 2166, 1324]
+ },
+ {
+ "title": "Functions",
+ "children": [1, 1436, 1433, 1442, 1445, 1439, 1448, 676, 692]
+ },
+ {
+ "title": "References",
+ "children": [804, 841]
+ }
+ ],
+ "packageName": "@supabase/supabase-js",
+ "readme": [
+ {
+ "kind": "text",
+ "text": "
\n
\n \n
\n
\n Guides\n ·\n Reference Docs\n ·\n TypeDoc\n
\n\n\n\n \n
\n
\n Guides\n ·\n Reference Docs\n ·\n TypeDoc\n
\n\n\n\n \n
\n
\n Guides\n ·\n Reference Docs\n ·\n TypeDoc\n
\n\n\n\n \n
\n
\n Guides\n ·\n Reference Docs\n ·\n Multiplayer Demo\n
\n\n\n\n \n
\n
\n Guides\n ·\n Reference Docs\n ·\n TypeDoc\n
\n\n\n