From 61ffcff17321091da44393e45cd1de6969ec73bd Mon Sep 17 00:00:00 2001 From: Katerina Skroumpelou Date: Thu, 13 Nov 2025 11:19:50 +0200 Subject: [PATCH] docs: update combined_raw.json and add in makefile --- apps/docs/spec/Makefile | 2 +- .../enrichments/tsdoc_v2/combined_raw.json | 192918 ++++++++++++--- 2 files changed, 163310 insertions(+), 29610 deletions(-) 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 \n \"Supabase\n \n \n\n

Supabase JS SDK

\n\n

Isomorphic JavaScript SDK for Supabase - combining Auth, Database, Storage, Functions, and Realtime.

\n\n

\n Guides\n ·\n Reference Docs\n ·\n TypeDoc\n

\n

\n\n
\n\n[![Build](https://github.com/supabase/supabase-js/workflows/CI/badge.svg)](https://github.com/supabase/supabase-js/actions?query=branch%3Amaster)\n[![Package](https://img.shields.io/npm/v/@supabase/supabase-js)](https://www.npmjs.com/package/@supabase/supabase-js)\n[![License: MIT](https://img.shields.io/npm/l/@supabase/supabase-js)](#license)\n[![pkg.pr.new](https://pkg.pr.new/badge/supabase/supabase-js)](https://pkg.pr.new/~/supabase/supabase-js)\n\n
\n\n## Usage\n\nFirst of all, you need to install the library:\n\n" + }, + { + "kind": "code", + "text": "```sh\nnpm install @supabase/supabase-js\n```" + }, + { + "kind": "text", + "text": "\n\nThen you're able to import the library and establish the connection with the database:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { createClient } from '@supabase/supabase-js'\n\n// Create a single supabase client for interacting with your database\nconst supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')\n```" + }, + { + "kind": "text", + "text": "\n\n### UMD\n\nYou can use plain " + }, + { + "kind": "code", + "text": "`\n```" + }, + { + "kind": "text", + "text": "\n\nor even:\n\n" + }, + { + "kind": "code", + "text": "```html\n\n```" + }, + { + "kind": "text", + "text": "\n\nThen you can use it from a global " + }, + { + "kind": "code", + "text": "`supabase`" + }, + { + "kind": "text", + "text": " variable:\n\n" + }, + { + "kind": "code", + "text": "```html\n\n```" + }, + { + "kind": "text", + "text": "\n\n### ESM\n\nYou can use " + }, + { + "kind": "code", + "text": "`\n```" + }, + { + "kind": "text", + "text": "\n\n### Deno\n\nYou can use supabase-js in the Deno runtime via [JSR](https://jsr.io/@supabase/supabase-js):\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { createClient } from 'jsr:@supabase/supabase-js@2'\n```" + }, + { + "kind": "text", + "text": "\n\n### Custom " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation\n\n" + }, + { + "kind": "code", + "text": "`supabase-js`" + }, + { + "kind": "text", + "text": " uses the [" + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": "](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests, but an alternative " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation can be provided as an option. This is most useful in environments where " + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": " is not compatible, for instance Cloudflare Workers:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { createClient } from '@supabase/supabase-js'\n\n// Provide a custom `fetch` implementation as an option\nconst supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key', {\n global: {\n fetch: (...args) => fetch(...args),\n },\n})\n```" + }, + { + "kind": "text", + "text": "\n\n## Support Policy\n\nThis section outlines the scope of support for various runtime environments in Supabase JavaScript client.\n\n### Node.js\n\nWe only support Node.js versions that are in **Active LTS** or **Maintenance** status as defined by the [official Node.js release schedule](https://nodejs.org/en/about/previous-releases#release-schedule). This means we support versions that are currently receiving long-term support and critical bug fixes.\n\nWhen a Node.js version reaches end-of-life and is no longer in Active LTS or Maintenance status, Supabase will drop it in a **minor release**, and **this won't be considered a breaking change**.\n\n> ⚠️ **Node.js 18 Deprecation Notice**\n>\n> Node.js 18 reached end-of-life on April 30, 2025. As announced in [our deprecation notice](https://github.com/orgs/supabase/discussions/37217), support for Node.js 18 was dropped in version " + }, + { + "kind": "code", + "text": "`2.79.0`" + }, + { + "kind": "text", + "text": ".\n>\n> If you must use Node.js 18, please use version " + }, + { + "kind": "code", + "text": "`2.78.0`" + }, + { + "kind": "text", + "text": ", which is the last version that supported Node.js 18.\n\n### Deno\n\nWe support Deno versions that are currently receiving active development and security updates. We follow the [official Deno release schedule](https://docs.deno.com/runtime/fundamentals/stability_and_releases/) and only support versions from the " + }, + { + "kind": "code", + "text": "`stable`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`lts`" + }, + { + "kind": "text", + "text": " release channels.\n\nWhen a Deno version reaches end-of-life and is no longer receiving security updates, Supabase will drop it in a **minor release**, and **this won't be considered a breaking change**.\n\n### Browsers\n\nAll modern browsers are supported. We support browsers that provide native " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " API. For Realtime features, browsers must also support native " + }, + { + "kind": "code", + "text": "`WebSocket`" + }, + { + "kind": "text", + "text": " API.\n\n### Bun\n\nWe support Bun runtime environments. Bun provides native fetch support and is compatible with Node.js APIs. Since Bun does not follow a structured release schedule like Node.js or Deno, we support current stable versions of Bun and may drop support for older versions in minor releases without considering it a breaking change.\n\n### React Native\n\nWe support React Native environments with fetch polyfills provided by the framework. Since React Native does not follow a structured release schedule, we support current stable versions and may drop support for older versions in minor releases without considering it a breaking change.\n\n### Cloudflare Workers\n\nWe support Cloudflare Workers runtime environments. Cloudflare Workers provides native fetch support. Since Cloudflare Workers does not follow a structured release schedule, we support current stable versions and may drop support for older versions in minor releases without considering it a breaking change.\n\n### Important Notes\n\n- **Experimental features**: Features marked as experimental may be removed or changed without notice\n\n## Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](" + }, + { + "kind": "relative-link", + "text": "../../../CONTRIBUTING.md", + "target": 2 + }, + { + "kind": "text", + "text": ") for details on how to get started.\n\nFor major changes or if you're unsure about something, please open an issue first to discuss your proposed changes.\n\n### Building\n\n" + }, + { + "kind": "code", + "text": "```bash\n# From the monorepo root\nnpx nx build supabase-js\n\n# Or with watch mode for development\nnpx nx build supabase-js --watch\n```" + }, + { + "kind": "text", + "text": "\n\n### Testing\n\nThere's a complete guide on how to set up your environment for running locally the " + }, + { + "kind": "code", + "text": "`supabase-js`" + }, + { + "kind": "text", + "text": " integration tests. Please refer to [TESTING.md](" + }, + { + "kind": "relative-link", + "text": "./TESTING.md", + "target": 3 + }, + { + "kind": "text", + "text": ").\n\n## Badges\n\n[![Coverage Status](https://coveralls.io/repos/github/supabase/supabase-js/badge.svg?branch=master)](https://coveralls.io/github/supabase/supabase-js?branch=master)" + } + ], + "symbolIdMap": { + "0": { + "sourceFileName": "src/index.ts", + "qualifiedName": "" + }, + "1": { + "sourceFileName": "src/index.ts", + "qualifiedName": "createClient" + }, + "2": { + "sourceFileName": "src/index.ts", + "qualifiedName": "createClient" + }, + "3": { + "sourceFileName": "src/index.ts", + "qualifiedName": "Database" + }, + "4": { + "sourceFileName": "src/index.ts", + "qualifiedName": "SchemaNameOrClientOptions" + }, + "5": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__type" + }, + "6": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "7": { + "sourceFileName": "src/index.ts", + "qualifiedName": "SchemaName" + }, + "8": { + "sourceFileName": "src/index.ts", + "qualifiedName": "supabaseUrl" + }, + "9": { + "sourceFileName": "src/index.ts", + "qualifiedName": "supabaseKey" + }, + "10": { + "sourceFileName": "src/index.ts", + "qualifiedName": "options" + }, + "11": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User" + }, + "12": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.id" + }, + "13": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.app_metadata" + }, + "14": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.user_metadata" + }, + "15": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.aud" + }, + "16": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.confirmation_sent_at" + }, + "17": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.recovery_sent_at" + }, + "18": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.email_change_sent_at" + }, + "19": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.new_email" + }, + "20": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.new_phone" + }, + "21": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.invited_at" + }, + "22": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.action_link" + }, + "23": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.email" + }, + "24": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.phone" + }, + "25": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.created_at" + }, + "26": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.confirmed_at" + }, + "27": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.email_confirmed_at" + }, + "28": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.phone_confirmed_at" + }, + "29": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.last_sign_in_at" + }, + "30": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.role" + }, + "31": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.updated_at" + }, + "32": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.identities" + }, + "33": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.is_anonymous" + }, + "34": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.is_sso_user" + }, + "35": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.factors" + }, + "36": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User.deleted_at" + }, + "37": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Session" + }, + "38": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Session.provider_token" + }, + "39": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Session.provider_refresh_token" + }, + "40": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Session.access_token" + }, + "41": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Session.refresh_token" + }, + "42": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Session.expires_in" + }, + "43": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Session.expires_at" + }, + "44": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Session.token_type" + }, + "45": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Session.user" + }, + "46": { + "sourceFileName": "../postgrest-js/src/types/types.ts", + "qualifiedName": "PostgrestResponse" + }, + "47": { + "sourceFileName": "../postgrest-js/src/types/types.ts", + "qualifiedName": "T" + }, + "48": { + "sourceFileName": "../postgrest-js/src/types/types.ts", + "qualifiedName": "PostgrestSingleResponse" + }, + "49": { + "sourceFileName": "../postgrest-js/src/types/types.ts", + "qualifiedName": "T" + }, + "50": { + "sourceFileName": "../postgrest-js/src/types/types.ts", + "qualifiedName": "PostgrestMaybeSingleResponse" + }, + "51": { + "sourceFileName": "../postgrest-js/src/types/types.ts", + "qualifiedName": "T" + }, + "52": { + "sourceFileName": "../postgrest-js/src/PostgrestError.ts", + "qualifiedName": "default" + }, + "53": { + "sourceFileName": "../postgrest-js/src/PostgrestError.ts", + "qualifiedName": "default.__constructor" + }, + "54": { + "sourceFileName": "../postgrest-js/src/PostgrestError.ts", + "qualifiedName": "default" + }, + "55": { + "sourceFileName": "../postgrest-js/src/PostgrestError.ts", + "qualifiedName": "context" + }, + "56": { + "sourceFileName": "../postgrest-js/src/PostgrestError.ts", + "qualifiedName": "__type" + }, + "57": { + "sourceFileName": "../postgrest-js/src/PostgrestError.ts", + "qualifiedName": "__type.message" + }, + "58": { + "sourceFileName": "../postgrest-js/src/PostgrestError.ts", + "qualifiedName": "__type.details" + }, + "59": { + "sourceFileName": "../postgrest-js/src/PostgrestError.ts", + "qualifiedName": "__type.hint" + }, + "60": { + "sourceFileName": "../postgrest-js/src/PostgrestError.ts", + "qualifiedName": "__type.code" + }, + "61": { + "sourceFileName": "../postgrest-js/src/PostgrestError.ts", + "qualifiedName": "default.details" + }, + "62": { + "sourceFileName": "../postgrest-js/src/PostgrestError.ts", + "qualifiedName": "default.hint" + }, + "63": { + "sourceFileName": "../postgrest-js/src/PostgrestError.ts", + "qualifiedName": "default.code" + }, + "64": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsHttpError" + }, + "65": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsHttpError.__constructor" + }, + "66": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsHttpError" + }, + "67": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "context" + }, + "68": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsError.context" + }, + "69": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsFetchError" + }, + "70": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsFetchError.__constructor" + }, + "71": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsFetchError" + }, + "72": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "context" + }, + "73": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsError.context" + }, + "74": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsRelayError" + }, + "75": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsRelayError.__constructor" + }, + "76": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsRelayError" + }, + "77": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "context" + }, + "78": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsError.context" + }, + "79": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsError" + }, + "80": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsError.__constructor" + }, + "81": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsError" + }, + "82": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "message" + }, + "83": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "name" + }, + "84": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "context" + }, + "85": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionsError.context" + }, + "86": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionInvokeOptions" + }, + "87": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "__type" + }, + "88": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "__type.headers" + }, + "89": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "__type" + }, + "90": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "__type.__index" + }, + "92": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "__type.method" + }, + "93": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "__type.region" + }, + "94": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "__type.body" + }, + "95": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "__type.signal" + }, + "96": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "__type.timeout" + }, + "97": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion" + }, + "98": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.Any" + }, + "99": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.ApNortheast1" + }, + "100": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.ApNortheast2" + }, + "101": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.ApSouth1" + }, + "102": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.ApSoutheast1" + }, + "103": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.ApSoutheast2" + }, + "104": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.CaCentral1" + }, + "105": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.EuCentral1" + }, + "106": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.EuWest1" + }, + "107": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.EuWest2" + }, + "108": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.EuWest3" + }, + "109": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.SaEast1" + }, + "110": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.UsEast1" + }, + "111": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.UsWest1" + }, + "112": { + "sourceFileName": "../functions-js/src/types.ts", + "qualifiedName": "FunctionRegion.UsWest2" + }, + "113": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default" + }, + "114": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.__constructor" + }, + "115": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default" + }, + "116": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Database" + }, + "117": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaNameOrClientOptions" + }, + "118": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "119": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "120": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaName" + }, + "121": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Schema" + }, + "122": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.ClientOptions" + }, + "123": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "124": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "125": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "126": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.__InternalSupabase" + }, + "127": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "128": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "129": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "130": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "131": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "132": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "133": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "supabaseUrl" + }, + "134": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "supabaseKey" + }, + "135": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "options" + }, + "136": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.auth" + }, + "137": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.realtime" + }, + "138": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.storage" + }, + "139": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.realtimeUrl" + }, + "140": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.authUrl" + }, + "141": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.storageUrl" + }, + "142": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.functionsUrl" + }, + "143": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.rest" + }, + "144": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.storageKey" + }, + "145": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.fetch" + }, + "146": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "147": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "148": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "149": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "150": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "151": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "152": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "153": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.changedAccessToken" + }, + "154": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.accessToken" + }, + "155": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "156": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "157": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.headers" + }, + "158": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.supabaseUrl" + }, + "159": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.supabaseKey" + }, + "160": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.functions" + }, + "161": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.functions" + }, + "162": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.from" + }, + "163": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.from" + }, + "164": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "TableName" + }, + "165": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "Table" + }, + "166": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "relation" + }, + "167": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.from" + }, + "168": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "ViewName" + }, + "169": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "View" + }, + "170": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "relation" + }, + "171": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.schema" + }, + "172": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.schema" + }, + "173": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "DynamicSchema" + }, + "174": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "schema" + }, + "175": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.rpc" + }, + "176": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.rpc" + }, + "177": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "FnName" + }, + "178": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "Args" + }, + "179": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "FilterBuilder" + }, + "180": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "fn" + }, + "181": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "args" + }, + "182": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "options" + }, + "183": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "184": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.head" + }, + "185": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.get" + }, + "186": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.count" + }, + "187": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.channel" + }, + "188": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.channel" + }, + "189": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "name" + }, + "190": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "opts" + }, + "191": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.getChannels" + }, + "192": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.getChannels" + }, + "193": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeChannel" + }, + "194": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeChannel" + }, + "195": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "channel" + }, + "196": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeAllChannels" + }, + "197": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.removeAllChannels" + }, + "226": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Database" + }, + "227": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaNameOrClientOptions" + }, + "228": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "229": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "230": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.SchemaName" + }, + "231": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.Schema" + }, + "232": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "default.ClientOptions" + }, + "233": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "234": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "235": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "236": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.__InternalSupabase" + }, + "237": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "238": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "239": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "240": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "241": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type" + }, + "242": { + "sourceFileName": "src/SupabaseClient.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "243": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupabaseClientOptions" + }, + "244": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "245": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.db" + }, + "246": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "247": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.schema" + }, + "248": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.auth" + }, + "249": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "250": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.autoRefreshToken" + }, + "251": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storageKey" + }, + "252": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.persistSession" + }, + "253": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.detectSessionInUrl" + }, + "254": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storage" + }, + "255": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.userStorage" + }, + "256": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.flowType" + }, + "257": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.debug" + }, + "258": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.lock" + }, + "259": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.throwOnError" + }, + "260": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.realtime" + }, + "261": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storage" + }, + "262": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.global" + }, + "263": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "264": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.fetch" + }, + "265": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.headers" + }, + "266": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.accessToken" + }, + "267": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "268": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "269": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SchemaName" + }, + "270": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "QueryResult" + }, + "271": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "272": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "QueryData" + }, + "273": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "274": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "275": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "276": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "QueryError" + }, + "277": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default" + }, + "278": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.__constructor" + }, + "279": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default" + }, + "280": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__0" + }, + "281": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "282": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.url" + }, + "283": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.headers" + }, + "284": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "285": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.__index" + }, + "287": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.fetch" + }, + "288": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "289": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "290": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "291": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "292": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "293": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "294": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "295": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.mfa" + }, + "296": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.oauth" + }, + "297": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.url" + }, + "298": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.headers" + }, + "299": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "300": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.__index" + }, + "302": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.fetch" + }, + "303": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "304": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "305": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "306": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "307": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "308": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "309": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "310": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.signOut" + }, + "311": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.signOut" + }, + "312": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "jwt" + }, + "313": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "scope" + }, + "314": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "315": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.data" + }, + "316": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.error" + }, + "317": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.inviteUserByEmail" + }, + "318": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.inviteUserByEmail" + }, + "319": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "email" + }, + "320": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "options" + }, + "321": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "322": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.data" + }, + "323": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.redirectTo" + }, + "324": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.generateLink" + }, + "325": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.generateLink" + }, + "326": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "params" + }, + "327": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.createUser" + }, + "328": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.createUser" + }, + "329": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "attributes" + }, + "330": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.listUsers" + }, + "331": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.listUsers" + }, + "332": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "params" + }, + "333": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "334": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.data" + }, + "335": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "336": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.users" + }, + "337": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.aud" + }, + "338": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.error" + }, + "339": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "340": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.data" + }, + "341": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "342": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.users" + }, + "343": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "__type.error" + }, + "344": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.getUserById" + }, + "345": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.getUserById" + }, + "346": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "uid" + }, + "347": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.updateUserById" + }, + "348": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.updateUserById" + }, + "349": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "uid" + }, + "350": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "attributes" + }, + "351": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.deleteUser" + }, + "352": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "default.deleteUser" + }, + "353": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "id" + }, + "354": { + "sourceFileName": "../auth-js/src/GoTrueAdminApi.ts", + "qualifiedName": "shouldSoftDelete" + }, + "363": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default" + }, + "365": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.__constructor" + }, + "366": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default" + }, + "367": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "369": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.admin" + }, + "370": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.mfa" + }, + "371": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.oauth" + }, + "372": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.storageKey" + }, + "373": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.flowType" + }, + "374": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.jwks" + }, + "375": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.jwks" + }, + "376": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "377": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.keys" + }, + "378": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.jwks" + }, + "379": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "value" + }, + "380": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "381": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.keys" + }, + "382": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.jwks_cached_at" + }, + "383": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.jwks_cached_at" + }, + "384": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.jwks_cached_at" + }, + "385": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "value" + }, + "386": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.autoRefreshToken" + }, + "387": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.persistSession" + }, + "388": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.storage" + }, + "389": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.userStorage" + }, + "390": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.memoryStorage" + }, + "391": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "392": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.__index" + }, + "394": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.stateChangeEmitters" + }, + "395": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.autoRefreshTicker" + }, + "396": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.visibilityChangedCallback" + }, + "397": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "398": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "399": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.refreshingDeferred" + }, + "400": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.initializePromise" + }, + "401": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.detectSessionInUrl" + }, + "402": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.url" + }, + "403": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.headers" + }, + "404": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "405": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.__index" + }, + "407": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.hasCustomAuthorizationHeader" + }, + "408": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.suppressGetSessionWarning" + }, + "409": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.fetch" + }, + "410": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "411": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "412": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "413": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "414": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "415": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "416": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "417": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.lock" + }, + "418": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.lockAcquired" + }, + "419": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.pendingInLock" + }, + "420": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.throwOnError" + }, + "421": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.broadcastChannel" + }, + "422": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.logDebugMessages" + }, + "423": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.logger" + }, + "424": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "425": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "426": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "message" + }, + "427": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "args" + }, + "428": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.isThrowOnErrorEnabled" + }, + "429": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.isThrowOnErrorEnabled" + }, + "433": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.initialize" + }, + "434": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.initialize" + }, + "436": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInAnonymously" + }, + "437": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInAnonymously" + }, + "438": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "439": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signUp" + }, + "440": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signUp" + }, + "441": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "442": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInWithPassword" + }, + "443": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInWithPassword" + }, + "444": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "445": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInWithOAuth" + }, + "446": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInWithOAuth" + }, + "447": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "448": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.exchangeCodeForSession" + }, + "449": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.exchangeCodeForSession" + }, + "450": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "authCode" + }, + "451": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInWithWeb3" + }, + "452": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInWithWeb3" + }, + "453": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "454": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "455": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "456": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "457": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "458": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.user" + }, + "459": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "460": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "461": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "462": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "463": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "464": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.user" + }, + "465": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "469": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInWithIdToken" + }, + "470": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInWithIdToken" + }, + "471": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "472": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInWithOtp" + }, + "473": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInWithOtp" + }, + "474": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "475": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.verifyOtp" + }, + "476": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.verifyOtp" + }, + "477": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "params" + }, + "478": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInWithSSO" + }, + "479": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signInWithSSO" + }, + "480": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "params" + }, + "481": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.reauthenticate" + }, + "482": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.reauthenticate" + }, + "484": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.resend" + }, + "485": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.resend" + }, + "486": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "487": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.getSession" + }, + "488": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.getSession" + }, + "489": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "490": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "491": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "492": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "493": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "494": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "495": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "496": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "497": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "498": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "499": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "500": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "501": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "502": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "503": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "507": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.getUser" + }, + "508": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.getUser" + }, + "509": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "jwt" + }, + "511": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.updateUser" + }, + "512": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.updateUser" + }, + "513": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "attributes" + }, + "514": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "515": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "516": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "517": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default._updateUser" + }, + "518": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default._updateUser" + }, + "519": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "attributes" + }, + "520": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "521": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "522": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "523": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.setSession" + }, + "524": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.setSession" + }, + "525": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "currentSession" + }, + "526": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "527": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.access_token" + }, + "528": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.refresh_token" + }, + "529": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default._setSession" + }, + "530": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default._setSession" + }, + "531": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "currentSession" + }, + "532": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "533": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.access_token" + }, + "534": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.refresh_token" + }, + "535": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.refreshSession" + }, + "536": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.refreshSession" + }, + "537": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "currentSession" + }, + "538": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "539": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.refresh_token" + }, + "540": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default._refreshSession" + }, + "541": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default._refreshSession" + }, + "542": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "currentSession" + }, + "543": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "544": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.refresh_token" + }, + "548": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signOut" + }, + "549": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.signOut" + }, + "550": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "551": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "552": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "553": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default._signOut" + }, + "554": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default._signOut" + }, + "555": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__0" + }, + "556": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "557": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "558": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.onAuthStateChange" + }, + "559": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.onAuthStateChange" + }, + "560": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "callback" + }, + "561": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "562": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "563": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "event" + }, + "564": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "session" + }, + "565": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "566": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "567": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "568": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.subscription" + }, + "569": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.onAuthStateChange" + }, + "570": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "callback" + }, + "571": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "572": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "573": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "event" + }, + "574": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "session" + }, + "575": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "576": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "577": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "578": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.subscription" + }, + "580": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.resetPasswordForEmail" + }, + "581": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.resetPasswordForEmail" + }, + "582": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "email" + }, + "583": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "584": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "585": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.redirectTo" + }, + "586": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.captchaToken" + }, + "587": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "588": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "589": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "590": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "591": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "592": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "593": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "594": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.getUserIdentities" + }, + "595": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.getUserIdentities" + }, + "596": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "597": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "598": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "599": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.identities" + }, + "600": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "601": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "602": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "603": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "604": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.linkIdentity" + }, + "605": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.linkIdentity" + }, + "606": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "607": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.linkIdentity" + }, + "608": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "611": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.unlinkIdentity" + }, + "612": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.unlinkIdentity" + }, + "613": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "identity" + }, + "614": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "615": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "616": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "617": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "618": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "619": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "620": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "632": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.startAutoRefresh" + }, + "633": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.startAutoRefresh" + }, + "634": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.stopAutoRefresh" + }, + "635": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.stopAutoRefresh" + }, + "651": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.getClaims" + }, + "652": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "default.getClaims" + }, + "653": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "jwt" + }, + "654": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "655": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "656": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.keys" + }, + "657": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.allowExpired" + }, + "658": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.jwks" + }, + "659": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "660": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.keys" + }, + "661": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "662": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "663": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "664": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.claims" + }, + "665": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.header" + }, + "666": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.signature" + }, + "667": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "668": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "669": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "670": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "671": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "672": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "673": { + "sourceFileName": "../auth-js/src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "674": { + "sourceFileName": "../auth-js/src/AuthAdminApi.ts", + "qualifiedName": "AuthAdminApi" + }, + "675": { + "sourceFileName": "../auth-js/src/AuthClient.ts", + "qualifiedName": "AuthClient" + }, + "676": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "navigatorLock" + }, + "677": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "navigatorLock" + }, + "678": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "R" + }, + "679": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "name" + }, + "680": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "acquireTimeout" + }, + "681": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "fn" + }, + "682": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "__type" + }, + "683": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "__type" + }, + "684": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "NavigatorLockAcquireTimeoutError" + }, + "685": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "LockAcquireTimeoutError.__constructor" + }, + "686": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "NavigatorLockAcquireTimeoutError" + }, + "687": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "message" + }, + "688": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "LockAcquireTimeoutError.isAcquireTimeout" + }, + "689": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "internals" + }, + "690": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "__type" + }, + "691": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "__type.debug" + }, + "692": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "processLock" + }, + "693": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "processLock" + }, + "694": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "R" + }, + "695": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "name" + }, + "696": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "acquireTimeout" + }, + "697": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "fn" + }, + "698": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "__type" + }, + "699": { + "sourceFileName": "../auth-js/src/lib/locks.ts", + "qualifiedName": "__type" + }, + "700": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Provider" + }, + "701": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthChangeEventMFA" + }, + "702": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthChangeEvent" + }, + "703": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "LockFunc" + }, + "704": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "705": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "706": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "name" + }, + "707": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "acquireTimeout" + }, + "708": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "fn" + }, + "709": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "710": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "711": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "R" + }, + "712": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueClientOptions" + }, + "713": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "714": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "715": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.headers" + }, + "716": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "717": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "719": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.storageKey" + }, + "720": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.detectSessionInUrl" + }, + "721": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.autoRefreshToken" + }, + "722": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.persistSession" + }, + "723": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.storage" + }, + "724": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.userStorage" + }, + "725": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.fetch" + }, + "726": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.flowType" + }, + "727": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.debug" + }, + "728": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "729": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "730": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "message" + }, + "731": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "args" + }, + "732": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.lock" + }, + "733": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.hasCustomAuthorizationHeader" + }, + "734": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.throwOnError" + }, + "735": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "WeakPasswordReasons" + }, + "736": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "WeakPassword" + }, + "737": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "738": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.reasons" + }, + "739": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.message" + }, + "740": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Prettify" + }, + "741": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "T" + }, + "742": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "StrictOmit" + }, + "743": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "T" + }, + "744": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "K" + }, + "745": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "RequestResult" + }, + "746": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "747": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "748": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "749": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "750": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "751": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "752": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "T" + }, + "753": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "ErrorType" + }, + "754": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "RequestResultSafeDestructure" + }, + "755": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "756": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "757": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "758": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "759": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "760": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "761": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "T" + }, + "762": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthResponse" + }, + "763": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "764": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "765": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "766": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthResponsePassword" + }, + "767": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "768": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "769": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "770": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.weak_password" + }, + "771": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthOtpResponse" + }, + "772": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "773": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "774": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "775": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.messageId" + }, + "776": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthTokenResponse" + }, + "777": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "778": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "779": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "780": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthTokenResponsePassword" + }, + "781": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "782": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "783": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "784": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.weakPassword" + }, + "785": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "OAuthResponse" + }, + "786": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "787": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "788": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "789": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.provider" + }, + "790": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "791": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "792": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "793": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "794": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "795": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.provider" + }, + "796": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "797": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "798": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SSOResponse" + }, + "799": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "800": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "801": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserResponse" + }, + "802": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "803": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "804": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Session" + }, + "805": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AMRMethod" + }, + "806": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "807": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AMREntry" + }, + "808": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AMREntry.method" + }, + "809": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AMREntry.timestamp" + }, + "810": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserIdentity" + }, + "811": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserIdentity.id" + }, + "812": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserIdentity.user_id" + }, + "813": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserIdentity.identity_data" + }, + "814": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "815": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "817": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserIdentity.identity_id" + }, + "818": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserIdentity.provider" + }, + "819": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserIdentity.created_at" + }, + "820": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserIdentity.last_sign_in_at" + }, + "821": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserIdentity.updated_at" + }, + "822": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "FactorType" + }, + "823": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Factor" + }, + "824": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "825": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "826": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.friendly_name" + }, + "827": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.factor_type" + }, + "828": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.status" + }, + "829": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.created_at" + }, + "830": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.updated_at" + }, + "831": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Type" + }, + "832": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Status" + }, + "833": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserAppMetadata" + }, + "834": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserAppMetadata.provider" + }, + "835": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserAppMetadata.providers" + }, + "836": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserAppMetadata.__index" + }, + "838": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserMetadata" + }, + "839": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserMetadata.__index" + }, + "841": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "User" + }, + "842": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserAttributes" + }, + "843": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserAttributes.email" + }, + "844": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserAttributes.phone" + }, + "845": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserAttributes.password" + }, + "846": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserAttributes.nonce" + }, + "847": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UserAttributes.data" + }, + "848": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AdminUserAttributes" + }, + "849": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.user_metadata" + }, + "850": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.app_metadata" + }, + "851": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.email_confirm" + }, + "852": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.phone_confirm" + }, + "853": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.ban_duration" + }, + "854": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.role" + }, + "855": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.password_hash" + }, + "856": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.id" + }, + "857": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "nonce" + }, + "858": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "email" + }, + "859": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "password" + }, + "860": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "phone" + }, + "861": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Subscription" + }, + "862": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Subscription.id" + }, + "863": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Subscription.callback" + }, + "864": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "865": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "866": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "event" + }, + "867": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "session" + }, + "868": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Subscription.unsubscribe" + }, + "869": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "870": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "871": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SignInAnonymouslyCredentials" + }, + "872": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "873": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "874": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "875": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "876": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "877": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SignUpWithPasswordCredentials" + }, + "878": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "879": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "880": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "881": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "882": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "883": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "884": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.channel" + }, + "885": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SignInWithPasswordCredentials" + }, + "886": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "887": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "888": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "889": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "890": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SignInWithPasswordlessCredentials" + }, + "891": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "892": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "893": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "894": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "895": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "896": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.shouldCreateUser" + }, + "897": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "898": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "899": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "900": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.phone" + }, + "901": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "902": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "903": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.shouldCreateUser" + }, + "904": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "905": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "906": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.channel" + }, + "907": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthFlowType" + }, + "908": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SignInWithOAuthCredentials" + }, + "909": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "910": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.provider" + }, + "911": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "912": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "913": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "914": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.scopes" + }, + "915": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.queryParams" + }, + "916": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "917": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "919": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.skipBrowserRedirect" + }, + "920": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SignInWithIdTokenCredentials" + }, + "921": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "922": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.provider" + }, + "923": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "924": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.token" + }, + "925": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.access_token" + }, + "926": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.nonce" + }, + "927": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "928": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "929": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "930": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SolanaWallet" + }, + "931": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "932": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.signIn" + }, + "933": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "934": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "935": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "inputs" + }, + "936": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.publicKey" + }, + "937": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "938": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.toBase58" + }, + "939": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "940": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "941": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.signMessage" + }, + "942": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "943": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "944": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "message" + }, + "945": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "encoding" + }, + "946": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SolanaWeb3Credentials" + }, + "947": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "948": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.chain" + }, + "949": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.wallet" + }, + "950": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.statement" + }, + "951": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "952": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "953": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "954": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "955": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.signInWithSolana" + }, + "956": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "957": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.chain" + }, + "958": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.message" + }, + "959": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.signature" + }, + "960": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "961": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "962": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "963": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "EthereumWallet" + }, + "964": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "EthereumWeb3Credentials" + }, + "965": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "966": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.chain" + }, + "967": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.wallet" + }, + "968": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.statement" + }, + "969": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "970": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "971": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "972": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "973": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.signInWithEthereum" + }, + "974": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "975": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.chain" + }, + "976": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.message" + }, + "977": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.signature" + }, + "978": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "979": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "980": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "981": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Web3Credentials" + }, + "982": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyOtpParams" + }, + "983": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams" + }, + "984": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams.phone" + }, + "985": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams.token" + }, + "986": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams.type" + }, + "987": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams.options" + }, + "988": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "989": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "990": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "991": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams" + }, + "992": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams.email" + }, + "993": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams.token" + }, + "994": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams.type" + }, + "995": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams.options" + }, + "996": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "997": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "998": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "999": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyTokenHashParams" + }, + "1000": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyTokenHashParams.token_hash" + }, + "1001": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "VerifyTokenHashParams.type" + }, + "1002": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MobileOtpType" + }, + "1003": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "EmailOtpType" + }, + "1004": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "ResendParams" + }, + "1005": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1006": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1007": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1008": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1009": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1010": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "1011": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1012": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1013": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1014": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.phone" + }, + "1015": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1016": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1017": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1018": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SignInWithSSO" + }, + "1019": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1020": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.providerId" + }, + "1021": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1022": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1023": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "1024": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1025": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.skipBrowserRedirect" + }, + "1026": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1027": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.domain" + }, + "1028": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1029": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1030": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "1031": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1032": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.skipBrowserRedirect" + }, + "1033": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GenerateSignupLinkParams" + }, + "1034": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1035": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1036": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1037": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.password" + }, + "1038": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1039": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GenerateInviteOrMagiclinkParams" + }, + "1040": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1041": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1042": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1043": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1044": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GenerateRecoveryLinkParams" + }, + "1045": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1046": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1047": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1048": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1049": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GenerateEmailChangeLinkParams" + }, + "1050": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1051": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1052": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1053": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.newEmail" + }, + "1054": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1055": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GenerateLinkOptions" + }, + "1056": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GenerateLinkOptions.data" + }, + "1057": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GenerateLinkOptions.redirectTo" + }, + "1058": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GenerateLinkParams" + }, + "1059": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GenerateLinkResponse" + }, + "1060": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1061": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.properties" + }, + "1062": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "1063": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GenerateLinkProperties" + }, + "1064": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1065": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.action_link" + }, + "1066": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.email_otp" + }, + "1067": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.hashed_token" + }, + "1068": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.redirect_to" + }, + "1069": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.verification_type" + }, + "1070": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GenerateLinkType" + }, + "1071": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAEnrollParams" + }, + "1072": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAUnenrollParams" + }, + "1073": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1074": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.factorId" + }, + "1075": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAVerifyTOTPParams" + }, + "1076": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAVerifyPhoneParams" + }, + "1077": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnParamFields" + }, + "1078": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1079": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.webauthn" + }, + "1080": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "T" + }, + "1081": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnParams" + }, + "1082": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "T" + }, + "1083": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAVerifyParams" + }, + "1084": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFATOTPChannel" + }, + "1085": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAChallengeTOTPParams" + }, + "1086": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAChallengePhoneParams" + }, + "1087": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAChallengeWebauthnParams" + }, + "1088": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAChallengeParams" + }, + "1089": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAChallengeAndVerifyParams" + }, + "1090": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAVerifyResponseData" + }, + "1091": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1092": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.access_token" + }, + "1093": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.token_type" + }, + "1094": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.expires_in" + }, + "1095": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.refresh_token" + }, + "1096": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "1097": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAVerifyResponse" + }, + "1098": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollResponse" + }, + "1099": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAUnenrollResponse" + }, + "1100": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1101": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "1102": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeTOTPResponse" + }, + "1103": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAChallengePhoneResponse" + }, + "1104": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeWebauthnResponse" + }, + "1105": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeWebauthnResponseDataJSON" + }, + "1106": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeWebauthnServerResponse" + }, + "1107": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeResponse" + }, + "1108": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAListFactorsResponse" + }, + "1109": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1110": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.all" + }, + "1111": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "T" + }, + "1112": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthenticatorAssuranceLevels" + }, + "1113": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAGetAuthenticatorAssuranceLevelResponse" + }, + "1114": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1115": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.currentLevel" + }, + "1116": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.nextLevel" + }, + "1117": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.currentAuthenticationMethods" + }, + "1118": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi" + }, + "1119": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1120": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1121": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1122": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1123": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "factorType" + }, + "1124": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "friendlyName" + }, + "1125": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "issuer" + }, + "1126": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1127": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1128": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1129": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "factorType" + }, + "1130": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "friendlyName" + }, + "1131": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "phone" + }, + "1132": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1133": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1134": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1135": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "factorType" + }, + "1136": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "friendlyName" + }, + "1137": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1138": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1139": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1140": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1141": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1142": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1143": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1144": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1145": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "data" + }, + "1146": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "error" + }, + "1147": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1148": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "data" + }, + "1149": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1150": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "id" + }, + "1151": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "type" + }, + "1152": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "expires_at" + }, + "1153": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "error" + }, + "1154": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1155": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1156": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1157": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1158": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "channel" + }, + "1159": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1160": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "data" + }, + "1161": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "error" + }, + "1162": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1163": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "data" + }, + "1164": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1165": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "id" + }, + "1166": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "type" + }, + "1167": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "expires_at" + }, + "1168": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "error" + }, + "1169": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1170": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1171": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1172": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1173": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "webauthn" + }, + "1174": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1175": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.rpId" + }, + "1176": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.rpOrigins" + }, + "1177": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1178": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "data" + }, + "1179": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "error" + }, + "1180": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1181": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "data" + }, + "1182": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1183": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "id" + }, + "1184": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "type" + }, + "1185": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "expires_at" + }, + "1186": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "webauthn" + }, + "1187": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1188": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1189": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.credential_options" + }, + "1190": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1191": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.publicKey" + }, + "1192": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1193": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1194": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.credential_options" + }, + "1195": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1196": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.publicKey" + }, + "1197": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "error" + }, + "1198": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1199": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1200": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1201": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1202": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1203": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1204": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1205": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "challengeId" + }, + "1206": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "code" + }, + "1207": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1208": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1209": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1210": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1211": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "challengeId" + }, + "1212": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "code" + }, + "1213": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1214": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1215": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1216": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1217": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "challengeId" + }, + "1218": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "webauthn" + }, + "1219": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1220": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1221": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.unenroll" + }, + "1222": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.unenroll" + }, + "1223": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1224": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challengeAndVerify" + }, + "1225": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challengeAndVerify" + }, + "1226": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1227": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1228": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1229": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "code" + }, + "1230": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.listFactors" + }, + "1231": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.listFactors" + }, + "1232": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.getAuthenticatorAssuranceLevel" + }, + "1233": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.getAuthenticatorAssuranceLevel" + }, + "1234": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.webauthn" + }, + "1235": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAAdminDeleteFactorResponse" + }, + "1236": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1237": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "1238": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAAdminDeleteFactorParams" + }, + "1239": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1240": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "1241": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.userId" + }, + "1242": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAAdminListFactorsResponse" + }, + "1243": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1244": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.factors" + }, + "1245": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAAdminListFactorsParams" + }, + "1246": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1247": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.userId" + }, + "1248": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi" + }, + "1249": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi.listFactors" + }, + "1250": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi.listFactors" + }, + "1251": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1252": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi.deleteFactor" + }, + "1253": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi.deleteFactor" + }, + "1254": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1255": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SupportedStorage" + }, + "1256": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1257": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.isServer" + }, + "1258": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "InitializeResult" + }, + "1259": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1260": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "1261": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "CallRefreshTokenResult" + }, + "1262": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "Pagination" + }, + "1263": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1264": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.nextPage" + }, + "1265": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.lastPage" + }, + "1266": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.total" + }, + "1267": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "1269": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "PageParams" + }, + "1270": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1271": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.page" + }, + "1272": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.perPage" + }, + "1273": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SignOut" + }, + "1274": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1275": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.scope" + }, + "1276": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAEnrollTOTPParams" + }, + "1277": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAEnrollPhoneParams" + }, + "1278": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "MFAEnrollWebauthnParams" + }, + "1279": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollTOTPResponse" + }, + "1280": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollPhoneResponse" + }, + "1281": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollWebauthnResponse" + }, + "1282": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JwtHeader" + }, + "1283": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1284": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.alg" + }, + "1285": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.kid" + }, + "1286": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.typ" + }, + "1287": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "RequiredClaims" + }, + "1288": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1289": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.iss" + }, + "1290": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.sub" + }, + "1291": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.aud" + }, + "1292": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.exp" + }, + "1293": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.iat" + }, + "1294": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.role" + }, + "1295": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.aal" + }, + "1296": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.session_id" + }, + "1297": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JwtPayload" + }, + "1298": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JwtPayload.email" + }, + "1299": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JwtPayload.phone" + }, + "1300": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JwtPayload.is_anonymous" + }, + "1301": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JwtPayload.jti" + }, + "1302": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JwtPayload.nbf" + }, + "1303": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JwtPayload.app_metadata" + }, + "1304": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JwtPayload.user_metadata" + }, + "1305": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JwtPayload.amr" + }, + "1306": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JwtPayload.ref" + }, + "1307": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.iss" + }, + "1308": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.sub" + }, + "1309": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.aud" + }, + "1310": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.exp" + }, + "1311": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.iat" + }, + "1312": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.role" + }, + "1313": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.aal" + }, + "1314": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.session_id" + }, + "1315": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JwtPayload.__index" + }, + "1317": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JWK" + }, + "1318": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JWK.kty" + }, + "1319": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JWK.key_ops" + }, + "1320": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JWK.alg" + }, + "1321": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JWK.kid" + }, + "1322": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "JWK.__index" + }, + "1324": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SIGN_OUT_SCOPES" + }, + "1325": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "SignOutScope" + }, + "1326": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "OAuthClientGrantType" + }, + "1327": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "OAuthClientResponseType" + }, + "1328": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "OAuthClientType" + }, + "1329": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "OAuthClientRegistrationType" + }, + "1330": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "OAuthClient" + }, + "1331": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1332": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client_id" + }, + "1333": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client_name" + }, + "1334": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client_secret" + }, + "1335": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client_type" + }, + "1336": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.token_endpoint_auth_method" + }, + "1337": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.registration_type" + }, + "1338": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client_uri" + }, + "1339": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.logo_uri" + }, + "1340": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.redirect_uris" + }, + "1341": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.grant_types" + }, + "1342": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.response_types" + }, + "1343": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.scope" + }, + "1344": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.created_at" + }, + "1345": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.updated_at" + }, + "1346": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "CreateOAuthClientParams" + }, + "1347": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1348": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client_name" + }, + "1349": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client_uri" + }, + "1350": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.redirect_uris" + }, + "1351": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.grant_types" + }, + "1352": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.response_types" + }, + "1353": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.scope" + }, + "1354": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "UpdateOAuthClientParams" + }, + "1355": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1356": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client_name" + }, + "1357": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client_uri" + }, + "1358": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.logo_uri" + }, + "1359": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.redirect_uris" + }, + "1360": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.grant_types" + }, + "1361": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "OAuthClientResponse" + }, + "1362": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "OAuthClientListResponse" + }, + "1363": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1364": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "1365": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1366": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.clients" + }, + "1367": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.aud" + }, + "1368": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "1369": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1370": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "1371": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1372": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.clients" + }, + "1373": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "1374": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi" + }, + "1375": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.listClients" + }, + "1376": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.listClients" + }, + "1377": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1378": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.createClient" + }, + "1379": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.createClient" + }, + "1380": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1381": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.getClient" + }, + "1382": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.getClient" + }, + "1383": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "clientId" + }, + "1384": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.updateClient" + }, + "1385": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.updateClient" + }, + "1386": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "clientId" + }, + "1387": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "params" + }, + "1388": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.deleteClient" + }, + "1389": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.deleteClient" + }, + "1390": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "clientId" + }, + "1391": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1392": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "1393": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "1394": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.regenerateClientSecret" + }, + "1395": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.regenerateClientSecret" + }, + "1396": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "clientId" + }, + "1397": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "OAuthAuthorizationClient" + }, + "1398": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1399": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client_id" + }, + "1400": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client_name" + }, + "1401": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client_uri" + }, + "1402": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.logo_uri" + }, + "1403": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "OAuthAuthorizationDetails" + }, + "1404": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1405": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.authorization_id" + }, + "1406": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.redirect_uri" + }, + "1407": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.client" + }, + "1408": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "1409": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1410": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "1411": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1412": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.scope" + }, + "1413": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthOAuthAuthorizationDetailsResponse" + }, + "1414": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthOAuthConsentResponse" + }, + "1415": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1416": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.redirect_url" + }, + "1417": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi" + }, + "1418": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi.getAuthorizationDetails" + }, + "1419": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi.getAuthorizationDetails" + }, + "1420": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "authorizationId" + }, + "1421": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi.approveAuthorization" + }, + "1422": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi.approveAuthorization" + }, + "1423": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "authorizationId" + }, + "1424": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "options" + }, + "1425": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1426": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.skipBrowserRedirect" + }, + "1427": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi.denyAuthorization" + }, + "1428": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi.denyAuthorization" + }, + "1429": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "authorizationId" + }, + "1430": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "options" + }, + "1431": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type" + }, + "1432": { + "sourceFileName": "../auth-js/src/lib/types.ts", + "qualifiedName": "__type.skipBrowserRedirect" + }, + "1433": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "isAuthError" + }, + "1434": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "isAuthError" + }, + "1435": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "error" + }, + "1436": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "isAuthApiError" + }, + "1437": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "isAuthApiError" + }, + "1438": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "error" + }, + "1439": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "isAuthSessionMissingError" + }, + "1440": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "isAuthSessionMissingError" + }, + "1441": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "error" + }, + "1442": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "isAuthImplicitGrantRedirectError" + }, + "1443": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "isAuthImplicitGrantRedirectError" + }, + "1444": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "error" + }, + "1445": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "isAuthRetryableFetchError" + }, + "1446": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "isAuthRetryableFetchError" + }, + "1447": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "error" + }, + "1448": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "isAuthWeakPasswordError" + }, + "1449": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "isAuthWeakPasswordError" + }, + "1450": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "error" + }, + "1451": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError" + }, + "1452": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__constructor" + }, + "1453": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError" + }, + "1454": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "message" + }, + "1455": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "status" + }, + "1456": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "code" + }, + "1457": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1458": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1459": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.status" + }, + "1460": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__isAuthError" + }, + "1461": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthApiError" + }, + "1462": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthApiError.__constructor" + }, + "1463": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthApiError" + }, + "1464": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "message" + }, + "1465": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "status" + }, + "1466": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "code" + }, + "1467": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthApiError.status" + }, + "1468": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1469": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1470": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__isAuthError" + }, + "1471": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthUnknownError" + }, + "1472": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthUnknownError.__constructor" + }, + "1473": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthUnknownError" + }, + "1474": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "message" + }, + "1475": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "originalError" + }, + "1476": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthUnknownError.originalError" + }, + "1477": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1478": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1479": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.status" + }, + "1480": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__isAuthError" + }, + "1481": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError" + }, + "1482": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.__constructor" + }, + "1483": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError" + }, + "1484": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "message" + }, + "1485": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "name" + }, + "1486": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "status" + }, + "1487": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "code" + }, + "1488": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1489": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1490": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1491": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1492": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__isAuthError" + }, + "1493": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthSessionMissingError" + }, + "1494": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthSessionMissingError.__constructor" + }, + "1495": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthSessionMissingError" + }, + "1496": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1497": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1498": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1499": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1500": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__isAuthError" + }, + "1501": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthInvalidTokenResponseError" + }, + "1502": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthInvalidTokenResponseError.__constructor" + }, + "1503": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthInvalidTokenResponseError" + }, + "1504": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1505": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1506": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1507": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1508": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__isAuthError" + }, + "1509": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthInvalidCredentialsError" + }, + "1510": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthInvalidCredentialsError.__constructor" + }, + "1511": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthInvalidCredentialsError" + }, + "1512": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "message" + }, + "1513": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1514": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1515": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1516": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1517": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__isAuthError" + }, + "1518": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError" + }, + "1519": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError.__constructor" + }, + "1520": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError" + }, + "1521": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "message" + }, + "1522": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "details" + }, + "1523": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1524": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1525": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1526": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError.details" + }, + "1527": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1528": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1529": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1530": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError.toJSON" + }, + "1531": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError.toJSON" + }, + "1532": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1533": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.name" + }, + "1534": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.message" + }, + "1535": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.status" + }, + "1536": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.details" + }, + "1537": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1538": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1539": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1540": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1541": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1542": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1543": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1544": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__isAuthError" + }, + "1545": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError" + }, + "1546": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError.__constructor" + }, + "1547": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError" + }, + "1548": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "message" + }, + "1549": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "details" + }, + "1550": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1551": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1552": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1553": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError.details" + }, + "1554": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1555": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1556": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1557": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError.toJSON" + }, + "1558": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError.toJSON" + }, + "1559": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1560": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.name" + }, + "1561": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.message" + }, + "1562": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.status" + }, + "1563": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.details" + }, + "1564": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1565": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1566": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1567": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1568": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1569": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1570": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1571": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__isAuthError" + }, + "1572": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthRetryableFetchError" + }, + "1573": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthRetryableFetchError.__constructor" + }, + "1574": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthRetryableFetchError" + }, + "1575": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "message" + }, + "1576": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "status" + }, + "1577": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1578": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1579": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1580": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1581": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__isAuthError" + }, + "1582": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthWeakPasswordError" + }, + "1583": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthWeakPasswordError.__constructor" + }, + "1584": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthWeakPasswordError" + }, + "1585": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "message" + }, + "1586": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "status" + }, + "1587": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "reasons" + }, + "1588": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthWeakPasswordError.reasons" + }, + "1589": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1590": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1591": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1592": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1593": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__isAuthError" + }, + "1594": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthInvalidJwtError" + }, + "1595": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthInvalidJwtError.__constructor" + }, + "1596": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthInvalidJwtError" + }, + "1597": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "message" + }, + "1598": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1599": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1600": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1601": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1602": { + "sourceFileName": "../auth-js/src/lib/errors.ts", + "qualifiedName": "AuthError.__isAuthError" + }, + "1603": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "default" + }, + "1604": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "default.__constructor" + }, + "1605": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "default" + }, + "1606": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "channel" + }, + "1607": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "opts" + }, + "1608": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "default.channel" + }, + "1609": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "default.state" + }, + "1610": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "default.pendingDiffs" + }, + "1611": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "default.joinRef" + }, + "1612": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "default.enabled" + }, + "1613": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "default.caller" + }, + "1614": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "1615": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.onJoin" + }, + "1616": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.onLeave" + }, + "1617": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.onSync" + }, + "1618": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "1619": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "1620": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default" + }, + "1621": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.__constructor" + }, + "1622": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default" + }, + "1623": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "topic" + }, + "1624": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "params" + }, + "1625": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "socket" + }, + "1626": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.topic" + }, + "1627": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.params" + }, + "1628": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.socket" + }, + "1629": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.bindings" + }, + "1630": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1631": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1633": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1634": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "1635": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.filter" + }, + "1636": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1637": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1639": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.callback" + }, + "1640": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.id" + }, + "1641": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.timeout" + }, + "1642": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.state" + }, + "1643": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.joinedOnce" + }, + "1644": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.joinPush" + }, + "1645": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.rejoinTimer" + }, + "1646": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.pushBuffer" + }, + "1647": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.presence" + }, + "1648": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.broadcastEndpointURL" + }, + "1649": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.subTopic" + }, + "1650": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.private" + }, + "1651": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.subscribe" + }, + "1652": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.subscribe" + }, + "1653": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1654": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1655": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1656": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "status" + }, + "1657": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "err" + }, + "1658": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "timeout" + }, + "1659": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.presenceState" + }, + "1660": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.presenceState" + }, + "1661": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1662": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1663": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1665": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1666": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.track" + }, + "1667": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.track" + }, + "1668": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1669": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1670": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1672": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "opts" + }, + "1673": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1674": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1676": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.untrack" + }, + "1677": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.untrack" + }, + "1678": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "opts" + }, + "1679": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1680": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1682": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1683": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1684": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1685": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1686": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1687": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1688": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1689": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1690": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1691": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1692": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1693": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1694": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1696": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1697": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1698": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1699": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1700": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1701": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1702": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1703": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1704": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1705": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1706": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1707": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1709": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1710": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1711": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1712": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1713": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1714": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1715": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1716": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1717": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1718": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1719": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1720": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1722": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1723": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1724": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1725": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1726": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1727": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1728": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1729": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1730": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1731": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1733": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1734": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1735": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1736": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1737": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1738": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1739": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1740": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1741": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1742": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1744": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1745": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1746": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1747": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1748": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1749": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1750": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1751": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1752": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1753": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1755": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1756": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1757": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1758": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1759": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1760": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1761": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1762": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1763": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1764": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1765": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1766": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1767": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1768": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1769": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1770": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1771": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "1772": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1773": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.meta" + }, + "1774": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1775": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.replayed" + }, + "1776": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.id" + }, + "1777": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1779": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1780": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1781": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1782": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1784": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1785": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1786": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1787": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1788": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1789": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1790": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1791": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1792": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1793": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "1794": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1795": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.meta" + }, + "1796": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1797": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.replayed" + }, + "1798": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.id" + }, + "1799": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.payload" + }, + "1800": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1801": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1802": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1803": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1804": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1805": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1806": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1807": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1808": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1809": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1810": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1811": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "1812": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1813": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.payload" + }, + "1814": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1815": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1816": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1817": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1819": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1820": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1821": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1822": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1823": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1824": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1825": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1826": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1827": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1828": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "1829": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1830": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.payload" + }, + "1831": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1832": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1833": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1834": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1836": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1837": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1838": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1839": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1840": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1841": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1842": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1843": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1844": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1845": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "1846": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1847": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.payload" + }, + "1848": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1849": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1850": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1851": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1853": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1854": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1855": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1856": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1857": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1858": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1859": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1860": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1861": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1862": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "1863": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1864": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.payload" + }, + "1865": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "1866": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "1867": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1868": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1870": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "1871": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "1872": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1873": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "1874": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1875": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1876": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1877": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.httpSend" + }, + "1878": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.httpSend" + }, + "1879": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "event" + }, + "1880": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1881": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "opts" + }, + "1882": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1883": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.timeout" + }, + "1884": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1885": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.success" + }, + "1886": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1887": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.success" + }, + "1888": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.status" + }, + "1889": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.error" + }, + "1890": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.send" + }, + "1891": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.send" + }, + "1892": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "args" + }, + "1893": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1894": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "1895": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "1896": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.payload" + }, + "1897": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1899": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "opts" + }, + "1900": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1901": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1903": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.updateJoinPayload" + }, + "1904": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.updateJoinPayload" + }, + "1905": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "1906": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1907": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "1909": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.unsubscribe" + }, + "1910": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.unsubscribe" + }, + "1911": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "timeout" + }, + "1912": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.teardown" + }, + "1913": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "default.teardown" + }, + "1914": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "RealtimeChannelOptions" + }, + "1915": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1916": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.config" + }, + "1917": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1918": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.broadcast" + }, + "1919": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1920": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.self" + }, + "1921": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.ack" + }, + "1922": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.replay" + }, + "1923": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.presence" + }, + "1924": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "1925": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.key" + }, + "1926": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.enabled" + }, + "1927": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.private" + }, + "1928": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "RealtimeChannelSendResponse" + }, + "1929": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default" + }, + "1930": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.__constructor" + }, + "1931": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default" + }, + "1932": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "endPoint" + }, + "1933": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "options" + }, + "1934": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.accessTokenValue" + }, + "1935": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.apiKey" + }, + "1936": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.channels" + }, + "1937": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.endPoint" + }, + "1938": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.httpEndpoint" + }, + "1939": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.headers" + }, + "1940": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "1941": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.__index" + }, + "1943": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.params" + }, + "1944": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "1945": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.__index" + }, + "1947": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.timeout" + }, + "1948": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.transport" + }, + "1949": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.heartbeatIntervalMs" + }, + "1950": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.heartbeatTimer" + }, + "1951": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.pendingHeartbeatRef" + }, + "1952": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.heartbeatCallback" + }, + "1953": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "1954": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "1955": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "status" + }, + "1956": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.ref" + }, + "1957": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.reconnectTimer" + }, + "1958": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.vsn" + }, + "1959": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.logger" + }, + "1960": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.logLevel" + }, + "1961": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.encode" + }, + "1962": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.decode" + }, + "1963": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.reconnectAfterMs" + }, + "1964": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.conn" + }, + "1965": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.sendBuffer" + }, + "1966": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.serializer" + }, + "1967": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.stateChangeCallbacks" + }, + "1968": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "1969": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.open" + }, + "1970": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.close" + }, + "1971": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.error" + }, + "1972": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.message" + }, + "1973": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.fetch" + }, + "1974": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "1975": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "1976": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "1977": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "1978": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "1979": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "1980": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "1981": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.accessToken" + }, + "1982": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "1983": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "1984": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.worker" + }, + "1985": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.workerUrl" + }, + "1986": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.workerRef" + }, + "1990": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.connect" + }, + "1991": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.connect" + }, + "1992": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.endpointURL" + }, + "1993": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.endpointURL" + }, + "1994": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.disconnect" + }, + "1995": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.disconnect" + }, + "1996": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "code" + }, + "1997": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "reason" + }, + "1998": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.getChannels" + }, + "1999": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.getChannels" + }, + "2000": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.removeChannel" + }, + "2001": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.removeChannel" + }, + "2002": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "channel" + }, + "2003": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.removeAllChannels" + }, + "2004": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.removeAllChannels" + }, + "2005": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.log" + }, + "2006": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.log" + }, + "2007": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "kind" + }, + "2008": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "msg" + }, + "2009": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "data" + }, + "2010": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.connectionState" + }, + "2011": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.connectionState" + }, + "2012": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.isConnected" + }, + "2013": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.isConnected" + }, + "2014": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.isConnecting" + }, + "2015": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.isConnecting" + }, + "2016": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.isDisconnecting" + }, + "2017": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.isDisconnecting" + }, + "2018": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.channel" + }, + "2019": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.channel" + }, + "2020": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "topic" + }, + "2021": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "params" + }, + "2022": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.push" + }, + "2023": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.push" + }, + "2024": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "data" + }, + "2025": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.setAuth" + }, + "2026": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.setAuth" + }, + "2027": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "token" + }, + "2028": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.sendHeartbeat" + }, + "2029": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.sendHeartbeat" + }, + "2030": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.onHeartbeat" + }, + "2031": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.onHeartbeat" + }, + "2032": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "callback" + }, + "2033": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "2034": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "2035": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "status" + }, + "2036": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.flushSendBuffer" + }, + "2037": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "default.flushSendBuffer" + }, + "2039": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "RealtimeClientOptions" + }, + "2040": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "2041": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.transport" + }, + "2042": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.timeout" + }, + "2043": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.heartbeatIntervalMs" + }, + "2044": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.heartbeatCallback" + }, + "2045": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "2046": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "2047": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "status" + }, + "2048": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.vsn" + }, + "2049": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.logger" + }, + "2050": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.encode" + }, + "2051": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.decode" + }, + "2052": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.reconnectAfterMs" + }, + "2053": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.headers" + }, + "2054": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "2055": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.__index" + }, + "2057": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.params" + }, + "2058": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "2059": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.__index" + }, + "2061": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.log_level" + }, + "2062": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.logLevel" + }, + "2063": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.fetch" + }, + "2064": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.worker" + }, + "2065": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.workerUrl" + }, + "2066": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.accessToken" + }, + "2067": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "2068": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "2069": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "RealtimeMessage" + }, + "2070": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "2071": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.topic" + }, + "2072": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.event" + }, + "2073": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.payload" + }, + "2074": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.ref" + }, + "2075": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "__type.join_ref" + }, + "2076": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresChangesFilter" + }, + "2077": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "2078": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "2079": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.schema" + }, + "2080": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.table" + }, + "2081": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.filter" + }, + "2082": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "2083": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresChangesPayload" + }, + "2084": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "2085": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "2086": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "2088": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresInsertPayload" + }, + "2089": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "2090": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.eventType" + }, + "2091": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.new" + }, + "2092": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.old" + }, + "2093": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "2094": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "2095": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "2096": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "2098": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresUpdatePayload" + }, + "2099": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "2100": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.eventType" + }, + "2101": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.new" + }, + "2102": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.old" + }, + "2103": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "2104": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "2105": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "2107": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresDeletePayload" + }, + "2108": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "2109": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.eventType" + }, + "2110": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.new" + }, + "2111": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "2112": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.old" + }, + "2113": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "2114": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "2115": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "2117": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "RealtimePresenceJoinPayload" + }, + "2118": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "2119": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.event" + }, + "2120": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.key" + }, + "2121": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.currentPresences" + }, + "2122": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.newPresences" + }, + "2123": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "T" + }, + "2124": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "2125": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "2127": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "RealtimePresenceLeavePayload" + }, + "2128": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "2129": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.event" + }, + "2130": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.key" + }, + "2131": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.currentPresences" + }, + "2132": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.leftPresences" + }, + "2133": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "T" + }, + "2134": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "2135": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "2137": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "RealtimePresenceState" + }, + "2138": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "2139": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "2141": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "T" + }, + "2142": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "2143": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "2145": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "2146": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "RealtimeRemoveChannelResponse" + }, + "2147": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_LISTEN_TYPES" + }, + "2148": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_LISTEN_TYPES.BROADCAST" + }, + "2149": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_LISTEN_TYPES.PRESENCE" + }, + "2150": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_LISTEN_TYPES.POSTGRES_CHANGES" + }, + "2151": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_LISTEN_TYPES.SYSTEM" + }, + "2152": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" + }, + "2153": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.ALL" + }, + "2154": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" + }, + "2155": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" + }, + "2156": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" + }, + "2157": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS" + }, + "2158": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.SYNC" + }, + "2159": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN" + }, + "2160": { + "sourceFileName": "../realtime-js/src/RealtimePresence.ts", + "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE" + }, + "2161": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_SUBSCRIBE_STATES" + }, + "2162": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_SUBSCRIBE_STATES.SUBSCRIBED" + }, + "2163": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_SUBSCRIBE_STATES.TIMED_OUT" + }, + "2164": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_SUBSCRIBE_STATES.CLOSED" + }, + "2165": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_SUBSCRIBE_STATES.CHANNEL_ERROR" + }, + "2166": { + "sourceFileName": "../realtime-js/src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_CHANNEL_STATES" + }, + "2167": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory" + }, + "2169": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory.getWebSocketConstructor" + }, + "2170": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory.getWebSocketConstructor" + }, + "2171": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "__type" + }, + "2172": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "__type" + }, + "2173": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "url" + }, + "2174": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "protocols" + }, + "2175": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory.createWebSocket" + }, + "2176": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory.createWebSocket" + }, + "2177": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "url" + }, + "2178": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "protocols" + }, + "2179": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory.isWebSocketSupported" + }, + "2180": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory.isWebSocketSupported" + }, + "2183": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike" + }, + "2184": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.CONNECTING" + }, + "2185": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.OPEN" + }, + "2186": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.CLOSING" + }, + "2187": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.CLOSED" + }, + "2188": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.readyState" + }, + "2189": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.url" + }, + "2190": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.protocol" + }, + "2191": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.close" + }, + "2192": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.close" + }, + "2193": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "code" + }, + "2194": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "reason" + }, + "2195": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.send" + }, + "2196": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.send" + }, + "2197": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "data" + }, + "2198": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.onopen" + }, + "2199": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "2200": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "2201": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "this" + }, + "2202": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "ev" + }, + "2203": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.onmessage" + }, + "2204": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "2205": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "2206": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "this" + }, + "2207": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "ev" + }, + "2208": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.onclose" + }, + "2209": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "2210": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "2211": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "this" + }, + "2212": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "ev" + }, + "2213": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.onerror" + }, + "2214": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "2215": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "2216": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "this" + }, + "2217": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "ev" + }, + "2218": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.addEventListener" + }, + "2219": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.addEventListener" + }, + "2220": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "type" + }, + "2221": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "listener" + }, + "2222": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.removeEventListener" + }, + "2223": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.removeEventListener" + }, + "2224": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "type" + }, + "2225": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "listener" + }, + "2226": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.binaryType" + }, + "2227": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.bufferedAmount" + }, + "2228": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.extensions" + }, + "2229": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.dispatchEvent" + }, + "2230": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "2231": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "2232": { + "sourceFileName": "../realtime-js/src/lib/websocket-factory.ts", + "qualifiedName": "event" + }, + "2233": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "WebSocketLikeConstructor" + }, + "2234": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "WebSocketLikeConstructor" + }, + "2235": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "WebSocketLikeConstructor" + }, + "2236": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "address" + }, + "2237": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "subprotocols" + }, + "2238": { + "sourceFileName": "../realtime-js/src/RealtimeClient.ts", + "qualifiedName": "WebSocketLikeConstructor.__index" + } + }, + "files": { + "entries": { + "1": "src/index.ts", + "2": "../../../CONTRIBUTING.md", + "3": "TESTING.md" + }, + "reflections": { + "1": 0 + } + } + }, + { + "id": 0, + "name": "@supabase/auth-js", + "variant": "project", + "kind": 1, + "flags": {}, + "children": [ + { + "id": 1491, + "name": "AuthApiError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1492, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 33, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L33" + } + ], + "signatures": [ + { + "id": 1493, + "name": "AuthApiError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 33, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L33" + } + ], + "parameters": [ + { + "id": 1494, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1495, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1496, + "name": "code", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": 1491, + "name": "AuthApiError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1483, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1482, + "name": "AuthError.constructor" + } + }, + { + "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/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "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": 1487, + "name": "AuthError.code" + } + }, + { + "id": 1497, + "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/src/lib/errors.ts", + "line": 31, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L31" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "overwrites": { + "type": "reference", + "target": 1489, + "name": "AuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1492] + }, + { + "title": "Properties", + "children": [1498, 1497] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 30, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L30" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1481, + "name": "AuthError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1482, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L18" + } + ], + "signatures": [ + { + "id": 1483, + "name": "AuthError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L18" + } + ], + "parameters": [ + { + "id": 1484, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1485, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1486, + "name": "code", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": -1, + "name": "Error.constructor" + } + }, + { + "id": 1487, + "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/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1488, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + ] + } + }, + { + "id": 1489, + "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/src/lib/errors.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L14" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1482] + }, + { + "title": "Properties", + "children": [1487, 1489] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 4, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L4" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Error" + }, + "name": "Error", + "package": "typescript" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 1491, + "name": "AuthApiError" + }, + { + "type": "reference", + "target": 1501, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "target": 1511, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1548, + "name": "AuthImplicitGrantRedirectError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1549, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 90, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L90" + } + ], + "signatures": [ + { + "id": 1550, + "name": "AuthImplicitGrantRedirectError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 90, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L90" + } + ], + "parameters": [ + { + "id": 1551, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1552, + "name": "details", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1553, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1555, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 90, + "character": 57, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L90" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1554, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 90, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L90" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1555, 1554] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 90, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L90" + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "target": 1548, + "name": "AuthImplicitGrantRedirectError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1513, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1512, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1572, + "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/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1573, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1520, + "name": "CustomAuthError.code" + } + }, + { + "id": 1556, + "name": "details", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L89" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1557, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1559, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L89" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1558, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L89" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1559, 1558] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L89" + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 1570, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1518, + "name": "CustomAuthError.name" + } + }, + { + "id": 1571, + "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/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1519, + "name": "CustomAuthError.status" + } + }, + { + "id": 1560, + "name": "toJSON", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 95, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L95" + } + ], + "signatures": [ + { + "id": 1561, + "name": "toJSON", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 95, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L95" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1562, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1566, + "name": "details", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 100, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L100" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1567, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1569, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L89" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1568, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L89" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1569, 1568] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 89, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L89" + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 1564, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 98, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L98" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1563, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 97, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L97" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1565, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 99, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L99" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "children": [1566, 1564, 1563, 1565] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 96, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L96" + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1549] + }, + { + "title": "Properties", + "children": [1572, 1556, 1570, 1571] + }, + { + "title": "Methods", + "children": [1560] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 88, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L88" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1511, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1539, + "name": "AuthInvalidCredentialsError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1540, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 83, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L83" + } + ], + "signatures": [ + { + "id": 1541, + "name": "AuthInvalidCredentialsError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 83, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L83" + } + ], + "parameters": [ + { + "id": 1542, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": 1539, + "name": "AuthInvalidCredentialsError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1513, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1512, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1545, + "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/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1546, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1520, + "name": "CustomAuthError.code" + } + }, + { + "id": 1543, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1518, + "name": "CustomAuthError.name" + } + }, + { + "id": 1544, + "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/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1519, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1540] + }, + { + "title": "Properties", + "children": [1545, 1543, 1544] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 82, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L82" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1511, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1624, + "name": "AuthInvalidJwtError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1625, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 162, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L162" + } + ], + "signatures": [ + { + "id": 1626, + "name": "AuthInvalidJwtError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 162, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L162" + } + ], + "parameters": [ + { + "id": 1627, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": 1624, + "name": "AuthInvalidJwtError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1513, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1512, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1630, + "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/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1631, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1520, + "name": "CustomAuthError.code" + } + }, + { + "id": 1628, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1518, + "name": "CustomAuthError.name" + } + }, + { + "id": 1629, + "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/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1519, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1625] + }, + { + "title": "Properties", + "children": [1630, 1628, 1629] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 161, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L161" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1511, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1531, + "name": "AuthInvalidTokenResponseError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1532, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 77, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L77" + } + ], + "signatures": [ + { + "id": 1533, + "name": "AuthInvalidTokenResponseError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 77, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L77" + } + ], + "type": { + "type": "reference", + "target": 1531, + "name": "AuthInvalidTokenResponseError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1513, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1512, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1536, + "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/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1537, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1520, + "name": "CustomAuthError.code" + } + }, + { + "id": 1534, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1518, + "name": "CustomAuthError.name" + } + }, + { + "id": 1535, + "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/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1519, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1532] + }, + { + "title": "Properties", + "children": [1536, 1534, 1535] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 76, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L76" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1511, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1575, + "name": "AuthPKCEGrantCodeExchangeError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1576, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 114, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L114" + } + ], + "signatures": [ + { + "id": 1577, + "name": "AuthPKCEGrantCodeExchangeError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 114, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L114" + } + ], + "parameters": [ + { + "id": 1578, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1579, + "name": "details", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1580, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1582, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 114, + "character": 57, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L114" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1581, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 114, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L114" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1582, 1581] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 114, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L114" + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "target": 1575, + "name": "AuthPKCEGrantCodeExchangeError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1513, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1512, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1599, + "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/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1600, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1520, + "name": "CustomAuthError.code" + } + }, + { + "id": 1583, + "name": "details", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L112" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1584, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1586, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L112" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1585, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L112" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1586, 1585] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L112" + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 1597, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1518, + "name": "CustomAuthError.name" + } + }, + { + "id": 1598, + "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/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1519, + "name": "CustomAuthError.status" + } + }, + { + "id": 1587, + "name": "toJSON", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 119, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L119" + } + ], + "signatures": [ + { + "id": 1588, + "name": "toJSON", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 119, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L119" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1589, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1593, + "name": "details", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 124, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L124" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1594, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1596, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L112" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1595, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L112" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1596, 1595] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 112, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L112" + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 1591, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 122, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L122" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1590, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 121, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L121" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1592, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 123, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L123" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "children": [1593, 1591, 1590, 1592] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 120, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L120" + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1576] + }, + { + "title": "Properties", + "children": [1599, 1583, 1597, 1598] + }, + { + "title": "Methods", + "children": [1587] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 111, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L111" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1511, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1602, + "name": "AuthRetryableFetchError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1603, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 130, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L130" + } + ], + "signatures": [ + { + "id": 1604, + "name": "AuthRetryableFetchError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 130, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L130" + } + ], + "parameters": [ + { + "id": 1605, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1606, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "target": 1602, + "name": "AuthRetryableFetchError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1513, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1512, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1609, + "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/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1610, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1520, + "name": "CustomAuthError.code" + } + }, + { + "id": 1607, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1518, + "name": "CustomAuthError.name" + } + }, + { + "id": 1608, + "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/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1519, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1603] + }, + { + "title": "Properties", + "children": [1609, 1607, 1608] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 129, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L129" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1511, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1523, + "name": "AuthSessionMissingError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1524, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L67" + } + ], + "signatures": [ + { + "id": 1525, + "name": "AuthSessionMissingError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L67" + } + ], + "type": { + "type": "reference", + "target": 1523, + "name": "AuthSessionMissingError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1513, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1512, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1528, + "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/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1529, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1520, + "name": "CustomAuthError.code" + } + }, + { + "id": 1526, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1518, + "name": "CustomAuthError.name" + } + }, + { + "id": 1527, + "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/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1519, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1524] + }, + { + "title": "Properties", + "children": [1528, 1526, 1527] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 66, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L66" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1511, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1501, + "name": "AuthUnknownError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1502, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 48, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L48" + } + ], + "signatures": [ + { + "id": 1503, + "name": "AuthUnknownError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 48, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L48" + } + ], + "parameters": [ + { + "id": 1504, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1505, + "name": "originalError", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "target": 1501, + "name": "AuthUnknownError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1483, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1482, + "name": "AuthError.constructor" + } + }, + { + "id": 1507, + "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/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1508, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1487, + "name": "AuthError.code" + } + }, + { + "id": 1506, + "name": "originalError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 46, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L46" + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 1509, + "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/src/lib/errors.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L14" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1489, + "name": "AuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1502] + }, + { + "title": "Properties", + "children": [1507, 1506, 1509] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 45, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L45" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1612, + "name": "AuthWeakPasswordError", + "variant": "declaration", + "kind": 128, + "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": 1613, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 150, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L150" + } + ], + "signatures": [ + { + "id": 1614, + "name": "AuthWeakPasswordError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 150, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L150" + } + ], + "parameters": [ + { + "id": 1615, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1616, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1617, + "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", + "target": 1612, + "name": "AuthWeakPasswordError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1513, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1512, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1621, + "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/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1622, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1520, + "name": "CustomAuthError.code" + } + }, + { + "id": 1619, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1518, + "name": "CustomAuthError.name" + } + }, + { + "id": 1618, + "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/src/lib/errors.ts", + "line": 148, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L148" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "length" + }, + { + "type": "literal", + "value": "characters" + }, + { + "type": "literal", + "value": "pwned" + } + ] + } + } + }, + { + "id": 1620, + "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/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1519, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1613] + }, + { + "title": "Properties", + "children": [1621, 1619, 1618, 1620] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 144, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L144" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1511, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 1511, + "name": "CustomAuthError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 1512, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 59, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L59" + } + ], + "signatures": [ + { + "id": 1513, + "name": "CustomAuthError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 59, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L59" + } + ], + "parameters": [ + { + "id": 1514, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1515, + "name": "name", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1516, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1517, + "name": "code", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": 1511, + "name": "CustomAuthError", + "package": "@supabase/auth-js" + }, + "overwrites": { + "type": "reference", + "target": 1483, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1482, + "name": "AuthError.constructor" + } + }, + { + "id": 1520, + "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/src/lib/errors.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L11" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/error-codes.ts", + "qualifiedName": "ErrorCode" + }, + "name": "ErrorCode", + "package": "@supabase/auth-js" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1521, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 1487, + "name": "AuthError.code" + } + }, + { + "id": 1518, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "AuthError.name" + } + }, + { + "id": 1519, + "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/src/lib/errors.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "overwrites": { + "type": "reference", + "target": 1489, + "name": "AuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1512] + }, + { + "title": "Properties", + "children": [1520, 1518, 1519] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 55, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L55" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 1523, + "name": "AuthSessionMissingError" + }, + { + "type": "reference", + "target": 1531, + "name": "AuthInvalidTokenResponseError" + }, + { + "type": "reference", + "target": 1539, + "name": "AuthInvalidCredentialsError" + }, + { + "type": "reference", + "target": 1548, + "name": "AuthImplicitGrantRedirectError" + }, + { + "type": "reference", + "target": 1575, + "name": "AuthPKCEGrantCodeExchangeError" + }, + { + "type": "reference", + "target": 1602, + "name": "AuthRetryableFetchError" + }, + { + "type": "reference", + "target": 1612, + "name": "AuthWeakPasswordError" + }, + { + "type": "reference", + "target": 1624, + "name": "AuthInvalidJwtError" + } + ] + }, + { + "id": 1, + "name": "GoTrueAdminApi", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 2, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 48, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L48" + } + ], + "signatures": [ + { + "id": 3, + "name": "GoTrueAdminApi", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 48, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L48" + } + ], + "parameters": [ + { + "id": 4, + "name": "__namedParameters", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 11, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 57, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L57" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 12, + "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": 13, + "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": 14, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" + } + ] + } + }, + { + "id": 15, + "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": 16, + "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": 17, + "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": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + } + ] + } + }, + { + "id": 18, + "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": 7, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 54, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L54" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 54, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L54" + } + ], + "indexSignatures": [ + { + "id": 9, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 55, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L55" + } + ], + "parameters": [ + { + "id": 10, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "defaultValue": "{}" + }, + { + "id": 6, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 53, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L53" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "''" + } + ], + "groups": [ + { + "title": "Properties", + "children": [11, 7, 6] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 52, + "character": 5, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L52" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 1, + "name": "GoTrueAdminApi", + "package": "@supabase/auth-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 19, + "name": "mfa", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Contains all MFA administration methods." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 34, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L34" + } + ], + "type": { + "type": "reference", + "target": 1278, + "name": "GoTrueAdminMFAApi", + "package": "@supabase/auth-js" + } + }, + { + "id": 20, + "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/src/GoTrueAdminApi.ts", + "line": 40, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L40" + } + ], + "type": { + "type": "reference", + "target": 1404, + "name": "GoTrueAdminOAuthApi", + "package": "@supabase/auth-js" + } + }, + { + "id": 51, + "name": "createUser", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 179, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L179" + } + ], + "signatures": [ + { + "id": 52, + "name": "createUser", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "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/src/GoTrueAdminApi.ts", + "line": 179, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L179" + } + ], + "parameters": [ + { + "id": 53, + "name": "attributes", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 878, + "name": "AdminUserAttributes", + "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": "UserResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 75, + "name": "deleteUser", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 299, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L299" + } + ], + "signatures": [ + { + "id": 76, + "name": "deleteUser", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Delete a user. Requires a " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 299, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L299" + } + ], + "parameters": [ + { + "id": 77, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user id you want to remove." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 78, + "name": "shouldSoftDelete", + "variant": "param", + "kind": 32768, + "flags": {}, + "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" + }, + "defaultValue": "false" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 798, + "name": "UserResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 48, + "name": "generateLink", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 145, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L145" + } + ], + "signatures": [ + { + "id": 49, + "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/src/GoTrueAdminApi.ts", + "line": 145, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L145" + } + ], + "parameters": [ + { + "id": 50, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1088, + "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": 1089, + "name": "GenerateLinkResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 68, + "name": "getUserById", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 248, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L248" + } + ], + "signatures": [ + { + "id": 69, + "name": "getUserById", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get user by id." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 248, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L248" + } + ], + "parameters": [ + { + "id": 70, + "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": 798, + "name": "UserResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 41, + "name": "inviteUserByEmail", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 112, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L112" + } + ], + "signatures": [ + { + "id": 42, + "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/src/GoTrueAdminApi.ts", + "line": 112, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L112" + } + ], + "parameters": [ + { + "id": 43, + "name": "email", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email address of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 44, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Additional options to be included when inviting." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 45, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 46, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "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": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 116, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L116" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 47, + "name": "redirectTo", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "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": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 119, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L119" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [46, 47] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 114, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L114" } ] } @@ -19400,105 +66239,650 @@ ], "type": { "type": "reference", - "id": 112, + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 6, - "name": "Schema" + "target": 798, + "name": "UserResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 54, + "name": "listUsers", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 201, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L201" + } + ], + "signatures": [ + { + "id": 55, + "name": "listUsers", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get a list of users.\n\nThis function should only be called on a server. Never expose your " }, { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key in the browser." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 201, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L201" + } + ], + "parameters": [ + { + "id": 56, + "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": 1299, + "name": "PageParams", + "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": 57, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 58, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 204, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L204" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 59, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 61, + "name": "aud", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 204, + "character": 31, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L204" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 60, + "name": "users", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 204, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L204" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 846, + "name": "User", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [61, 60] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 204, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L204" + } + ] + } + }, + { + "type": "reference", + "target": 1292, + "name": "Pagination", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 62, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 204, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L204" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [58, 62] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 204, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L204" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 63, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 64, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 205, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L205" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 65, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 66, + "name": "users", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 205, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L205" + } + ], + "type": { + "type": "tuple" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [66] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 205, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L205" + } + ] + } + } + }, + { + "id": 67, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 205, + "character": 29, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L205" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [64, 67] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 205, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L205" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 34, + "name": "signOut", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 81, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L81" + } + ], + "signatures": [ + { + "id": 35, + "name": "signOut", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Removes a logged-in session." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 81, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L81" + } + ], + "parameters": [ + { + "id": 36, + "name": "jwt", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A valid, logged-in JWT." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 37, + "name": "scope", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The logout sope." + } + ] + }, + "type": { + "type": "union", + "types": [ + { "type": "literal", - "value": "Returns" + "value": "global" }, - "objectType": { - "type": "reference", - "id": 39, - "name": "Function_" + { + "type": "literal", + "value": "local" + }, + { + "type": "literal", + "value": "others" } - }, - "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" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } + ] }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Returns" - }, - "objectType": { - "type": "reference", - "id": 39, - "name": "Function_" + "type": "reflection", + "declaration": { + "id": 38, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 39, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 84, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L84" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 40, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 84, + "character": 27, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L84" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [39, 40] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 84, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L84" + } + ] } } ], - "name": "default" + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 71, + "name": "updateUserById", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 272, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L272" + } + ], + "signatures": [ + { + "id": 72, + "name": "updateUserById", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updates the user data." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 272, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L272" + } + ], + "parameters": [ + { + "id": 73, + "name": "uid", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 74, + "name": "attributes", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "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", + "target": 878, + "name": "AdminUserAttributes", + "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": "UserResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" } } ] @@ -19511,27 +66895,35900 @@ }, { "title": "Properties", - "children": [20, 18, 19, 17] + "children": [19, 20] }, { "title": "Methods", - "children": [25, 36] + "children": [51, 75, 48, 68, 41, 54, 34, 71] } ], "sources": [ { - "fileName": "src/PostgrestClient.ts", - "line": 17, + "fileName": "packages/core/auth-js/src/GoTrueAdminApi.ts", + "line": 32, "character": 21, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestClient.ts#L17" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueAdminApi.ts#L32" + } + ] + }, + { + "id": 107, + "name": "GoTrueClient", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 109, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 279, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L279" + } + ], + "signatures": [ + { + "id": 110, + "name": "GoTrueClient", + "variant": "signature", + "kind": 16384, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create a new client for use in the browser." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 279, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L279" + } + ], + "parameters": [ + { + "id": 111, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 709, + "name": "GoTrueClientOptions", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": 107, + "name": "GoTrueClient", + "package": "@supabase/auth-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 113, + "name": "admin", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 199, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L199" + } + ], + "type": { + "type": "reference", + "target": 1, + "name": "GoTrueAdminApi", + "package": "@supabase/auth-js", + "qualifiedName": "default" + } + }, + { + "id": 114, + "name": "mfa", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Namespace for the MFA methods." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 203, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L203" + } + ], + "type": { + "type": "reference", + "target": 1148, + "name": "GoTrueMFAApi", + "package": "@supabase/auth-js" + } + }, + { + "id": 115, + "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": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 209, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L209" + } + ], + "type": { + "type": "reference", + "target": 1447, + "name": "AuthOAuthServerApi", + "package": "@supabase/auth-js" + } + }, + { + "id": 201, + "name": "exchangeCodeForSession", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 728, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L728" + } + ], + "signatures": [ + { + "id": 202, + "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/src/GoTrueClient.ts", + "line": 728, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L728" + } + ], + "parameters": [ + { + "id": 203, + "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": 773, + "name": "AuthTokenResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 648, + "name": "getClaims", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3613, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3613" + } + ], + "signatures": [ + { + "id": 649, + "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/src/GoTrueClient.ts", + "line": 3613, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3613" + } + ], + "parameters": [ + { + "id": 650, + "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": 651, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Various additional options that allow you to customize the\n behavior of this method." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 652, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 654, + "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/src/GoTrueClient.ts", + "line": 3622, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3622" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 655, + "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/src/GoTrueClient.ts", + "line": 3625, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3625" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 656, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 657, + "name": "keys", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3625, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3625" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1347, + "name": "JWK", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [657] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3625, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3625" + } + ] + } + } + }, + { + "id": 653, + "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/src/GoTrueClient.ts", + "line": 3619, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3619" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1347, + "name": "JWK", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [654, 655, 653] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3615, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3615" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 658, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 659, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3629, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3629" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 660, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 661, + "name": "claims", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3629, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3629" + } + ], + "type": { + "type": "reference", + "target": 1327, + "name": "JwtPayload", + "package": "@supabase/auth-js" + } + }, + { + "id": 662, + "name": "header", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3629, + "character": 36, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3629" + } + ], + "type": { + "type": "reference", + "target": 1312, + "name": "JwtHeader", + "package": "@supabase/auth-js" + } + }, + { + "id": 663, + "name": "signature", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3629, + "character": 55, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3629" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Uint8Array" + }, + "name": "Uint8Array", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [661, 662, 663] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3629, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3629" + } + ] + } + } + }, + { + "id": 664, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3630, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3630" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [659, 664] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3628, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3628" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 665, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 666, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3632, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3632" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 667, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3632, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3632" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [666, 667] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3632, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3632" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 668, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 669, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3633, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3633" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 670, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3633, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3633" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [669, 670] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 3633, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L3633" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 276, + "name": "getSession", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1443, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1443" + } + ], + "signatures": [ + { + "id": 277, + "name": "getSession", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "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/src/GoTrueClient.ts", + "line": 1443, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1443" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 278, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 279, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1536, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1536" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 280, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 281, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1537, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1537" + } + ], + "type": { + "type": "reference", + "target": 801, + "name": "Session", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [281] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1536, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1536" + } + ] + } + } + }, + { + "id": 282, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1539, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1539" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [279, 282] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1535, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1535" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 283, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 284, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1542, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1542" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 285, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 286, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1543, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1543" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [286] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1542, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1542" + } + ] + } + } + }, + { + "id": 287, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1545, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1545" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [284, 287] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1541, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1541" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 288, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 289, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1548, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1548" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 290, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 291, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1549, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1549" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [291] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1548, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1548" + } + ] + } + } + }, + { + "id": 292, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1551, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1551" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [289, 292] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1547, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1547" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 339, + "name": "getUser", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1685, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1685" + } + ], + "signatures": [ + { + "id": 340, + "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/src/GoTrueClient.ts", + "line": 1685, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1685" + } + ], + "parameters": [ + { + "id": 341, + "name": "jwt", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "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", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 798, + "name": "UserResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 458, + "name": "getUserIdentities", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2267, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2267" + } + ], + "signatures": [ + { + "id": 459, + "name": "getUserIdentities", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Gets all the identities linked to a user." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2267, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2267" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "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/src/GoTrueClient.ts", + "line": 2269, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2269" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 462, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 463, + "name": "identities", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2270, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2270" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 815, + "name": "UserIdentity", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [463] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2269, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2269" + } + ] + } + } + }, + { + "id": 464, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2272, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2272" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [461, 464] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2268, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2268" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 465, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 466, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2274, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2274" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 467, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2274, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2274" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [466, 467] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2274, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2274" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 185, + "name": "initialize", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 425, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L425" + } + ], + "signatures": [ + { + "id": 186, + "name": "initialize", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "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/src/GoTrueClient.ts", + "line": 425, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L425" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1288, + "name": "InitializeResult", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 172, + "name": "isThrowOnErrorEnabled", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 389, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L389" + } + ], + "signatures": [ + { + "id": 173, + "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/src/GoTrueClient.ts", + "line": 389, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L389" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 468, + "name": "linkIdentity", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2292, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2292" + }, + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2297, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2297" + }, + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2299, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2299" + } + ], + "signatures": [ + { + "id": 469, + "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/src/GoTrueClient.ts", + "line": 2292, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2292" + } + ], + "parameters": [ + { + "id": 470, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 938, + "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": 782, + "name": "OAuthResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 471, + "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/src/GoTrueClient.ts", + "line": 2297, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2297" + } + ], + "parameters": [ + { + "id": 472, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 950, + "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": 773, + "name": "AuthTokenResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 420, + "name": "onAuthStateChange", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2145, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2145" + }, + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2161, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2161" + }, + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2165, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2165" + } + ], + "signatures": [ + { + "id": 421, + "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/src/GoTrueClient.ts", + "line": 2145, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2145" + } + ], + "parameters": [ + { + "id": 422, + "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": 423, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2145, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2145" + } + ], + "signatures": [ + { + "id": 424, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2145, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2145" + } + ], + "parameters": [ + { + "id": 425, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 699, + "name": "AuthChangeEvent", + "package": "@supabase/auth-js" + } + }, + { + "id": 426, + "name": "session", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 801, + "name": "Session", + "package": "@supabase/auth-js" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 427, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 428, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2146, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2146" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 429, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 430, + "name": "subscription", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2146, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2146" + } + ], + "type": { + "type": "reference", + "target": 891, + "name": "Subscription", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [430] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2146, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2146" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [428] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2145, + "character": 90, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2145" + } + ] + } + } + }, + { + "id": 431, + "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/src/GoTrueClient.ts", + "line": 2161, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2161" + } + ], + "parameters": [ + { + "id": 432, + "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": 433, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2161, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2161" + } + ], + "signatures": [ + { + "id": 434, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2161, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2161" + } + ], + "parameters": [ + { + "id": 435, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 699, + "name": "AuthChangeEvent", + "package": "@supabase/auth-js" + } + }, + { + "id": 436, + "name": "session", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 801, + "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": 437, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 438, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2162, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2162" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 439, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 440, + "name": "subscription", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2162, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2162" + } + ], + "type": { + "type": "reference", + "target": 891, + "name": "Subscription", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [440] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2162, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2162" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [438] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2161, + "character": 99, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2161" + } + ] + } + } + } + ] + }, + { + "id": 269, + "name": "reauthenticate", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1356, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1356" + } + ], + "signatures": [ + { + "id": 270, + "name": "reauthenticate", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "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/src/GoTrueClient.ts", + "line": 1356, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1356" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 759, + "name": "AuthResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 369, + "name": "refreshSession", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1892, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1892" + } + ], + "signatures": [ + { + "id": 370, + "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/src/GoTrueClient.ts", + "line": 1892, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1892" + } + ], + "parameters": [ + { + "id": 371, + "name": "currentSession", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The current session. If passed in, it must contain a refresh token." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 372, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 373, + "name": "refresh_token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1892, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1892" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [373] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1892, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1892" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 759, + "name": "AuthResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 273, + "name": "resend", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1391, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1391" + } + ], + "signatures": [ + { + "id": 274, + "name": "resend", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "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/src/GoTrueClient.ts", + "line": 1391, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1391" + } + ], + "parameters": [ + { + "id": 275, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1034, + "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": 768, + "name": "AuthOtpResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 444, + "name": "resetPasswordForEmail", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2221, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2221" + } + ], + "signatures": [ + { + "id": 445, + "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/src/GoTrueClient.ts", + "line": 2221, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2221" + } + ], + "parameters": [ + { + "id": 446, + "name": "email", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email address of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 447, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 448, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 450, + "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/src/GoTrueClient.ts", + "line": 2225, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2225" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 449, + "name": "redirectTo", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The URL to send the user to after they click the password reset link." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2224, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2224" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [450, 449] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2223, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2223" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 451, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 452, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2229, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2229" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 453, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + }, + { + "id": 454, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2230, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2230" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [452, 454] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2228, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2228" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 455, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 456, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2232, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2232" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 457, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2232, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2232" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [456, 457] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2232, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2232" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 357, + "name": "setSession", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1817, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1817" + } + ], + "signatures": [ + { + "id": 358, + "name": "setSession", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "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/src/GoTrueClient.ts", + "line": 1817, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1817" + } + ], + "parameters": [ + { + "id": 359, + "name": "currentSession", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The current session that minimally contains an access token and refresh token." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 360, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 361, + "name": "access_token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1818, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1818" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 362, + "name": "refresh_token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1819, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1819" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [361, 362] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1817, + "character": 35, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1817" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 759, + "name": "AuthResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 189, + "name": "signInAnonymously", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 532, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L532" + } + ], + "signatures": [ + { + "id": 190, + "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/src/GoTrueClient.ts", + "line": 532, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L532" + } + ], + "parameters": [ + { + "id": 191, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 901, + "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": 759, + "name": "AuthResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 257, + "name": "signInWithIdToken", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1141, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1141" + } + ], + "signatures": [ + { + "id": 258, + "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/src/GoTrueClient.ts", + "line": 1141, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1141" + } + ], + "parameters": [ + { + "id": 259, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 950, + "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": 773, + "name": "AuthTokenResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 198, + "name": "signInWithOAuth", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 716, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L716" + } + ], + "signatures": [ + { + "id": 199, + "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/src/GoTrueClient.ts", + "line": 716, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L716" + } + ], + "parameters": [ + { + "id": 200, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 938, + "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": 782, + "name": "OAuthResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 260, + "name": "signInWithOtp", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1194, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1194" + } + ], + "signatures": [ + { + "id": 261, + "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/src/GoTrueClient.ts", + "line": 1194, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1194" + } + ], + "parameters": [ + { + "id": 262, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 920, + "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": 768, + "name": "AuthOtpResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 195, + "name": "signInWithPassword", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 652, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L652" + } + ], + "signatures": [ + { + "id": 196, + "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/src/GoTrueClient.ts", + "line": 652, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L652" + } + ], + "parameters": [ + { + "id": 197, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 915, + "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": 777, + "name": "AuthTokenResponsePassword", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 266, + "name": "signInWithSSO", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1311, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1311" + } + ], + "signatures": [ + { + "id": 267, + "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/src/GoTrueClient.ts", + "line": 1311, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1311" + } + ], + "parameters": [ + { + "id": 268, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1048, + "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": 795, + "name": "SSOResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 204, + "name": "signInWithWeb3", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 743, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L743" + } + ], + "signatures": [ + { + "id": 205, + "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": [ + { + "kind": "text", + "text": "https://eips.ethereum.org/EIPS/eip-4361" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 743, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L743" + } + ], + "parameters": [ + { + "id": 206, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1011, + "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": 207, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 208, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 745, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L745" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 209, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 210, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 745, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L745" + } + ], + "type": { + "type": "reference", + "target": 801, + "name": "Session", + "package": "@supabase/auth-js" + } + }, + { + "id": 211, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 745, + "character": 34, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L745" + } + ], + "type": { + "type": "reference", + "target": 846, + "name": "User", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [210, 211] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 745, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L745" + } + ] + } + } + }, + { + "id": 212, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 746, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L746" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [208, 212] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 744, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L744" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 213, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 214, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 748, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L748" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 215, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 216, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 748, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L748" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 217, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 748, + "character": 31, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L748" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [216, 217] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 748, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L748" + } + ] + } + } + }, + { + "id": 218, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 748, + "character": 45, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L748" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [214, 218] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 748, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L748" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 410, + "name": "signOut", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2099, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2099" + } + ], + "signatures": [ + { + "id": 411, + "name": "signOut", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "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/src/GoTrueClient.ts", + "line": 2099, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2099" + } + ], + "parameters": [ + { + "id": 412, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1303, + "name": "SignOut", + "package": "@supabase/auth-js" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 413, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 414, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2099, + "character": 67, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2099" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [414] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2099, + "character": 65, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2099" + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 192, + "name": "signUp", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 575, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L575" + } + ], + "signatures": [ + { + "id": 193, + "name": "signUp", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "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/src/GoTrueClient.ts", + "line": 575, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L575" + } + ], + "parameters": [ + { + "id": 194, + "name": "credentials", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 907, + "name": "SignUpWithPasswordCredentials", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 759, + "name": "AuthResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 534, + "name": "startAutoRefresh", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2877, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2877" + } + ], + "signatures": [ + { + "id": 535, + "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": 718 + }, + { + "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/src/GoTrueClient.ts", + "line": 2877, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2877" + } + ], + "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": 536, + "name": "stopAutoRefresh", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2890, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2890" + } + ], + "signatures": [ + { + "id": 537, + "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/src/GoTrueClient.ts", + "line": 2890, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2890" + } + ], + "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": 479, + "name": "unlinkIdentity", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2396, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2396" + } + ], + "signatures": [ + { + "id": 480, + "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/src/GoTrueClient.ts", + "line": 2396, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2396" + } + ], + "parameters": [ + { + "id": 481, + "name": "identity", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 815, + "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": 482, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 483, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2398, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2398" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 484, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + }, + { + "id": 485, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2399, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2399" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [483, 485] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2397, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2397" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 486, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 487, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2401, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2401" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 488, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2401, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2401" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [487, 488] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 2401, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L2401" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 345, + "name": "updateUser", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1746, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1746" + } + ], + "signatures": [ + { + "id": 346, + "name": "updateUser", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updates user data for a logged in user." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1746, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1746" + } + ], + "parameters": [ + { + "id": 347, + "name": "attributes", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 872, + "name": "UserAttributes", + "package": "@supabase/auth-js" + } + }, + { + "id": 348, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 349, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 350, + "name": "emailRedirectTo", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1749, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1749" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [350] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1748, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1748" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 798, + "name": "UserResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 263, + "name": "verifyOtp", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 1250, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1250" + } + ], + "signatures": [ + { + "id": 264, + "name": "verifyOtp", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "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/src/GoTrueClient.ts", + "line": 1250, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L1250" + } + ], + "parameters": [ + { + "id": 265, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1012, + "name": "VerifyOtpParams", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 759, + "name": "AuthResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [109] + }, + { + "title": "Properties", + "children": [113, 114, 115] + }, + { + "title": "Methods", + "children": [ + 201, 648, 276, 339, 458, 185, 172, 468, 420, 269, 369, 273, 444, 357, 189, 257, 198, + 260, 195, 266, 204, 410, 192, 534, 536, 479, 345, 263 + ] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/GoTrueClient.ts", + "line": 190, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/GoTrueClient.ts#L190" + } + ] + }, + { + "id": 681, + "name": "NavigatorLockAcquireTimeoutError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 682, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 26, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L26" + } + ], + "signatures": [ + { + "id": 683, + "name": "NavigatorLockAcquireTimeoutError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 26, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L26" + } + ], + "parameters": [ + { + "id": 684, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": 681, + "name": "NavigatorLockAcquireTimeoutError", + "package": "@supabase/auth-js" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "LockAcquireTimeoutError.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "LockAcquireTimeoutError.constructor" + } + }, + { + "id": 685, + "name": "isAcquireTimeout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isPublic": true, + "isReadonly": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 24, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L24" + } + ], + "type": { + "type": "literal", + "value": true + }, + "defaultValue": "true", + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "LockAcquireTimeoutError.isAcquireTimeout" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [682] + }, + { + "title": "Properties", + "children": [685] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 31, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L31" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "LockAcquireTimeoutError" + }, + "name": "LockAcquireTimeoutError", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 878, + "name": "AdminUserAttributes", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 880, + "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/src/lib/types.ts", + "line": 450, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L450" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 883, + "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/src/lib/types.ts", + "line": 476, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L476" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 889, + "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/src/lib/types.ts", + "line": 401, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L401" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.email" + } + }, + { + "id": 881, + "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/src/lib/types.ts", + "line": 457, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L457" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 886, + "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/src/lib/types.ts", + "line": 501, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L501" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 887, + "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/src/lib/types.ts", + "line": 418, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L418" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.nonce" + } + }, + { + "id": 890, + "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/src/lib/types.ts", + "line": 411, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L411" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.password" + } + }, + { + "id": 885, + "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/src/lib/types.ts", + "line": 494, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L494" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 888, + "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/src/lib/types.ts", + "line": 406, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L406" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.phone" + } + }, + { + "id": 882, + "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/src/lib/types.ts", + "line": 464, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L464" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 884, + "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/src/lib/types.ts", + "line": 485, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L485" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 879, + "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/src/lib/types.ts", + "line": 440, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L440" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [880, 883, 889, 881, 886, 887, 890, 885, 888, 882, 884, 879] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 429, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L429" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 872, + "name": "UserAttributes", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + } + ] + }, + { + "id": 812, + "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": 1262 + }, + { + "kind": "text", + "text": "." + } + ] + } + ] + }, + "children": [ + { + "id": 813, + "name": "method", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Authentication method name." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 286, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L286" + } + ], + "type": { + "type": "reference", + "target": 810, + "name": "AMRMethod", + "package": "@supabase/auth-js" + } + }, + { + "id": 814, + "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/src/lib/types.ts", + "line": 292, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L292" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [813, 814] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 284, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L284" + } + ] + }, + { + "id": 1447, + "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": 1451, + "name": "approveAuthorization", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1753, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1753" + } + ], + "signatures": [ + { + "id": 1452, + "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/src/lib/types.ts", + "line": 1753, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1753" + } + ], + "parameters": [ + { + "id": 1453, + "name": "authorizationId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The authorization ID to approve" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1454, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional parameters including skipBrowserRedirect" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1455, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1456, + "name": "skipBrowserRedirect", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1755, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1755" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1456] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1755, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1755" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1444, + "name": "AuthOAuthConsentResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1457, + "name": "denyAuthorization", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1766, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1766" + } + ], + "signatures": [ + { + "id": 1458, + "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/src/lib/types.ts", + "line": 1766, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1766" + } + ], + "parameters": [ + { + "id": 1459, + "name": "authorizationId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The authorization ID to deny" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1460, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional parameters including skipBrowserRedirect" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1461, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1462, + "name": "skipBrowserRedirect", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1768, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1768" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1462] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1768, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1768" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1444, + "name": "AuthOAuthConsentResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1448, + "name": "getAuthorizationDetails", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1743, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1743" + } + ], + "signatures": [ + { + "id": 1449, + "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/src/lib/types.ts", + "line": 1743, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1743" + } + ], + "parameters": [ + { + "id": 1450, + "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": 1443, + "name": "AuthOAuthAuthorizationDetailsResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [1451, 1457, 1448] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1730, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1730" + } + ] + }, + { + "id": 1085, + "name": "GenerateLinkOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1086, + "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/src/lib/types.ts", + "line": 855, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L855" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 1087, + "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/src/lib/types.ts", + "line": 857, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L857" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1086, 1087] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 849, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L849" + } + ] + }, + { + "id": 1278, + "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": 1282, + "name": "deleteFactor", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1298, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1298" + } + ], + "signatures": [ + { + "id": 1283, + "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": 1251 + } + ] + }, + { + "tag": "@expermental", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1298, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1298" + } + ], + "parameters": [ + { + "id": 1284, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1268, + "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": 1265, + "name": "AuthMFAAdminDeleteFactorResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1279, + "name": "listFactors", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1288, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1288" + } + ], + "signatures": [ + { + "id": 1280, + "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/src/lib/types.ts", + "line": 1288, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1288" + } + ], + "parameters": [ + { + "id": 1281, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1275, + "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": 1272, + "name": "AuthMFAAdminListFactorsResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [1282, 1279] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1283, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1283" + } + ] + }, + { + "id": 1404, + "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": 1408, + "name": "createClient", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1637, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1637" + } + ], + "signatures": [ + { + "id": 1409, + "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/src/lib/types.ts", + "line": 1637, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1637" + } + ], + "parameters": [ + { + "id": 1410, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1376, + "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": 1391, + "name": "OAuthClientResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1418, + "name": "deleteClient", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1661, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1661" + } + ], + "signatures": [ + { + "id": 1419, + "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/src/lib/types.ts", + "line": 1661, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1661" + } + ], + "parameters": [ + { + "id": 1420, + "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": 1421, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1422, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1661, + "character": 44, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1661" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1423, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1661, + "character": 56, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1661" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1422, 1423] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1661, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1661" + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1411, + "name": "getClient", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1645, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1645" + } + ], + "signatures": [ + { + "id": 1412, + "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/src/lib/types.ts", + "line": 1645, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1645" + } + ], + "parameters": [ + { + "id": 1413, + "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": 1391, + "name": "OAuthClientResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1405, + "name": "listClients", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1629, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1629" + } + ], + "signatures": [ + { + "id": 1406, + "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/src/lib/types.ts", + "line": 1629, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1629" + } + ], + "parameters": [ + { + "id": 1407, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1299, + "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": 1392, + "name": "OAuthClientListResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1424, + "name": "regenerateClientSecret", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1669, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1669" + } + ], + "signatures": [ + { + "id": 1425, + "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/src/lib/types.ts", + "line": 1669, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1669" + } + ], + "parameters": [ + { + "id": 1426, + "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": 1391, + "name": "OAuthClientResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1414, + "name": "updateClient", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1653, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1653" + } + ], + "signatures": [ + { + "id": 1415, + "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/src/lib/types.ts", + "line": 1653, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1653" + } + ], + "parameters": [ + { + "id": 1416, + "name": "clientId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1417, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1384, + "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": 1391, + "name": "OAuthClientResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [1408, 1418, 1411, 1405, 1424, 1414] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1622, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1622" + } + ] + }, + { + "id": 1148, + "name": "GoTrueMFAApi", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Contains the full multi-factor authentication API." + } + ] + }, + "children": [ + { + "id": 1264, + "name": "webauthn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1241, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1241" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/webauthn.ts", + "qualifiedName": "WebAuthnApi" + }, + "name": "WebAuthnApi", + "package": "@supabase/auth-js" + } + }, + { + "id": 1169, + "name": "challenge", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1189, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1189" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1190, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1190" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1191, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1191" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1192, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1192" + } + ], + "signatures": [ + { + "id": 1170, + "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/src/lib/types.ts", + "line": 1189, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1189" + } + ], + "parameters": [ + { + "id": 1171, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1172, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1173, + "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/src/lib/types.ts", + "line": 963, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L963" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1173] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1174, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1175, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 147, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L147" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1176, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 148, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L148" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1175, 1176] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + }, + { + "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/src/lib/types.ts", + "line": 143, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L143" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1179, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1182, + "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/src/lib/types.ts", + "line": 1059, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1059" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1180, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the newly created challenge." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1053, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1053" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1181, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Factor Type which generated the challenge" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1056, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1056" + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1182, 1180, 1181] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + }, + { + "id": 1183, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 144, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L144" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1178, 1183] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1184, + "name": "challenge", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1190, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1190" + } + ], + "parameters": [ + { + "id": 1185, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1186, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1188, + "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/src/lib/types.ts", + "line": 973, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L973" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 1187, + "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/src/lib/types.ts", + "line": 963, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L963" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1188, 1187] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1189, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1190, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 147, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L147" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1191, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 148, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L148" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1190, 1191] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1192, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1193, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 143, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L143" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1194, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1197, + "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/src/lib/types.ts", + "line": 1059, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1059" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1195, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the newly created challenge." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1053, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1053" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1196, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Factor Type which generated the challenge" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1056, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1056" + } + ], + "type": { + "type": "literal", + "value": "phone" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1197, 1195, 1196] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + }, + { + "id": 1198, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 144, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L144" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1193, 1198] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1199, + "name": "challenge", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1191, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1191" + } + ], + "parameters": [ + { + "id": 1200, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1201, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1202, + "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/src/lib/types.ts", + "line": 963, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L963" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1203, + "name": "webauthn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 982, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L982" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1204, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1205, + "name": "rpId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Relying party ID" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 984, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L984" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1206, + "name": "rpOrigins", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Relying party origins" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 986, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L986" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1205, 1206] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 982, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L982" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1202, 1203] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1207, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1208, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 147, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L147" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1209, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 148, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L148" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1208, 1209] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1210, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1211, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 143, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L143" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1212, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1215, + "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/src/lib/types.ts", + "line": 1059, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1059" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1213, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the newly created challenge." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1053, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1053" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1214, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Factor Type which generated the challenge" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1056, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1056" + } + ], + "type": { + "type": "literal", + "value": "webauthn" + } + }, + { + "id": 1216, + "name": "webauthn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1079, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1079" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1217, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1219, + "name": "credential_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1082, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1082" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1220, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1221, + "name": "publicKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1082, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1082" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/webauthn.dom.ts", + "qualifiedName": "PublicKeyCredentialCreationOptionsFuture" + }, + "name": "PublicKeyCredentialCreationOptionsFuture", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1221] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1082, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1082" + } + ] + } + } + }, + { + "id": 1218, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1081, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1081" + } + ], + "type": { + "type": "literal", + "value": "create" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1219, 1218] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1080, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1080" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1222, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1224, + "name": "credential_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1086, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1086" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1225, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1226, + "name": "publicKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1086, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1086" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/webauthn.dom.ts", + "qualifiedName": "PublicKeyCredentialRequestOptionsFuture" + }, + "name": "PublicKeyCredentialRequestOptionsFuture", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1226] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1086, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1086" + } + ] + } + } + }, + { + "id": 1223, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1085, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1085" + } + ], + "type": { + "type": "literal", + "value": "request" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1224, 1223] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1084, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1084" + } + ] + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1215, 1213, 1214, 1216] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + }, + { + "id": 1227, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 144, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L144" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1211, 1227] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1228, + "name": "challenge", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1192, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1192" + } + ], + "parameters": [ + { + "id": 1229, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1118, + "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": 1137, + "name": "AuthMFAChallengeResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1254, + "name": "challengeAndVerify", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1213, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1213" + } + ], + "signatures": [ + { + "id": 1255, + "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/src/lib/types.ts", + "line": 1213, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1213" + } + ], + "parameters": [ + { + "id": 1256, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1257, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1259, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Verification code provided by the user." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 917, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L917" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1258, + "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/src/lib/types.ts", + "line": 910, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L910" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1259, 1258] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1127, + "name": "AuthMFAVerifyResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1149, + "name": "enroll", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1180, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1180" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1181, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1181" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1182, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1182" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1183, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1183" + } + ], + "signatures": [ + { + "id": 1150, + "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/src/lib/types.ts", + "line": 1180, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1180" + } + ], + "parameters": [ + { + "id": 1151, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1152, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1153, + "name": "factorType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of factor being enrolled." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1357, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1357" + } + ], + "type": { + "type": "literal", + "value": "totp" + } + }, + { + "id": 1154, + "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/src/lib/types.ts", + "line": 1359, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1359" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1155, + "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/src/lib/types.ts", + "line": 1364, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1364" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1153, 1154, 1155] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1309, + "name": "AuthMFAEnrollTOTPResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1156, + "name": "enroll", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1181, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1181" + } + ], + "parameters": [ + { + "id": 1157, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1158, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1159, + "name": "factorType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of factor being enrolled." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1357, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1357" + } + ], + "type": { + "type": "literal", + "value": "phone" + } + }, + { + "id": 1160, + "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/src/lib/types.ts", + "line": 1359, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1359" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1161, + "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/src/lib/types.ts", + "line": 1371, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1371" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1159, 1160, 1161] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1310, + "name": "AuthMFAEnrollPhoneResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1162, + "name": "enroll", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1182, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1182" + } + ], + "parameters": [ + { + "id": 1163, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1164, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1165, + "name": "factorType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of factor being enrolled." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1357, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1357" + } + ], + "type": { + "type": "literal", + "value": "webauthn" + } + }, + { + "id": 1166, + "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/src/lib/types.ts", + "line": 1359, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1359" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1165, 1166] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1311, + "name": "AuthMFAEnrollWebauthnResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1167, + "name": "enroll", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1183, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1183" + } + ], + "parameters": [ + { + "id": 1168, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1101, + "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": 1128, + "name": "AuthMFAEnrollResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1262, + "name": "getAuthenticatorAssuranceLevel", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1238, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1238" + } + ], + "signatures": [ + { + "id": 1263, + "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/src/lib/types.ts", + "line": 1238, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1238" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1143, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1260, + "name": "listFactors", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1223, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1223" + } + ], + "signatures": [ + { + "id": 1261, + "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": 1149 + }, + { + "kind": "text", + "text": "\n" + }, + { + "kind": "text", + "text": " - " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueMFAApi#getAuthenticatorAssuranceLevel", + "target": 1262 + }, + { + "kind": "text", + "text": "\n" + }, + { + "kind": "text", + "text": " - " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueClient#getUser", + "target": 339 + }, + { + "kind": "text", + "text": "\n" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1223, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1223" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1138, + "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": 1251, + "name": "unenroll", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1207, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1207" + } + ], + "signatures": [ + { + "id": 1252, + "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/src/lib/types.ts", + "line": 1207, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1207" + } + ], + "parameters": [ + { + "id": 1253, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1102, + "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": 1129, + "name": "AuthMFAUnenrollResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1230, + "name": "verify", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1198, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1198" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1199, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1199" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1200, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1200" + }, + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1201, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1201" + } + ], + "signatures": [ + { + "id": 1231, + "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/src/lib/types.ts", + "line": 1198, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1198" + } + ], + "parameters": [ + { + "id": 1232, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1233, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1235, + "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/src/lib/types.ts", + "line": 912, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L912" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1236, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Verification code provided by the user." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 917, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L917" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1234, + "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/src/lib/types.ts", + "line": 910, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L910" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1235, 1236, 1234] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1127, + "name": "AuthMFAVerifyResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1237, + "name": "verify", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1199, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1199" + } + ], + "parameters": [ + { + "id": 1238, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1239, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1241, + "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/src/lib/types.ts", + "line": 912, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L912" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1242, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Verification code provided by the user." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 917, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L917" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1240, + "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/src/lib/types.ts", + "line": 910, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L910" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1241, 1242, 1240] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1127, + "name": "AuthMFAVerifyResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1243, + "name": "verify", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1200, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1200" + } + ], + "parameters": [ + { + "id": 1244, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1245, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1247, + "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/src/lib/types.ts", + "line": 912, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L912" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1246, + "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/src/lib/types.ts", + "line": 910, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L910" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1248, + "name": "webauthn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 947, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L947" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnParamFieldsBase" + }, + "name": "MFAVerifyWebauthnParamFieldsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "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": [1247, 1246, 1248] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 129, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1127, + "name": "AuthMFAVerifyResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1249, + "name": "verify", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1201, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1201" + } + ], + "parameters": [ + { + "id": 1250, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1113, + "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": 1127, + "name": "AuthMFAVerifyResponse", + "package": "@supabase/auth-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "children": [1264] + }, + { + "title": "Methods", + "children": [1169, 1254, 1149, 1262, 1260, 1251, 1230] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1170, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1170" + } + ] + }, + { + "id": 1347, + "name": "JWK", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1350, + "name": "alg", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1494, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1494" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1349, + "name": "key_ops", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1493, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1493" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1351, + "name": "kid", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1495, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1495" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1348, + "name": "kty", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1492, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1492" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "RSA" + }, + { + "type": "literal", + "value": "EC" + }, + { + "type": "literal", + "value": "oct" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1350, 1349, 1351, 1348] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1491, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1491" + } + ], + "indexSignatures": [ + { + "id": 1352, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1496, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1496" + } + ], + "parameters": [ + { + "id": 1353, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 1327, + "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": 1343, + "name": "aal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1459, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1459" + } + ], + "type": { + "type": "reference", + "target": 1142, + "name": "AuthenticatorAssuranceLevels", + "package": "@supabase/auth-js" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "RequiredClaims.aal" + } + }, + { + "id": 1335, + "name": "amr", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1482, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1482" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 812, + "name": "AMREntry", + "package": "@supabase/auth-js" + } + } + }, + { + "id": 1333, + "name": "app_metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1480, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1480" + } + ], + "type": { + "type": "reference", + "target": 838, + "name": "UserAppMetadata", + "package": "@supabase/auth-js" + } + }, + { + "id": 1339, + "name": "aud", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1455, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1455" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "RequiredClaims.aud" + } + }, + { + "id": 1328, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1473, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1473" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1340, + "name": "exp", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1456, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1456" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "RequiredClaims.exp" + } + }, + { + "id": 1341, + "name": "iat", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1457, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1457" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "RequiredClaims.iat" + } + }, + { + "id": 1330, + "name": "is_anonymous", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1475, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1475" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1337, + "name": "iss", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1453, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1453" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "RequiredClaims.iss" + } + }, + { + "id": 1331, + "name": "jti", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1478, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1478" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1332, + "name": "nbf", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1479, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1479" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1329, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1474, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1474" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1336, + "name": "ref", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1485, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1485" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1342, + "name": "role", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1458, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1458" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "RequiredClaims.role" + } + }, + { + "id": 1344, + "name": "session_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1460, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1460" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "RequiredClaims.session_id" + } + }, + { + "id": 1338, + "name": "sub", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1454, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1454" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "RequiredClaims.sub" + } + }, + { + "id": 1334, + "name": "user_metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1481, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1481" + } + ], + "type": { + "type": "reference", + "target": 843, + "name": "UserMetadata", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1343, 1335, 1333, 1339, 1328, 1340, 1341, 1330, 1337, 1331, 1332, 1329, 1336, 1342, + 1344, 1338, 1334 + ] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1471, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1471" + } + ], + "indexSignatures": [ + { + "id": 1345, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1488, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1488" + } + ], + "parameters": [ + { + "id": 1346, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1317, + "name": "RequiredClaims", + "package": "@supabase/auth-js" + } + ] + }, + { + "id": 801, + "name": "Session", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 804, + "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/src/lib/types.ts", + "line": 239, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L239" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 807, + "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/src/lib/types.ts", + "line": 251, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L251" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 806, + "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/src/lib/types.ts", + "line": 247, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L247" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 803, + "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/src/lib/types.ts", + "line": 235, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L235" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 802, + "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/src/lib/types.ts", + "line": 230, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L230" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 805, + "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/src/lib/types.ts", + "line": 243, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L243" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 808, + "name": "token_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 252, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L252" + } + ], + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "id": 809, + "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/src/lib/types.ts", + "line": 257, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L257" + } + ], + "type": { + "type": "reference", + "target": 846, + "name": "User", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [804, 807, 806, 803, 802, 805, 808, 809] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 226, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L226" + } + ] + }, + { + "id": 891, + "name": "Subscription", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 893, + "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/src/lib/types.ts", + "line": 514, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L514" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 894, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 514, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L514" + } + ], + "signatures": [ + { + "id": 895, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 514, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L514" + } + ], + "parameters": [ + { + "id": 896, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 699, + "name": "AuthChangeEvent", + "package": "@supabase/auth-js" + } + }, + { + "id": 897, + "name": "session", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 801, + "name": "Session", + "package": "@supabase/auth-js" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 892, + "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/src/lib/types.ts", + "line": 510, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L510" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] + } + }, + { + "id": 898, + "name": "unsubscribe", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Call this to remove the listener." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 518, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L518" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 899, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 518, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L518" + } + ], + "signatures": [ + { + "id": 900, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 518, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L518" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [893, 892, 898] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 504, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L504" + } + ] + }, + { + "id": 846, + "name": "User", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 857, + "name": "action_link", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 380, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L380" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 848, + "name": "app_metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 371, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L371" + } + ], + "type": { + "type": "reference", + "target": 838, + "name": "UserAppMetadata", + "package": "@supabase/auth-js" + } + }, + { + "id": 850, + "name": "aud", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 373, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L373" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 851, + "name": "confirmation_sent_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 374, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L374" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 861, + "name": "confirmed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 384, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L384" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 860, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 383, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L383" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 871, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 394, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L394" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 858, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 381, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L381" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 853, + "name": "email_change_sent_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 376, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L376" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 862, + "name": "email_confirmed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 385, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L385" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 870, + "name": "factors", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 393, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L393" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 828, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + }, + { + "type": "literal", + "value": "webauthn" + } + ] + }, + { + "type": "literal", + "value": "verified" + } + ], + "name": "Factor", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 828, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + }, + { + "type": "literal", + "value": "webauthn" + } + ] + }, + { + "type": "literal", + "value": "unverified" + } + ], + "name": "Factor", + "package": "@supabase/auth-js" + } + ] + } + } + }, + { + "id": 847, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 370, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L370" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 867, + "name": "identities", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 390, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L390" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 815, + "name": "UserIdentity", + "package": "@supabase/auth-js" + } + } + }, + { + "id": 856, + "name": "invited_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 379, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L379" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 868, + "name": "is_anonymous", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 391, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L391" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 869, + "name": "is_sso_user", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 392, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L392" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 864, + "name": "last_sign_in_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 387, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L387" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 854, + "name": "new_email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 377, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L377" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 855, + "name": "new_phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 378, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L378" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 859, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 382, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L382" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 863, + "name": "phone_confirmed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 386, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L386" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 852, + "name": "recovery_sent_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 375, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L375" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 865, + "name": "role", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 388, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L388" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 866, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 389, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L389" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 849, + "name": "user_metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 372, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L372" + } + ], + "type": { + "type": "reference", + "target": 843, + "name": "UserMetadata", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 857, 848, 850, 851, 861, 860, 871, 858, 853, 862, 870, 847, 867, 856, 868, 869, 864, + 854, 855, 859, 863, 852, 865, 866, 849 + ] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 369, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L369" + } + ] + }, + { + "id": 838, + "name": "UserAppMetadata", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 839, + "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/src/lib/types.ts", + "line": 357, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L357" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 840, + "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/src/lib/types.ts", + "line": 361, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L361" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [839, 840] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 353, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L353" + } + ], + "indexSignatures": [ + { + "id": 841, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 362, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L362" + } + ], + "parameters": [ + { + "id": 842, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 872, + "name": "UserAttributes", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 877, + "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/src/lib/types.ts", + "line": 426, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L426" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 873, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 401, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L401" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 876, + "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/src/lib/types.ts", + "line": 418, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L418" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 875, + "name": "password", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's password." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 411, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L411" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 874, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's phone." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 406, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L406" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [877, 873, 876, 875, 874] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 397, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L397" + } + ] + }, + { + "id": 815, + "name": "UserIdentity", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 824, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 303, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L303" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 816, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 296, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L296" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 818, + "name": "identity_data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 298, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L298" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 819, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 298, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L298" + } + ], + "indexSignatures": [ + { + "id": 820, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 299, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L299" + } + ], + "parameters": [ + { + "id": 821, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + }, + { + "id": 822, + "name": "identity_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 301, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L301" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 825, + "name": "last_sign_in_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 304, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L304" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 823, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 302, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L302" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 826, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 305, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L305" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 817, + "name": "user_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 297, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L297" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [824, 816, 818, 822, 825, 823, 826, 817] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 295, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L295" + } + ] + }, + { + "id": 843, + "name": "UserMetadata", + "variant": "declaration", + "kind": 256, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 365, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L365" + } + ], + "indexSignatures": [ + { + "id": 844, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 366, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L366" + } + ], + "parameters": [ + { + "id": 845, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 1021, + "name": "VerifyEmailOtpParams", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1022, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email address." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 733, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L733" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1025, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 738, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L738" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1026, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1028, + "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/src/lib/types.ts", + "line": 746, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L746" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1027, + "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/src/lib/types.ts", + "line": 740, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L740" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1028, 1027] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 738, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L738" + } + ] + } + } + }, + { + "id": 1023, + "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/src/lib/types.ts", + "line": 735, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L735" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1024, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's verification type." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 737, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L737" + } + ], + "type": { + "type": "reference", + "target": 1033, + "name": "EmailOtpType", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1022, 1025, 1023, 1024] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 731, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L731" + } + ] + }, + { + "id": 1013, + "name": "VerifyMobileOtpParams", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1017, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 719, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L719" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1018, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1020, + "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/src/lib/types.ts", + "line": 728, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L728" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1019, + "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/src/lib/types.ts", + "line": 721, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L721" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1020, 1019] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 719, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L719" + } + ] + } + } + }, + { + "id": 1014, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's phone number." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 714, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L714" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1015, + "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/src/lib/types.ts", + "line": 716, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L716" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1016, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's verification type." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 718, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L718" + } + ], + "type": { + "type": "reference", + "target": 1032, + "name": "MobileOtpType", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1017, 1014, 1015, 1016] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 712, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L712" + } + ] + }, + { + "id": 1029, + "name": "VerifyTokenHashParams", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1030, + "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/src/lib/types.ts", + "line": 752, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L752" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1031, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's verification type." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 755, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L755" + } + ], + "type": { + "type": "reference", + "target": 1033, + "name": "EmailOtpType", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1030, 1031] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 750, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L750" + } + ] + }, + { + "id": 810, + "name": "AMRMethod", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 274, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L274" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "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": 811, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 274, + "character": 64, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L274" + } + ] + } + } + ] + } + ] + } + }, + { + "id": 699, + "name": "AuthChangeEvent", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 44, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L44" + } + ], + "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": 698, + "name": "AuthChangeEventMFA", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 698, + "name": "AuthChangeEventMFA", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 42, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L42" + } + ], + "type": { + "type": "literal", + "value": "MFA_CHALLENGE_VERIFIED" + } + }, + { + "id": 1142, + "name": "AuthenticatorAssuranceLevels", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1144, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1144" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "aal1" + }, + { + "type": "literal", + "value": "aal2" + } + ] + } + }, + { + "id": 937, + "name": "AuthFlowType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 593, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L593" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "implicit" + }, + { + "type": "literal", + "value": "pkce" + } + ] + } + }, + { + "id": 1268, + "name": "AuthMFAAdminDeleteFactorParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@expermental", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1254, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1254" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1269, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1270, + "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/src/lib/types.ts", + "line": 1256, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1256" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1271, + "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/src/lib/types.ts", + "line": 1259, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1259" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1270, 1271] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1254, + "character": 45, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1254" + } + ] + } + } + }, + { + "id": 1265, + "name": "AuthMFAAdminDeleteFactorResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@expermental", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1247, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1247" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1266, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1267, + "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/src/lib/types.ts", + "line": 1249, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1249" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1267] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1247, + "character": 61, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1247" + } + ] + } + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1275, + "name": "AuthMFAAdminListFactorsParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@expermental", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1273, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1273" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1276, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1277, + "name": "userId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the user." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1275, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1275" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1277] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1273, + "character": 44, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1273" + } + ] + } + } + }, + { + "id": 1272, + "name": "AuthMFAAdminListFactorsResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@expermental", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1265, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1265" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1273, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1274, + "name": "factors", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "All factors attached to the user." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1267, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1267" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 828, + "name": "Factor", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1274] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1265, + "character": 60, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1265" + } + ] + } + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1133, + "name": "AuthMFAChallengePhoneResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1074, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1074" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "phone" + } + ], + "name": "AuthMFAChallengeResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "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": 1137, + "name": "AuthMFAChallengeResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1126, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1126" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1132, + "name": "AuthMFAChallengeTOTPResponse", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1133, + "name": "AuthMFAChallengePhoneResponse", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1134, + "name": "AuthMFAChallengeWebauthnResponse", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 1132, + "name": "AuthMFAChallengeTOTPResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1066, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1066" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "totp" + } + ], + "name": "AuthMFAChallengeResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "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": 1134, + "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/src/lib/types.ts", + "line": 1095, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1095" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "webauthn" + } + ], + "name": "AuthMFAChallengeResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "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": 1135, + "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/src/lib/types.ts", + "line": 1115, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1115" + } + ], + "type": { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "webauthn" + } + ], + "name": "AuthMFAChallengeResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeWebauthnResponseFieldsJSON" + }, + "name": "AuthMFAChallengeWebauthnResponseFieldsJSON", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1136, + "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/src/lib/types.ts", + "line": 1123, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1123" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reference", + "target": 1135, + "name": "AuthMFAChallengeWebauthnResponseDataJSON", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1310, + "name": "AuthMFAEnrollPhoneResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1429, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1429" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "phone" + } + ], + "name": "AuthMFAEnrollResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "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": 1128, + "name": "AuthMFAEnrollResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1041, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1041" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1309, + "name": "AuthMFAEnrollTOTPResponse", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1310, + "name": "AuthMFAEnrollPhoneResponse", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1311, + "name": "AuthMFAEnrollWebauthnResponse", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 1309, + "name": "AuthMFAEnrollTOTPResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1420, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1420" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "totp" + } + ], + "name": "AuthMFAEnrollResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "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": 1311, + "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/src/lib/types.ts", + "line": 1442, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1442" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollResponseBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "webauthn" + } + ], + "name": "AuthMFAEnrollResponseBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "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": 1143, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1146, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1146" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1144, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1147, + "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/src/lib/types.ts", + "line": 1163, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1163" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 812, + "name": "AMREntry", + "package": "@supabase/auth-js" + } + } + }, + { + "id": 1145, + "name": "currentLevel", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Current AAL level of the session." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1148, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1148" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1142, + "name": "AuthenticatorAssuranceLevels", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 1146, + "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": 1169 + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1156, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1156" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1142, + "name": "AuthenticatorAssuranceLevels", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1147, 1145, 1146] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1146, + "character": 74, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1146" + } + ] + } + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1138, + "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/src/lib/types.ts", + "line": 1132, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1132" } ], "typeParameters": [ { - "id": 46, + "id": 1141, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "FactorTypes" + }, + "name": "FactorTypes", + "package": "@supabase/auth-js", + "preferValues": true + } + }, + "default": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "FactorTypes" + }, + "name": "FactorTypes", + "package": "@supabase/auth-js", + "preferValues": true + } + } + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1139, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1140, + "name": "all", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "All available factors (verified and unverified)." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1136, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1136" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "reference", + "target": 828, + "name": "Factor", + "package": "@supabase/auth-js" + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1140] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1134, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1134" + } + ] + } + }, + { + "type": "mapped", + "parameter": "K", + "parameterType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "reference", + "target": 1141, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + }, + "templateType": { + "type": "array", + "elementType": { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "reference", + "target": 828, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "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": 1129, + "name": "AuthMFAUnenrollResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1046, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1046" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1130, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1131, + "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/src/lib/types.ts", + "line": 1048, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1048" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1131] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1046, + "character": 52, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1046" + } + ] + } + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1127, + "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/src/lib/types.ts", + "line": 1039, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1039" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reference", + "target": 1120, + "name": "AuthMFAVerifyResponseData", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1120, + "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/src/lib/types.ts", + "line": 1018, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1018" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1121, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1122, + "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/src/lib/types.ts", + "line": 1020, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1020" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1124, + "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/src/lib/types.ts", + "line": 1026, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1026" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1125, + "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/src/lib/types.ts", + "line": 1029, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1029" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1123, + "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/src/lib/types.ts", + "line": 1023, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1023" + } + ], + "type": { + "type": "literal", + "value": "bearer" + } + }, + { + "id": 1126, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updated user profile." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1032, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1032" + } + ], + "type": { + "type": "reference", + "target": 846, + "name": "User", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1122, 1124, 1125, 1123, 1126] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1018, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1018" + } + ] + } + } + }, + { + "id": 1443, + "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/src/lib/types.ts", + "line": 1713, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1713" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reference", + "target": 1433, + "name": "OAuthAuthorizationDetails", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1444, + "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/src/lib/types.ts", + "line": 1719, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1719" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1445, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1446, + "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/src/lib/types.ts", + "line": 1721, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1721" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1446] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1719, + "character": 53, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1719" + } + ] + } + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 768, + "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/src/lib/types.ts", + "line": 178, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L178" + } + ], + "type": { + "type": "reference", + "target": 751, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 769, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 772, + "name": "messageId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 181, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L181" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 771, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 180, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L180" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 770, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 179, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L179" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [772, 771, 770] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 178, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L178" + } + ] + } + } + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" + } + }, + { + "id": 759, + "name": "AuthResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 162, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L162" + } + ], + "type": { + "type": "reference", + "target": 751, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 760, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 762, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 164, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L164" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 801, + "name": "Session", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 761, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 163, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L163" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 846, + "name": "User", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [762, 761] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 162, + "character": 56, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L162" + } + ] + } + } + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" + } + }, + { + "id": 763, + "name": "AuthResponsePassword", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 167, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L167" + } + ], + "type": { + "type": "reference", + "target": 751, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 764, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 766, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 169, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L169" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 801, + "name": "Session", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 765, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 168, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L168" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 846, + "name": "User", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 767, + "name": "weak_password", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 170, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L170" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 733, + "name": "WeakPassword", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [766, 765, 767] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 167, + "character": 64, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L167" + } + ] + } + } + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" + } + }, + { + "id": 773, + "name": "AuthTokenResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 184, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L184" + } + ], + "type": { + "type": "reference", + "target": 751, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 774, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 776, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 186, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L186" + } + ], + "type": { + "type": "reference", + "target": 801, + "name": "Session", + "package": "@supabase/auth-js" + } + }, + { + "id": 775, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 185, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L185" + } + ], + "type": { + "type": "reference", + "target": 846, + "name": "User", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [776, 775] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 184, + "character": 61, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L184" + } + ] + } + } + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" + } + }, + { + "id": 777, + "name": "AuthTokenResponsePassword", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 189, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L189" + } + ], + "type": { + "type": "reference", + "target": 751, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 778, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 780, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 191, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L191" + } + ], + "type": { + "type": "reference", + "target": 801, + "name": "Session", + "package": "@supabase/auth-js" + } + }, + { + "id": 779, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 190, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L190" + } + ], + "type": { + "type": "reference", + "target": 846, + "name": "User", + "package": "@supabase/auth-js" + } + }, + { + "id": 781, + "name": "weakPassword", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 192, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L192" + } + ], + "type": { + "type": "reference", + "target": 733, + "name": "WeakPassword", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [780, 779, 781] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 189, + "character": 69, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L189" + } + ] + } + } + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" + } + }, + { + "id": 1291, + "name": "CallRefreshTokenResult", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1325, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1325" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reference", + "target": 801, + "name": "Session", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1376, + "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/src/lib/types.ts", + "line": 1565, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1565" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1377, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1378, + "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/src/lib/types.ts", + "line": 1567, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1567" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1379, + "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/src/lib/types.ts", + "line": 1569, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1569" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1381, + "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/src/lib/types.ts", + "line": 1573, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1573" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1356, + "name": "OAuthClientGrantType", + "package": "@supabase/auth-js" + } + } + }, + { + "id": 1380, + "name": "redirect_uris", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of allowed redirect URIs" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1571, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1571" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1382, + "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/src/lib/types.ts", + "line": 1575, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1575" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1357, + "name": "OAuthClientResponseType", + "package": "@supabase/auth-js" + } + } + }, + { + "id": 1383, + "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/src/lib/types.ts", + "line": 1577, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1577" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1378, 1379, 1381, 1380, 1382, 1383] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1565, + "character": 38, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1565" + } + ] + } + } + }, + { + "id": 1033, + "name": "EmailOtpType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 759, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L759" + } + ], + "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": 993, + "name": "EthereumWallet", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 670, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L670" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/web3/ethereum.ts", + "qualifiedName": "EIP1193Provider" + }, + "name": "EIP1193Provider", + "package": "@supabase/auth-js" + } + }, + { + "id": 994, + "name": "EthereumWeb3Credentials", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 672, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L672" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 995, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 996, + "name": "chain", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 674, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L674" + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 999, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 682, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L682" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1000, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1002, + "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/src/lib/types.ts", + "line": 687, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L687" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1003, + "name": "signInWithEthereum", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 689, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L689" + } + ], + "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": "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": 1001, + "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/src/lib/types.ts", + "line": 684, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L684" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1002, 1003, 1001] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 682, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L682" + } + ] + } + } + }, + { + "id": 998, + "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/src/lib/types.ts", + "line": 680, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L680" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 997, + "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/src/lib/types.ts", + "line": 677, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L677" + } + ], + "type": { + "type": "reference", + "target": 993, + "name": "EthereumWallet", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [996, 999, 998, 997] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 673, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L673" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1004, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1005, + "name": "chain", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 695, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L695" + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 1006, + "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/src/lib/types.ts", + "line": 698, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L698" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1008, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 703, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L703" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1009, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1010, + "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/src/lib/types.ts", + "line": 705, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L705" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1010] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 703, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L703" + } + ] + } + } + }, + { + "id": 1007, + "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/src/lib/types.ts", + "line": 701, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L701" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/web3/ethereum.ts", + "qualifiedName": "Hex" + }, + "name": "Hex", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1005, 1006, 1008, 1007] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 694, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L694" + } + ] + } + } + ] + } + }, + { + "id": 828, + "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": 1149 + }, + { + "kind": "text", + "text": "\n" + }, + { + "kind": "text", + "text": " - " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "GoTrueMFAApi#listFactors", + "target": 1260 + }, + { + "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/src/lib/types.ts", + "line": 329, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L329" + } + ], + "typeParameters": [ + { + "id": 836, + "name": "Type", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 827, + "name": "FactorType", + "package": "@supabase/auth-js" + }, + "default": { + "type": "reference", + "target": 827, + "name": "FactorType", + "package": "@supabase/auth-js" + } + }, + { + "id": 837, + "name": "Status", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "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": "src/lib/types.ts", + "qualifiedName": "FactorVerificationStatuses" + }, + "name": "FactorVerificationStatuses", + "package": "@supabase/auth-js", + "preferValues": true + } + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 829, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 834, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 349, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L349" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 832, + "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/src/lib/types.ts", + "line": 342, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L342" + } + ], + "type": { + "type": "reference", + "target": 836, + "name": "Type", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + }, + { + "id": 831, + "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/src/lib/types.ts", + "line": 337, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L337" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 830, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the factor." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 334, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L334" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 833, + "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/src/lib/types.ts", + "line": 347, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L347" + } + ], + "type": { + "type": "reference", + "target": 837, + "name": "Status", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + }, + { + "id": 835, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 350, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L350" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [834, 832, 831, 830, 833, 835] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 332, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L332" + } + ] + } + } + }, + { + "id": 827, + "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/src/lib/types.ts", + "line": 313, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L313" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "FactorTypes" + }, + "name": "FactorTypes", + "package": "@supabase/auth-js", + "preferValues": true + } + } + } + }, + { + "id": 1079, + "name": "GenerateEmailChangeLinkParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 838, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L838" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1080, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1082, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 841, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L841" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1083, + "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/src/lib/types.ts", + "line": 845, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L845" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1084, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 846, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L846" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1085, + "name": "GenerateLinkOptions", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "name": "Pick", + "package": "typescript" + } + }, + { + "id": 1081, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 839, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L839" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "email_change_current" + }, + { + "type": "literal", + "value": "email_change_new" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1082, 1083, 1084, 1081] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 838, + "character": 44, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L838" + } + ] + } + } + }, + { + "id": 1069, + "name": "GenerateInviteOrMagiclinkParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 824, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L824" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1070, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1072, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 827, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L827" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1073, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 828, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L828" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1085, + "name": "GenerateLinkOptions", + "package": "@supabase/auth-js" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "name": "Pick", + "package": "typescript" + } + }, + { + "id": 1071, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 825, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L825" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "invite" + }, + { + "type": "literal", + "value": "magiclink" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1072, 1073, 1071] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 824, + "character": 46, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L824" + } + ] + } + } + }, + { + "id": 1088, + "name": "GenerateLinkParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 860, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L860" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1063, + "name": "GenerateSignupLinkParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1069, + "name": "GenerateInviteOrMagiclinkParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1074, + "name": "GenerateRecoveryLinkParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1079, + "name": "GenerateEmailChangeLinkParams", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 1093, + "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/src/lib/types.ts", + "line": 872, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L872" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1094, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1095, + "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/src/lib/types.ts", + "line": 877, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L877" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1096, + "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/src/lib/types.ts", + "line": 882, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L882" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1097, + "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/src/lib/types.ts", + "line": 886, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L886" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1098, + "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/src/lib/types.ts", + "line": 888, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L888" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1099, + "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/src/lib/types.ts", + "line": 890, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L890" + } + ], + "type": { + "type": "reference", + "target": 1100, + "name": "GenerateLinkType", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1095, 1096, 1097, 1098, 1099] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 872, + "character": 37, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L872" + } + ] + } + } + }, + { + "id": 1089, + "name": "GenerateLinkResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 866, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L866" + } + ], + "type": { + "type": "reference", + "target": 751, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1090, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1091, + "name": "properties", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 867, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L867" + } + ], + "type": { + "type": "reference", + "target": 1093, + "name": "GenerateLinkProperties", + "package": "@supabase/auth-js" + } + }, + { + "id": 1092, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 868, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L868" + } + ], + "type": { + "type": "reference", + "target": 846, + "name": "User", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1091, 1092] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 866, + "character": 64, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L866" + } + ] + } + } + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" + } + }, + { + "id": 1100, + "name": "GenerateLinkType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 893, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L893" + } + ], + "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": 1074, + "name": "GenerateRecoveryLinkParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 831, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L831" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1075, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1077, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 834, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L834" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1078, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 835, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L835" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1085, + "name": "GenerateLinkOptions", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "name": "Pick", + "package": "typescript" + } + }, + { + "id": 1076, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 832, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L832" + } + ], + "type": { + "type": "literal", + "value": "recovery" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1077, 1078, 1076] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 831, + "character": 41, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L831" + } + ] + } + } + }, + { + "id": 1063, + "name": "GenerateSignupLinkParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 817, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L817" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1064, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1066, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 819, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L819" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1068, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 821, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L821" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1085, + "name": "GenerateLinkOptions", + "package": "@supabase/auth-js" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "name": "Pick", + "package": "typescript" + } + }, + { + "id": 1067, + "name": "password", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 820, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L820" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1065, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 818, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L818" + } + ], + "type": { + "type": "literal", + "value": "signup" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1066, 1068, 1067, 1065] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 817, + "character": 39, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L817" + } + ] + } + } + }, + { + "id": 709, + "name": "GoTrueClientOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 70, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L70" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 710, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 718, + "name": "autoRefreshToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 80, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L80" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 724, + "name": "debug", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 98, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L98" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "reflection", + "declaration": { + "id": 725, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 98, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L98" + } + ], + "signatures": [ + { + "id": 726, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 727, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 728, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + ] + } + }, + { + "id": 717, + "name": "detectSessionInUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 78, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L78" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 722, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 94, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L94" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/fetch.ts", + "qualifiedName": "Fetch" + }, + "name": "Fetch", + "package": "@supabase/auth-js" + } + }, + { + "id": 723, + "name": "flowType", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 96, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L96" + } + ], + "type": { + "type": "reference", + "target": 937, + "name": "AuthFlowType", + "package": "@supabase/auth-js" + } + }, + { + "id": 730, + "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/src/lib/types.ts", + "line": 109, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L109" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 712, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 74, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L74" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 713, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 74, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L74" + } + ], + "indexSignatures": [ + { + "id": 714, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 74, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L74" + } + ], + "parameters": [ + { + "id": 715, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + }, + { + "id": 729, + "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/src/lib/types.ts", + "line": 104, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L104" + } + ], + "type": { + "type": "reference", + "target": 700, + "name": "LockFunc", + "package": "@supabase/auth-js" + } + }, + { + "id": 719, + "name": "persistSession", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 82, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L82" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 720, + "name": "storage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 84, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L84" + } + ], + "type": { + "type": "reference", + "target": 1285, + "name": "SupportedStorage", + "package": "@supabase/auth-js" + } + }, + { + "id": 716, + "name": "storageKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 76, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L76" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 731, + "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/src/lib/types.ts", + "line": 114, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L114" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 711, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 72, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L72" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 721, + "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/src/lib/types.ts", + "line": 92, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L92" + } + ], + "type": { + "type": "reference", + "target": 1285, + "name": "SupportedStorage", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [718, 724, 717, 722, 723, 730, 712, 729, 719, 720, 716, 731, 711, 721] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 70, + "character": 34, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L70" + } + ] + } + } + }, + { + "id": 1288, + "name": "InitializeResult", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1323, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1323" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1289, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1290, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1323, + "character": 33, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1323" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1290] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1323, + "character": 31, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1323" + } + ] + } + } + }, + { + "id": 1312, + "name": "JwtHeader", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1446, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1446" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1313, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1314, + "name": "alg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1447, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1447" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "RS256" + }, + { + "type": "literal", + "value": "ES256" + }, + { + "type": "literal", + "value": "HS256" + } + ] + } + }, + { + "id": 1315, + "name": "kid", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1448, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1448" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1316, + "name": "typ", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1449, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1449" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1314, 1315, 1316] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1446, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1446" + } + ] + } + } + }, + { + "id": 700, + "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/src/lib/types.ts", + "line": 68, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L68" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 701, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 68, + "character": 23, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L68" + } + ], + "signatures": [ + { + "id": 702, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameters": [ + { + "id": 708, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 703, + "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": 704, + "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": 705, + "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": 706, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 68, + "character": 69, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L68" + } + ], + "signatures": [ + { + "id": 707, + "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": 708, + "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": 708, + "name": "R", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1119, + "name": "MFAChallengeAndVerifyParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1012, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1012" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeAndVerifyTOTPParams" + }, + "name": "MFAChallengeAndVerifyTOTPParams", + "package": "@supabase/auth-js" + } + }, + { + "id": 1118, + "name": "MFAChallengeParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 999, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L999" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1115, + "name": "MFAChallengeTOTPParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1116, + "name": "MFAChallengePhoneParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1117, + "name": "MFAChallengeWebauthnParams", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 1116, + "name": "MFAChallengePhoneParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 976, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L976" + } + ], + "type": { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeParamsBase" + }, + "name": "MFAChallengeParamsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengePhoneParamFields" + }, + "name": "MFAChallengePhoneParamFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1115, + "name": "MFAChallengeTOTPParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 969, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L969" + } + ], + "type": { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeParamsBase" + }, + "name": "MFAChallengeParamsBase", + "package": "@supabase/auth-js" + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1117, + "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/src/lib/types.ts", + "line": 995, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L995" + } + ], + "type": { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeParamsBase" + }, + "name": "MFAChallengeParamsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeWebauthnParamFields" + }, + "name": "MFAChallengeWebauthnParamFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1101, + "name": "MFAEnrollParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 901, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L901" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1306, + "name": "MFAEnrollTOTPParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1307, + "name": "MFAEnrollPhoneParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1308, + "name": "MFAEnrollWebauthnParams", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 1307, + "name": "MFAEnrollPhoneParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1373, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1373" + } + ], + "type": { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollParamsBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "phone" + } + ], + "name": "MFAEnrollParamsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollPhoneParamFields" + }, + "name": "MFAEnrollPhoneParamFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1306, + "name": "MFAEnrollTOTPParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1367, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1367" + } + ], + "type": { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollParamsBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "totp" + } + ], + "name": "MFAEnrollParamsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollTOTPParamFields" + }, + "name": "MFAEnrollTOTPParamFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1308, + "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/src/lib/types.ts", + "line": 1386, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1386" + } + ], + "type": { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollParamsBase" + }, + "typeArguments": [ + { + "type": "literal", + "value": "webauthn" + } + ], + "name": "MFAEnrollParamsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollWebauthnFields" + }, + "name": "MFAEnrollWebauthnFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1114, + "name": "MFATOTPChannel", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 967, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L967" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFATOTPChannels" + }, + "name": "MFATOTPChannels", + "package": "@supabase/auth-js", + "preferValues": true + } + } + } + }, + { + "id": 1102, + "name": "MFAUnenrollParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 903, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L903" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1103, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1104, + "name": "factorId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ID of the factor being unenrolled." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 905, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L905" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1104] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 903, + "character": 32, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L903" + } + ] + } + } + }, + { + "id": 1113, + "name": "MFAVerifyParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 959, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L959" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1105, + "name": "MFAVerifyTOTPParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1106, + "name": "MFAVerifyPhoneParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1111, + "name": "MFAVerifyWebauthnParams", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 1106, + "name": "MFAVerifyPhoneParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 924, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L924" + } + ], + "type": { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyParamsBase" + }, + "name": "MFAVerifyParamsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyPhoneParamFields" + }, + "name": "MFAVerifyPhoneParamFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1105, + "name": "MFAVerifyTOTPParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 920, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L920" + } + ], + "type": { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyParamsBase" + }, + "name": "MFAVerifyParamsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyTOTPParamFields" + }, + "name": "MFAVerifyTOTPParamFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1107, + "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/src/lib/types.ts", + "line": 946, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L946" + } + ], + "typeParameters": [ + { + "id": 1110, + "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": 1108, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1109, + "name": "webauthn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 947, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L947" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnParamFieldsBase" + }, + "name": "MFAVerifyWebauthnParamFieldsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnCredentialParamFields" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1110, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + ], + "name": "MFAVerifyWebauthnCredentialParamFields", + "package": "@supabase/auth-js" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1109] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 946, + "character": 98, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L946" + } + ] + } + } + }, + { + "id": 1111, + "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/src/lib/types.ts", + "line": 956, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L956" + } + ], + "typeParameters": [ + { + "id": 1112, + "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": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyParamsBase" + }, + "name": "MFAVerifyParamsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1107, + "typeArguments": [ + { + "type": "reference", + "target": 1112, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + ], + "name": "MFAVerifyWebauthnParamFields", + "package": "@supabase/auth-js" + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 1032, + "name": "MobileOtpType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 758, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L758" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "phone_change" + } + ] + } + }, + { + "id": 1427, + "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/src/lib/types.ts", + "line": 1676, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1676" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1428, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1429, + "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/src/lib/types.ts", + "line": 1678, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1678" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1430, + "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/src/lib/types.ts", + "line": 1680, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1680" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1431, + "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/src/lib/types.ts", + "line": 1682, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1682" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1432, + "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/src/lib/types.ts", + "line": 1684, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1684" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1429, 1430, 1431, 1432] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1676, + "character": 39, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1676" + } + ] + } + } + }, + { + "id": 1433, + "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/src/lib/types.ts", + "line": 1691, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1691" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1434, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1435, + "name": "authorization_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The authorization ID" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1693, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1693" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1437, + "name": "client", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "OAuth client requesting authorization" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1697, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1697" + } + ], + "type": { + "type": "reference", + "target": 1427, + "name": "OAuthAuthorizationClient", + "package": "@supabase/auth-js" + } + }, + { + "id": 1436, + "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/src/lib/types.ts", + "line": 1695, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1695" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1442, + "name": "scope", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Space-separated list of requested scopes" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1706, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1706" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1438, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "User object associated with the authorization" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1699, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1699" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1439, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1441, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "User email" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1703, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1703" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1440, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "User ID (UUID)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1701, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1701" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1441, 1440] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1699, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1699" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1435, 1437, 1436, 1442, 1438] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1691, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1691" + } + ] + } + } + }, + { + "id": 1360, + "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/src/lib/types.ts", + "line": 1530, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1530" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1361, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1362, + "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/src/lib/types.ts", + "line": 1532, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1532" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1363, + "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/src/lib/types.ts", + "line": 1534, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1534" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1364, + "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/src/lib/types.ts", + "line": 1536, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1536" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1365, + "name": "client_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Type of OAuth client" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1538, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1538" + } + ], + "type": { + "type": "reference", + "target": 1358, + "name": "OAuthClientType", + "package": "@supabase/auth-js" + } + }, + { + "id": 1368, + "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/src/lib/types.ts", + "line": 1544, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1544" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1374, + "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/src/lib/types.ts", + "line": 1556, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1556" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1371, + "name": "grant_types", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of allowed grant types" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1550, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1550" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1356, + "name": "OAuthClientGrantType", + "package": "@supabase/auth-js" + } + } + }, + { + "id": 1369, + "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/src/lib/types.ts", + "line": 1546, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1546" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1370, + "name": "redirect_uris", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of allowed redirect URIs" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1548, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1548" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1367, + "name": "registration_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Registration type of the client" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1542, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1542" + } + ], + "type": { + "type": "reference", + "target": 1359, + "name": "OAuthClientRegistrationType", + "package": "@supabase/auth-js" + } + }, + { + "id": 1372, + "name": "response_types", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of allowed response types" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1552, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1552" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1357, + "name": "OAuthClientResponseType", + "package": "@supabase/auth-js" + } + } + }, + { + "id": 1373, + "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/src/lib/types.ts", + "line": 1554, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1554" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1366, + "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/src/lib/types.ts", + "line": 1540, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1540" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1375, + "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/src/lib/types.ts", + "line": 1558, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1558" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1362, 1363, 1364, 1365, 1368, 1374, 1371, 1369, 1370, 1367, 1372, 1373, 1366, + 1375 + ] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1530, + "character": 26, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1530" + } + ] + } + } + }, + { + "id": 1356, + "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/src/lib/types.ts", + "line": 1506, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1506" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "authorization_code" + }, + { + "type": "literal", + "value": "refresh_token" + } + ] + } + }, + { + "id": 1392, + "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/src/lib/types.ts", + "line": 1608, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1608" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1393, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1394, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1610, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1610" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1395, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1397, + "name": "aud", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1610, + "character": 38, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1610" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1396, + "name": "clients", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1610, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1610" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1360, + "name": "OAuthClient", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1397, 1396] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1610, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1610" + } + ] + } + }, + { + "type": "reference", + "target": 1292, + "name": "Pagination", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 1398, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1611, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1611" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1394, 1398] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1609, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1609" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1399, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1400, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1614, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1614" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1401, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1402, + "name": "clients", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1614, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1614" + } + ], + "type": { + "type": "tuple" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1402] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1614, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1614" + } + ] + } + } + }, + { + "id": 1403, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1615, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1615" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1400, 1403] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1613, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1613" + } + ] + } + } + ] + } + }, + { + "id": 1359, + "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/src/lib/types.ts", + "line": 1524, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1524" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "dynamic" + }, + { + "type": "literal", + "value": "manual" + } + ] + } + }, + { + "id": 1391, + "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/src/lib/types.ts", + "line": 1602, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1602" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reference", + "target": 1360, + "name": "OAuthClient", + "package": "@supabase/auth-js" + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 1357, + "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/src/lib/types.ts", + "line": 1512, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1512" + } + ], + "type": { + "type": "literal", + "value": "code" + } + }, + { + "id": 1358, + "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/src/lib/types.ts", + "line": 1518, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1518" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "public" + }, + { + "type": "literal", + "value": "confidential" + } + ] + } + }, + { + "id": 782, + "name": "OAuthResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 195, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L195" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 783, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 784, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 197, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L197" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 785, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 786, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 198, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L198" + } + ], + "type": { + "type": "reference", + "target": 697, + "name": "Provider", + "package": "@supabase/auth-js" + } + }, + { + "id": 787, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 199, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L199" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [786, 787] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 197, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L197" + } + ] + } + } + }, + { + "id": 788, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 201, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L201" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [784, 788] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 196, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L196" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 789, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 790, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 204, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L204" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 791, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 792, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 205, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L205" + } + ], + "type": { + "type": "reference", + "target": 697, + "name": "Provider", + "package": "@supabase/auth-js" + } + }, + { + "id": 793, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 206, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L206" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [792, 793] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 204, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L204" + } + ] + } + } + }, + { + "id": 794, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 208, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L208" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [790, 794] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 203, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L203" + } + ] + } + } + ] + } + }, + { + "id": 1299, + "name": "PageParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1334, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1334" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1300, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1301, + "name": "page", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The page number" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1336, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1336" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1302, + "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/src/lib/types.ts", + "line": 1338, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1338" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1301, 1302] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1334, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1334" + } + ] + } + } + }, + { + "id": 1292, + "name": "Pagination", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1327, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1327" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1293, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1295, + "name": "lastPage", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1330, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1330" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1294, + "name": "nextPage", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1329, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1329" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 1296, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1331, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1331" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1295, 1294, 1296] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1327, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1327" + } + ], + "indexSignatures": [ + { + "id": 1297, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1328, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1328" + } + ], + "parameters": [ + { + "id": 1298, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + }, + { + "id": 737, + "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/src/lib/types.ts", + "line": 129, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L129" + } + ], + "typeParameters": [ + { + "id": 738, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 738, + "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": 738, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "mapped", + "parameter": "K", + "parameterType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 738, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + }, + "templateType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "K" + }, + "name": "K", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 738, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + } + } + } + }, + { + "id": 697, + "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/src/lib/types.ts", + "line": 18, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L18" + } + ], + "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": 742, + "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/src/lib/types.ts", + "line": 141, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L141" + } + ], + "typeParameters": [ + { + "id": 749, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + }, + { + "id": 750, + "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": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 743, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 744, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 143, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L143" + } + ], + "type": { + "type": "reference", + "target": 749, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + }, + { + "id": 745, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 144, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L144" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [744, 745] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 142, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L142" + } + ] + } + }, + { + "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/src/lib/types.ts", + "line": 147, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L147" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 748, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 148, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L148" + } + ], + "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": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + }, + "trueType": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + }, + "falseType": { + "type": "reference", + "target": 750, + "name": "ErrorType", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [747, 748] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 146, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L146" + } + ] + } + } + ] + } + }, + { + "id": 751, + "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/src/lib/types.ts", + "line": 155, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L155" + } + ], + "typeParameters": [ + { + "id": 758, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 752, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 753, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 156, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L156" + } + ], + "type": { + "type": "reference", + "target": 758, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + }, + { + "id": 754, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 156, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L156" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [753, 754] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 156, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L156" + } + ] + } + }, + { + "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/src/lib/types.ts", + "line": 158, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L158" + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 758, + "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": 758, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + }, + "templateType": { + "type": "literal", + "value": null + } + }, + "falseType": { + "type": "literal", + "value": null + } + } + }, + { + "id": 757, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 159, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L159" + } + ], + "type": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [756, 757] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 157, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L157" + } + ] + } + } + ] + } + }, + { + "id": 1317, + "name": "RequiredClaims", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1452, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1452" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1318, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1325, + "name": "aal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1459, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1459" + } + ], + "type": { + "type": "reference", + "target": 1142, + "name": "AuthenticatorAssuranceLevels", + "package": "@supabase/auth-js" + } + }, + { + "id": 1321, + "name": "aud", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1455, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1455" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 1322, + "name": "exp", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1456, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1456" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1323, + "name": "iat", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1457, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1457" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1319, + "name": "iss", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1453, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1453" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1324, + "name": "role", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1458, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1458" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1326, + "name": "session_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1460, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1460" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1320, + "name": "sub", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1454, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1454" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1325, 1321, 1322, 1323, 1319, 1324, 1326, 1320] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1452, + "character": 29, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1452" + } + ] + } + }, + "extendedBy": [ + { + "type": "reference", + "target": 1327, + "name": "JwtPayload" + } + ] + }, + { + "id": 1034, + "name": "ResendParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 761, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L761" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1035, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1037, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 764, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L764" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1038, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 765, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L765" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1039, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1041, + "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/src/lib/types.ts", + "line": 769, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L769" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1040, + "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/src/lib/types.ts", + "line": 767, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L767" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1041, 1040] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 765, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L765" + } + ] + } + } + }, + { + "id": 1036, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 763, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L763" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Extract" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1033, + "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": [1037, 1038, 1036] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 762, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L762" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1042, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1045, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 775, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L775" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1046, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1047, + "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/src/lib/types.ts", + "line": 777, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L777" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1047] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 775, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L775" + } + ] + } + } + }, + { + "id": 1044, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 774, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L774" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1043, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 773, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L773" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Extract" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1032, + "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": [1045, 1044, 1043] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 772, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L772" + } + ] + } + } + ] + } + }, + { + "id": 901, + "name": "SignInAnonymouslyCredentials", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 521, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L521" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 902, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 903, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 522, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L522" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 904, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 906, + "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/src/lib/types.ts", + "line": 530, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L530" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 905, + "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/src/lib/types.ts", + "line": 528, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L528" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [906, 905] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 522, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L522" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [903] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 521, + "character": 43, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L521" + } + ] + } + } + }, + { + "id": 950, + "name": "SignInWithIdTokenCredentials", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 609, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L609" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 951, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 955, + "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/src/lib/types.ts", + "line": 615, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L615" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 956, + "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/src/lib/types.ts", + "line": 617, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L617" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 957, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 618, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L618" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 958, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 959, + "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/src/lib/types.ts", + "line": 620, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L620" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [959] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 618, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L618" + } + ] + } + } + }, + { + "id": 952, + "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/src/lib/types.ts", + "line": 611, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L611" + } + ], + "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": 953, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 611, + "character": 76, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L611" + } + ] + } + } + ] + } + ] + } + }, + { + "id": 954, + "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/src/lib/types.ts", + "line": 613, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L613" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [955, 956, 957, 952, 954] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 609, + "character": 43, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L609" + } + ] + } + } + }, + { + "id": 938, + "name": "SignInWithOAuthCredentials", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 594, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L594" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 939, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 941, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 597, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L597" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 942, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 945, + "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/src/lib/types.ts", + "line": 603, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L603" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 946, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 603, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L603" + } + ], + "indexSignatures": [ + { + "id": 947, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 603, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L603" + } + ], + "parameters": [ + { + "id": 948, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + }, + { + "id": 943, + "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/src/lib/types.ts", + "line": 599, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L599" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 944, + "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/src/lib/types.ts", + "line": 601, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L601" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 949, + "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/src/lib/types.ts", + "line": 605, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L605" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [945, 943, 944, 949] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 597, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L597" + } + ] + } + } + }, + { + "id": 940, + "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/src/lib/types.ts", + "line": 596, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L596" + } + ], + "type": { + "type": "reference", + "target": 697, + "name": "Provider", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [941, 940] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 594, + "character": 41, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L594" + } + ] + } + } + }, + { + "id": 915, + "name": "SignInWithPasswordCredentials", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 549, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L549" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "PasswordCredentialsBase" + }, + "name": "PasswordCredentialsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reflection", + "declaration": { + "id": 916, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 917, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 550, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L550" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 918, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 919, + "name": "captchaToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 551, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L551" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [919] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 550, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L550" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [917] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 549, + "character": 70, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L549" + } + ] + } + } + ] + } + }, + { + "id": 920, + "name": "SignInWithPasswordlessCredentials", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 555, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L555" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 921, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 922, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email address." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 558, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L558" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 923, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 559, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L559" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 924, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 928, + "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/src/lib/types.ts", + "line": 571, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L571" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 927, + "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/src/lib/types.ts", + "line": 569, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L569" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 925, + "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/src/lib/types.ts", + "line": 561, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L561" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 926, + "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/src/lib/types.ts", + "line": 563, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L563" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [928, 927, 925, 926] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 559, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L559" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [922, 923] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 556, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L556" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 929, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 931, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 577, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L577" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 932, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 935, + "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/src/lib/types.ts", + "line": 587, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L587" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 936, + "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/src/lib/types.ts", + "line": 589, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L589" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 934, + "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/src/lib/types.ts", + "line": 585, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L585" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 933, + "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/src/lib/types.ts", + "line": 579, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L579" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [935, 936, 934, 933] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 577, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L577" + } + ] + } + } + }, + { + "id": 930, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's phone number." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 576, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L576" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [931, 930] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 574, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L574" + } + ] + } + } + ] + } + }, + { + "id": 1048, + "name": "SignInWithSSO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 781, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L781" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1049, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1051, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 786, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L786" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1052, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1054, + "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/src/lib/types.ts", + "line": 790, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L790" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1053, + "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/src/lib/types.ts", + "line": 788, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L788" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1055, + "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/src/lib/types.ts", + "line": 796, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L796" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1054, 1053, 1055] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 786, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L786" + } + ] + } + } + }, + { + "id": 1050, + "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/src/lib/types.ts", + "line": 784, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L784" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1051, 1050] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 782, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L782" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1056, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1057, + "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/src/lib/types.ts", + "line": 801, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L801" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1058, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 803, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L803" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1059, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1061, + "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/src/lib/types.ts", + "line": 807, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L807" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1060, + "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/src/lib/types.ts", + "line": 805, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L805" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1062, + "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/src/lib/types.ts", + "line": 813, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L813" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1061, 1060, 1062] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 803, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L803" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1057, 1058] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 799, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L799" + } + ] + } + } + ] + } + }, + { + "id": 1303, + "name": "SignOut", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1341, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1341" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1304, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1305, + "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/src/lib/types.ts", + "line": 1352, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1352" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "global" + }, + { + "type": "literal", + "value": "local" + }, + { + "type": "literal", + "value": "others" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1305] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1341, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1341" + } + ] + } + } + }, + { + "id": 1355, + "name": "SignOutScope", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1500, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1500" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": 1354, + "name": "SIGN_OUT_SCOPES", + "package": "@supabase/auth-js" + } + } + } + }, + { + "id": 907, + "name": "SignUpWithPasswordCredentials", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 534, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L534" + } + ], + "type": { + "type": "reference", + "target": 737, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "PasswordCredentialsBase" + }, + "name": "PasswordCredentialsBase", + "package": "@supabase/auth-js" + }, + { + "type": "reflection", + "declaration": { + "id": 908, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 909, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 536, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L536" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 910, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 913, + "name": "captchaToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 539, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L539" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 914, + "name": "channel", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 540, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L540" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 912, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 538, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L538" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 911, + "name": "emailRedirectTo", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 537, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L537" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [913, 914, 912, 911] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 536, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L536" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [909] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 535, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L535" + } + ] + } + } + ] + } + ], + "name": "Prettify", + "package": "@supabase/auth-js" + } + }, + { + "id": 960, + "name": "SolanaWallet", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 624, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L624" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 961, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 966, + "name": "publicKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 626, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L626" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 967, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 968, + "name": "toBase58", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 627, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L627" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 969, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 627, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L627" + } + ], + "signatures": [ + { + "id": 970, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [968] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 626, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L626" + } + ] + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 962, + "name": "signIn", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 625, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L625" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 963, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 625, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L625" + } + ], + "signatures": [ + { + "id": 964, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 965, + "name": "inputs", + "variant": "param", + "kind": 32768, + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "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": "src/lib/web3/solana.ts", + "qualifiedName": "SolanaSignInOutput" + }, + "name": "SolanaSignInOutput", + "package": "@supabase/auth-js" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/web3/solana.ts", + "qualifiedName": "SolanaSignInOutput" + }, + "name": "SolanaSignInOutput", + "package": "@supabase/auth-js" + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 971, + "name": "signMessage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 630, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L630" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 972, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 630, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L630" + } + ], + "signatures": [ + { + "id": 973, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 974, + "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": 975, + "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": [966, 962, 971] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 624, + "character": 27, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L624" + } + ] + } + } + }, + { + "id": 976, + "name": "SolanaWeb3Credentials", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 633, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L633" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 977, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 978, + "name": "chain", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 635, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L635" + } + ], + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "id": 981, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 643, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L643" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 982, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 984, + "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/src/lib/types.ts", + "line": 648, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L648" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 985, + "name": "signInWithSolana", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 650, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L650" + } + ], + "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": "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": 983, + "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/src/lib/types.ts", + "line": 645, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L645" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [984, 985, 983] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 643, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L643" + } + ] + } + } + }, + { + "id": 980, + "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/src/lib/types.ts", + "line": 641, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L641" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 979, + "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/src/lib/types.ts", + "line": 638, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L638" + } + ], + "type": { + "type": "reference", + "target": 960, + "name": "SolanaWallet", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [978, 981, 980, 979] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 634, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L634" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 986, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 987, + "name": "chain", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 656, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L656" + } + ], + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "id": 988, + "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/src/lib/types.ts", + "line": 659, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L659" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 990, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 664, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L664" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 991, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 992, + "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/src/lib/types.ts", + "line": 666, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L666" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [992] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 664, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L664" + } + ] + } + } + }, + { + "id": 989, + "name": "signature", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Ed25519 signature of the message." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 662, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L662" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Uint8Array" + }, + "name": "Uint8Array", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [987, 988, 990, 989] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 655, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L655" + } + ] + } + } + ] + } + }, + { + "id": 795, + "name": "SSOResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 211, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L211" + } + ], + "type": { + "type": "reference", + "target": 742, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 796, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 797, + "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/src/lib/types.ts", + "line": 219, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L219" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [797] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 211, + "character": 40, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L211" + } + ] + } + } + ], + "name": "RequestResult", + "package": "@supabase/auth-js" + } + }, + { + "id": 739, + "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/src/lib/types.ts", + "line": 136, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L136" + } + ], + "typeParameters": [ + { + "id": 740, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + }, + { + "id": 741, + "name": "K", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 740, + "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": 740, + "name": "T", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 741, + "name": "K", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + ], + "name": "Omit", + "package": "typescript" + } + }, + { + "id": 1285, + "name": "SupportedStorage", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1310, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1310" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "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": 1286, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1287, + "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/src/lib/types.ts", + "line": 1320, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1320" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1287] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1312, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1312" + } + ] + } + } + ] + } + }, + { + "id": 1384, + "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/src/lib/types.ts", + "line": 1585, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1585" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1385, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1386, + "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/src/lib/types.ts", + "line": 1587, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1587" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1387, + "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/src/lib/types.ts", + "line": 1589, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1589" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1390, + "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/src/lib/types.ts", + "line": 1595, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1595" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1356, + "name": "OAuthClientGrantType", + "package": "@supabase/auth-js" + } + } + }, + { + "id": 1388, + "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/src/lib/types.ts", + "line": 1591, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1591" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1389, + "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/src/lib/types.ts", + "line": 1593, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1593" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1386, 1387, 1390, 1388, 1389] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1585, + "character": 38, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1585" + } + ] + } + } + }, + { + "id": 798, + "name": "UserResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 222, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L222" + } + ], + "type": { + "type": "reference", + "target": 751, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 799, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 800, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 223, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L223" + } + ], + "type": { + "type": "reference", + "target": 846, + "name": "User", + "package": "@supabase/auth-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [800] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 222, + "character": 56, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L222" + } + ] + } + } + ], + "name": "RequestResultSafeDestructure", + "package": "@supabase/auth-js" + } + }, + { + "id": 1012, + "name": "VerifyOtpParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 711, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L711" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1013, + "name": "VerifyMobileOtpParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1021, + "name": "VerifyEmailOtpParams", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 1029, + "name": "VerifyTokenHashParams", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 733, + "name": "WeakPassword", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 120, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L120" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 734, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 736, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 122, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L122" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 735, + "name": "reasons", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 121, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L121" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 732, + "name": "WeakPasswordReasons", + "package": "@supabase/auth-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [736, 735] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 120, + "character": 27, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L120" + } + ] + } + } + }, + { + "id": 732, + "name": "WeakPasswordReasons", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 119, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L119" + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "WeakPasswordReasons" + }, + "name": "WeakPasswordReasons", + "package": "@supabase/auth-js", + "preferValues": true + } + } + } + }, + { + "id": 1011, + "name": "Web3Credentials", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 709, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L709" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 976, + "name": "SolanaWeb3Credentials", + "package": "@supabase/auth-js" + }, + { + "type": "reference", + "target": 994, + "name": "EthereumWeb3Credentials", + "package": "@supabase/auth-js" + } + ] + } + }, + { + "id": 671, + "name": "AuthAdminApi", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/AuthAdminApi.ts", + "line": 3, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/AuthAdminApi.ts#L3" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 1, + "name": "default", + "package": "@supabase/auth-js" + } + }, + "defaultValue": "GoTrueAdminApi" + }, + { + "id": 672, + "name": "AuthClient", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/AuthClient.ts", + "line": 3, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/AuthClient.ts#L3" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 107, + "name": "default", + "package": "@supabase/auth-js" + } + }, + "defaultValue": "GoTrueClient" + }, + { + "id": 686, + "name": "lockInternals", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "comment": { + "summary": [], + "modifierTags": ["@experimental"] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 6, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L6" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 687, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 688, + "name": "debug", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": ["@experimental"] + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 10, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L10" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "children": [688] + } + ], + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 6, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L6" + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 1354, + "name": "SIGN_OUT_SCOPES", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/types.ts", + "line": 1499, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/types.ts#L1499" + } + ], + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "tuple", + "elements": [ + { + "type": "literal", + "value": "global" + }, + { + "type": "literal", + "value": "local" + }, + { + "type": "literal", + "value": "others" + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 1466, + "name": "isAuthApiError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 41, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L41" + } + ], + "signatures": [ + { + "id": 1467, + "name": "isAuthApiError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 41, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L41" + } + ], + "parameters": [ + { + "id": 1468, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1491, + "name": "AuthApiError", + "package": "@supabase/auth-js" + } + } + } + ] + }, + { + "id": 1463, + "name": "isAuthError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 26, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L26" + } + ], + "signatures": [ + { + "id": 1464, + "name": "isAuthError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 26, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L26" + } + ], + "parameters": [ + { + "id": 1465, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1481, + "name": "AuthError", + "package": "@supabase/auth-js" + } + } + } + ] + }, + { + "id": 1472, + "name": "isAuthImplicitGrantRedirectError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 105, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L105" + } + ], + "signatures": [ + { + "id": 1473, + "name": "isAuthImplicitGrantRedirectError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 105, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L105" + } + ], + "parameters": [ + { + "id": 1474, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1548, + "name": "AuthImplicitGrantRedirectError", + "package": "@supabase/auth-js" + } + } + } + ] + }, + { + "id": 1475, + "name": "isAuthRetryableFetchError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 135, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L135" + } + ], + "signatures": [ + { + "id": 1476, + "name": "isAuthRetryableFetchError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 135, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L135" + } + ], + "parameters": [ + { + "id": 1477, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1602, + "name": "AuthRetryableFetchError", + "package": "@supabase/auth-js" + } + } + } + ] + }, + { + "id": 1469, + "name": "isAuthSessionMissingError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 72, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L72" + } + ], + "signatures": [ + { + "id": 1470, + "name": "isAuthSessionMissingError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 72, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L72" + } + ], + "parameters": [ + { + "id": 1471, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1523, + "name": "AuthSessionMissingError", + "package": "@supabase/auth-js" + } + } + } + ] + }, + { + "id": 1478, + "name": "isAuthWeakPasswordError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 157, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L157" + } + ], + "signatures": [ + { + "id": 1479, + "name": "isAuthWeakPasswordError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/errors.ts", + "line": 157, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/errors.ts#L157" + } + ], + "parameters": [ + { + "id": 1480, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1612, + "name": "AuthWeakPasswordError", + "package": "@supabase/auth-js" + } + } + } + ] + }, + { + "id": 673, + "name": "navigatorLock", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 59, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L59" + } + ], + "signatures": [ + { + "id": 674, + "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": 107 + }, + { + "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/src/lib/locks.ts", + "line": 59, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L59" + } + ], + "typeParameters": [ + { + "id": 675, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 676, + "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": 677, + "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": 678, + "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": 679, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 62, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L62" + } + ], + "signatures": [ + { + "id": 680, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 62, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L62" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 675, + "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": 675, + "name": "R", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 689, + "name": "processLock", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 171, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L171" + } + ], + "signatures": [ + { + "id": 690, + "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/src/lib/locks.ts", + "line": 171, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L171" + } + ], + "typeParameters": [ + { + "id": 691, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 692, + "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": 693, + "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": 694, + "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": 695, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 174, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L174" + } + ], + "signatures": [ + { + "id": 696, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/auth-js/src/lib/locks.ts", + "line": 174, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/auth-js/src/lib/locks.ts#L174" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 691, + "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": 691, + "name": "R", + "package": "@supabase/auth-js", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [ + 1491, 1481, 1548, 1539, 1624, 1531, 1575, 1602, 1523, 1501, 1612, 1511, 1, 107, 681 + ] + }, + { + "title": "Interfaces", + "children": [ + 878, 812, 1447, 1085, 1278, 1404, 1148, 1347, 1327, 801, 891, 846, 838, 872, 815, 843, + 1021, 1013, 1029 + ] + }, + { + "title": "Type Aliases", + "children": [ + 810, 699, 698, 1142, 937, 1268, 1265, 1275, 1272, 1133, 1137, 1132, 1134, 1135, 1136, + 1310, 1128, 1309, 1311, 1143, 1138, 1129, 1127, 1120, 1443, 1444, 768, 759, 763, 773, + 777, 1291, 1376, 1033, 993, 994, 828, 827, 1079, 1069, 1088, 1093, 1089, 1100, 1074, + 1063, 709, 1288, 1312, 700, 1119, 1118, 1116, 1115, 1117, 1101, 1307, 1306, 1308, 1114, + 1102, 1113, 1106, 1105, 1107, 1111, 1032, 1427, 1433, 1360, 1356, 1392, 1359, 1391, + 1357, 1358, 782, 1299, 1292, 737, 697, 742, 751, 1317, 1034, 901, 950, 938, 915, 920, + 1048, 1303, 1355, 907, 960, 976, 795, 739, 1285, 1384, 798, 1012, 733, 732, 1011 + ] + }, + { + "title": "Variables", + "children": [671, 672, 686, 1354] + }, + { + "title": "Functions", + "children": [1466, 1463, 1472, 1475, 1469, 1478, 673, 689] + } + ], + "packageName": "@supabase/auth-js", + "readme": [ + { + "kind": "text", + "text": "
\n

\n \n \n \n \n \"Supabase\n \n \n\n

Supabase Auth JS SDK

\n\n

An isomorphic JavaScript SDK for the Supabase Auth API.

\n\n

\n Guides\n ·\n Reference Docs\n ·\n TypeDoc\n

\n

\n\n
\n\n[![Build](https://github.com/supabase/supabase-js/workflows/CI/badge.svg)](https://github.com/supabase/supabase-js/actions?query=branch%3Amaster)\n[![Package](https://img.shields.io/npm/v/@supabase/auth-js)](https://www.npmjs.com/package/@supabase/auth-js)\n[![License: MIT](https://img.shields.io/npm/l/@supabase/supabase-js)](#license)\n[![pkg.pr.new](https://pkg.pr.new/badge/supabase/auth-js)](https://pkg.pr.new/~/supabase/auth-js)\n\n
\n\n## Requirements\n\n- **Node.js 20 or later** (Node.js 18 support dropped as of October 31, 2025)\n- For browser support, all modern browsers are supported\n\n> ⚠️ **Node.js 18 Deprecation Notice**\n>\n> Node.js 18 reached end-of-life on April 30, 2025. As announced in [our deprecation notice](https://github.com/orgs/supabase/discussions/37217), support for Node.js 18 was dropped on October 31, 2025.\n\n## Quick start\n\nInstall\n\n" + }, + { + "kind": "code", + "text": "```bash\nnpm install --save @supabase/auth-js\n```" + }, + { + "kind": "text", + "text": "\n\nUsage\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { AuthClient } from '@supabase/auth-js'\n\nconst GOTRUE_URL = 'http://localhost:9999'\n\nconst auth = new AuthClient({ url: GOTRUE_URL })\n```" + }, + { + "kind": "text", + "text": "\n\n- " + }, + { + "kind": "code", + "text": "`signUp()`" + }, + { + "kind": "text", + "text": ": https://supabase.com/docs/reference/javascript/auth-signup\n- " + }, + { + "kind": "code", + "text": "`signIn()`" + }, + { + "kind": "text", + "text": ": https://supabase.com/docs/reference/javascript/auth-signin\n- " + }, + { + "kind": "code", + "text": "`signOut()`" + }, + { + "kind": "text", + "text": ": https://supabase.com/docs/reference/javascript/auth-signout\n\n### Custom " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation\n\n" + }, + { + "kind": "code", + "text": "`auth-js`" + }, + { + "kind": "text", + "text": " uses the [" + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": "](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests, but an alternative " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation can be provided as an option. This is most useful in environments where " + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": " is not compatible, for instance Cloudflare Workers:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { AuthClient } from '@supabase/auth-js'\n\nconst AUTH_URL = 'http://localhost:9999'\n\nconst auth = new AuthClient({ url: AUTH_URL, fetch: fetch })\n```" + }, + { + "kind": "text", + "text": "\n\n## Development\n\nThis package is part of the [Supabase JavaScript monorepo](https://github.com/supabase/supabase-js). To work on this package:\n\n### Building\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Complete build (from monorepo root)\nnpx nx build auth-js\n\n# Build with watch mode for development\nnpx nx build auth-js --watch\n\n# Individual build targets\nnpx nx build:main auth-js # CommonJS build (dist/main/)\nnpx nx build:module auth-js # ES Modules build (dist/module/)\n\n# Other useful commands\nnpx nx lint auth-js # Run ESLint\nnpx nx typecheck auth-js # TypeScript type checking\nnpx nx docs auth-js # Generate documentation\n```" + }, + { + "kind": "text", + "text": "\n\n#### Build Outputs\n\n- **CommonJS (" + }, + { + "kind": "code", + "text": "`dist/main/`" + }, + { + "kind": "text", + "text": ")** - For Node.js environments\n- **ES Modules (" + }, + { + "kind": "code", + "text": "`dist/module/`" + }, + { + "kind": "text", + "text": ")** - For modern bundlers (Webpack, Vite, Rollup)\n- **TypeScript definitions (" + }, + { + "kind": "code", + "text": "`dist/module/index.d.ts`" + }, + { + "kind": "text", + "text": ")** - Type definitions for TypeScript projects\n\n### Testing\n\n**Docker Required!** The auth-js tests require a local Supabase Auth server (GoTrue) running in Docker.\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run complete test suite (from monorepo root)\nnpx nx test:auth auth-js\n```" + }, + { + "kind": "text", + "text": "\n\nThis command automatically:\n\n1. Stops any existing test containers\n2. Starts a Supabase Auth server (GoTrue) and PostgreSQL database in Docker\n3. Waits for services to be ready (30 seconds)\n4. Runs the test suite\n5. Cleans up Docker containers after tests complete\n\n#### Individual Test Commands\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run just the test suite (requires infrastructure to be running)\nnpx nx test:suite auth-js\n\n# Manually manage test infrastructure\nnpx nx test:infra auth-js # Start Docker containers\nnpx nx test:clean auth-js # Stop and remove containers\n```" + }, + { + "kind": "text", + "text": "\n\n#### Development Testing\n\nFor actively developing and debugging tests:\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Start infrastructure once\nnpx nx test:infra auth-js\n\n# Run tests multiple times (faster since containers stay up)\nnpx nx test:suite auth-js\n\n# Clean up when done\nnpx nx test:clean auth-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Test Infrastructure\n\nThe Docker setup includes:\n\n- **Supabase Auth (GoTrue)** - The authentication server\n- **PostgreSQL** - Database for auth data\n- Pre-configured with test users and settings\n\n#### Prerequisites\n\n- **Docker** must be installed and running\n- Ports used by test infrastructure (check " + }, + { + "kind": "code", + "text": "`infra/docker-compose.yml`" + }, + { + "kind": "text", + "text": ")\n- No full Supabase instance needed - just the Auth server\n\n### Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](" + }, + { + "kind": "relative-link", + "text": "../../../CONTRIBUTING.md", + "target": 2 + }, + { + "kind": "text", + "text": ") for details on how to get started.\n\nFor major changes or if you're unsure about something, please open an issue first to discuss your proposed changes." + } + ], + "symbolIdMap": { + "0": { + "sourceFileName": "src/index.ts", + "qualifiedName": "" + }, + "1": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default" + }, + "2": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.__constructor" + }, + "3": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default" + }, + "4": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__0" + }, + "5": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "6": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.url" + }, + "7": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.headers" + }, + "8": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "9": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.__index" + }, + "11": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.fetch" + }, + "12": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "13": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "14": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "15": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "16": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "17": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "18": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "19": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.mfa" + }, + "20": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.oauth" + }, + "34": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.signOut" + }, + "35": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.signOut" + }, + "36": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "jwt" + }, + "37": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "scope" + }, + "38": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "39": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.data" + }, + "40": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.error" + }, + "41": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.inviteUserByEmail" + }, + "42": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.inviteUserByEmail" + }, + "43": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "email" + }, + "44": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "options" + }, + "45": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "46": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.data" + }, + "47": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.redirectTo" + }, + "48": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.generateLink" + }, + "49": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.generateLink" + }, + "50": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "params" + }, + "51": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.createUser" + }, + "52": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.createUser" + }, + "53": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "attributes" + }, + "54": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.listUsers" + }, + "55": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.listUsers" + }, + "56": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "params" + }, + "57": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "58": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.data" + }, + "59": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "60": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.users" + }, + "61": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.aud" + }, + "62": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.error" + }, + "63": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "64": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.data" + }, + "65": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type" + }, + "66": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.users" + }, + "67": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "__type.error" + }, + "68": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.getUserById" + }, + "69": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.getUserById" + }, + "70": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "uid" + }, + "71": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.updateUserById" + }, + "72": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.updateUserById" + }, + "73": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "uid" + }, + "74": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "attributes" + }, + "75": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.deleteUser" + }, + "76": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "default.deleteUser" + }, + "77": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "id" + }, + "78": { + "sourceFileName": "src/GoTrueAdminApi.ts", + "qualifiedName": "shouldSoftDelete" + }, + "107": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default" + }, + "109": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.__constructor" + }, + "110": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default" + }, + "111": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "113": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.admin" + }, + "114": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.mfa" + }, + "115": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.oauth" + }, + "172": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.isThrowOnErrorEnabled" + }, + "173": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.isThrowOnErrorEnabled" + }, + "185": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.initialize" + }, + "186": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.initialize" + }, + "189": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInAnonymously" + }, + "190": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInAnonymously" + }, + "191": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "192": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signUp" + }, + "193": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signUp" + }, + "194": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "195": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithPassword" + }, + "196": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithPassword" + }, + "197": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "198": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithOAuth" + }, + "199": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithOAuth" + }, + "200": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "201": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.exchangeCodeForSession" + }, + "202": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.exchangeCodeForSession" + }, + "203": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "authCode" + }, + "204": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithWeb3" + }, + "205": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithWeb3" + }, + "206": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "207": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "208": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "209": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "210": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "211": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.user" + }, + "212": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "213": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "214": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "215": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "216": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "217": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.user" + }, + "218": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "257": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithIdToken" + }, + "258": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithIdToken" + }, + "259": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "260": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithOtp" + }, + "261": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithOtp" + }, + "262": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "263": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.verifyOtp" + }, + "264": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.verifyOtp" + }, + "265": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "params" + }, + "266": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithSSO" + }, + "267": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signInWithSSO" + }, + "268": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "params" + }, + "269": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.reauthenticate" + }, + "270": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.reauthenticate" + }, + "273": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.resend" + }, + "274": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.resend" + }, + "275": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "276": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getSession" + }, + "277": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getSession" + }, + "278": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "279": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "280": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "281": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "282": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "283": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "284": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "285": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "286": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "287": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "288": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "289": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "290": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "291": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.session" + }, + "292": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "339": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getUser" + }, + "340": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getUser" + }, + "341": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "jwt" + }, + "345": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.updateUser" + }, + "346": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.updateUser" + }, + "347": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "attributes" + }, + "348": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "349": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "350": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "357": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.setSession" + }, + "358": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.setSession" + }, + "359": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "currentSession" + }, + "360": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "361": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.access_token" + }, + "362": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.refresh_token" + }, + "369": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.refreshSession" + }, + "370": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.refreshSession" + }, + "371": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "currentSession" + }, + "372": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "373": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.refresh_token" + }, + "410": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signOut" + }, + "411": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.signOut" + }, + "412": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "413": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "414": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "420": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.onAuthStateChange" + }, + "421": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.onAuthStateChange" + }, + "422": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "callback" + }, + "423": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "424": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "425": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "event" + }, + "426": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "session" + }, + "427": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "428": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "429": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "430": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.subscription" + }, + "431": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.onAuthStateChange" + }, + "432": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "callback" + }, + "433": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "434": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "435": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "event" + }, + "436": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "session" + }, + "437": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "438": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "439": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "440": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.subscription" + }, + "444": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.resetPasswordForEmail" + }, + "445": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.resetPasswordForEmail" + }, + "446": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "email" + }, + "447": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "448": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "449": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.redirectTo" + }, + "450": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.captchaToken" + }, + "451": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "452": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "453": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "454": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "455": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "456": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "457": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "458": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getUserIdentities" + }, + "459": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getUserIdentities" + }, + "460": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "461": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "462": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "463": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.identities" + }, + "464": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "465": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "466": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "467": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "468": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.linkIdentity" + }, + "469": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.linkIdentity" + }, + "470": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "471": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.linkIdentity" + }, + "472": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "credentials" + }, + "479": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.unlinkIdentity" + }, + "480": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.unlinkIdentity" + }, + "481": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "identity" + }, + "482": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "483": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "484": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "485": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "486": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "487": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "488": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "534": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.startAutoRefresh" + }, + "535": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.startAutoRefresh" + }, + "536": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.stopAutoRefresh" + }, + "537": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.stopAutoRefresh" + }, + "648": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getClaims" + }, + "649": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "default.getClaims" + }, + "650": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "jwt" + }, + "651": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "options" + }, + "652": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "653": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.keys" + }, + "654": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.allowExpired" + }, + "655": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.jwks" + }, + "656": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "657": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.keys" + }, + "658": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "659": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "660": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "661": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.claims" + }, + "662": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.header" + }, + "663": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.signature" + }, + "664": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "665": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "666": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "667": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "668": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type" + }, + "669": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.data" + }, + "670": { + "sourceFileName": "src/GoTrueClient.ts", + "qualifiedName": "__type.error" + }, + "671": { + "sourceFileName": "src/AuthAdminApi.ts", + "qualifiedName": "AuthAdminApi" + }, + "672": { + "sourceFileName": "src/AuthClient.ts", + "qualifiedName": "AuthClient" + }, + "673": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "navigatorLock" + }, + "674": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "navigatorLock" + }, + "675": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "R" + }, + "676": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "name" + }, + "677": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "acquireTimeout" + }, + "678": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "fn" + }, + "679": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "__type" + }, + "680": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "__type" + }, + "681": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "NavigatorLockAcquireTimeoutError" + }, + "682": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "LockAcquireTimeoutError.__constructor" + }, + "683": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "NavigatorLockAcquireTimeoutError" + }, + "684": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "message" + }, + "685": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "LockAcquireTimeoutError.isAcquireTimeout" + }, + "686": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "internals" + }, + "687": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "__object" + }, + "688": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "__object.debug" + }, + "689": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "processLock" + }, + "690": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "processLock" + }, + "691": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "R" + }, + "692": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "name" + }, + "693": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "acquireTimeout" + }, + "694": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "fn" + }, + "695": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "__type" + }, + "696": { + "sourceFileName": "src/lib/locks.ts", + "qualifiedName": "__type" + }, + "697": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Provider" + }, + "698": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthChangeEventMFA" + }, + "699": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthChangeEvent" + }, + "700": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "LockFunc" + }, + "701": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "702": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "703": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "name" + }, + "704": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "acquireTimeout" + }, + "705": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "fn" + }, + "706": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "707": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "708": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "R" + }, + "709": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueClientOptions" + }, + "710": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "711": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "712": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.headers" + }, + "713": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "714": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "716": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storageKey" + }, + "717": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.detectSessionInUrl" + }, + "718": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.autoRefreshToken" + }, + "719": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.persistSession" + }, + "720": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.storage" + }, + "721": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.userStorage" + }, + "722": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.fetch" + }, + "723": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.flowType" + }, + "724": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.debug" + }, + "725": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "726": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "727": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "message" + }, + "728": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "args" + }, + "729": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.lock" + }, + "730": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.hasCustomAuthorizationHeader" + }, + "731": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.throwOnError" + }, + "732": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "WeakPasswordReasons" + }, + "733": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "WeakPassword" + }, + "734": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "735": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.reasons" + }, + "736": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.message" + }, + "737": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Prettify" + }, + "738": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "739": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "StrictOmit" + }, + "740": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "741": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "K" + }, + "742": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "RequestResult" + }, + "743": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "744": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "745": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "746": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "747": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "748": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "749": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "750": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "ErrorType" + }, + "751": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "RequestResultSafeDestructure" + }, + "752": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "753": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "754": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "755": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "756": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "757": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "758": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "759": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthResponse" + }, + "760": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "761": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "762": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "763": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthResponsePassword" + }, + "764": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "765": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "766": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "767": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.weak_password" + }, + "768": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthOtpResponse" + }, + "769": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "770": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "771": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "772": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.messageId" + }, + "773": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthTokenResponse" + }, + "774": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "775": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "776": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "777": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthTokenResponsePassword" + }, + "778": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "779": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "780": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session" + }, + "781": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.weakPassword" + }, + "782": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "OAuthResponse" + }, + "783": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "784": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "785": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "786": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.provider" + }, + "787": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "788": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "789": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "790": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "791": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "792": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.provider" + }, + "793": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "794": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "795": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SSOResponse" + }, + "796": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "797": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "798": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserResponse" + }, + "799": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "800": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "801": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session" + }, + "802": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.provider_token" + }, + "803": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.provider_refresh_token" + }, + "804": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.access_token" + }, + "805": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.refresh_token" + }, + "806": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.expires_in" + }, + "807": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.expires_at" + }, + "808": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.token_type" + }, + "809": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Session.user" + }, + "810": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AMRMethod" + }, + "811": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "812": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AMREntry" + }, + "813": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AMREntry.method" + }, + "814": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AMREntry.timestamp" + }, + "815": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity" + }, + "816": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.id" + }, + "817": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.user_id" + }, + "818": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.identity_data" + }, + "819": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "820": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "822": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.identity_id" + }, + "823": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.provider" + }, + "824": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.created_at" + }, + "825": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.last_sign_in_at" + }, + "826": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserIdentity.updated_at" + }, + "827": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "FactorType" + }, + "828": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Factor" + }, + "829": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "830": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "831": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.friendly_name" + }, + "832": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.factor_type" + }, + "833": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.status" + }, + "834": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.created_at" + }, + "835": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.updated_at" + }, + "836": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Type" + }, + "837": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Status" + }, + "838": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAppMetadata" + }, + "839": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAppMetadata.provider" + }, + "840": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAppMetadata.providers" + }, + "841": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAppMetadata.__index" + }, + "843": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserMetadata" + }, + "844": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserMetadata.__index" + }, + "846": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User" + }, + "847": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.id" + }, + "848": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.app_metadata" + }, + "849": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.user_metadata" + }, + "850": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.aud" + }, + "851": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.confirmation_sent_at" + }, + "852": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.recovery_sent_at" + }, + "853": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.email_change_sent_at" + }, + "854": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.new_email" + }, + "855": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.new_phone" + }, + "856": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.invited_at" + }, + "857": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.action_link" + }, + "858": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.email" + }, + "859": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.phone" + }, + "860": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.created_at" + }, + "861": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.confirmed_at" + }, + "862": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.email_confirmed_at" + }, + "863": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.phone_confirmed_at" + }, + "864": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.last_sign_in_at" + }, + "865": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.role" + }, + "866": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.updated_at" + }, + "867": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.identities" + }, + "868": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.is_anonymous" + }, + "869": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.is_sso_user" + }, + "870": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.factors" + }, + "871": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "User.deleted_at" + }, + "872": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAttributes" + }, + "873": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAttributes.email" + }, + "874": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAttributes.phone" + }, + "875": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAttributes.password" + }, + "876": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAttributes.nonce" + }, + "877": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UserAttributes.data" + }, + "878": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes" + }, + "879": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.user_metadata" + }, + "880": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.app_metadata" + }, + "881": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.email_confirm" + }, + "882": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.phone_confirm" + }, + "883": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.ban_duration" + }, + "884": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.role" + }, + "885": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.password_hash" + }, + "886": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AdminUserAttributes.id" + }, + "887": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "nonce" + }, + "888": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "phone" + }, + "889": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "email" + }, + "890": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "password" + }, + "891": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Subscription" + }, + "892": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Subscription.id" + }, + "893": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Subscription.callback" + }, + "894": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "895": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "896": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "event" + }, + "897": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "session" + }, + "898": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Subscription.unsubscribe" + }, + "899": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "900": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "901": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignInAnonymouslyCredentials" + }, + "902": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "903": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "904": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "905": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "906": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "907": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignUpWithPasswordCredentials" + }, + "908": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "909": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "910": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "911": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "912": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "913": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "914": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.channel" + }, + "915": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignInWithPasswordCredentials" + }, + "916": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "917": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "918": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "919": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "920": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignInWithPasswordlessCredentials" + }, + "921": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "922": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "923": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "924": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "925": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "926": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.shouldCreateUser" + }, + "927": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "928": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "929": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "930": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.phone" + }, + "931": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "932": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "933": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.shouldCreateUser" + }, + "934": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "935": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "936": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.channel" + }, + "937": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthFlowType" + }, + "938": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignInWithOAuthCredentials" + }, + "939": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "940": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.provider" + }, + "941": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "942": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "943": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "944": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.scopes" + }, + "945": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.queryParams" + }, + "946": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "947": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "949": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.skipBrowserRedirect" + }, + "950": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignInWithIdTokenCredentials" + }, + "951": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "952": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.provider" + }, + "953": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "954": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.token" + }, + "955": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.access_token" + }, + "956": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.nonce" + }, + "957": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "958": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "959": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "960": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SolanaWallet" + }, + "961": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "962": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.signIn" + }, + "963": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "964": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "965": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "inputs" + }, + "966": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.publicKey" + }, + "967": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "968": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.toBase58" + }, + "969": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "970": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "971": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.signMessage" + }, + "972": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "973": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "974": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "message" + }, + "975": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "encoding" + }, + "976": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SolanaWeb3Credentials" + }, + "977": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "978": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.chain" + }, + "979": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.wallet" + }, + "980": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.statement" + }, + "981": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "982": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "983": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "984": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "985": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.signInWithSolana" + }, + "986": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "987": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.chain" + }, + "988": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.message" + }, + "989": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.signature" + }, + "990": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "991": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "992": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "993": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "EthereumWallet" + }, + "994": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "EthereumWeb3Credentials" + }, + "995": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "996": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.chain" + }, + "997": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.wallet" + }, + "998": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.statement" + }, + "999": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1000": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1001": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.url" + }, + "1002": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1003": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.signInWithEthereum" + }, + "1004": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1005": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.chain" + }, + "1006": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.message" + }, + "1007": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.signature" + }, + "1008": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1009": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1010": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1011": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Web3Credentials" + }, + "1012": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyOtpParams" + }, + "1013": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams" + }, + "1014": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams.phone" + }, + "1015": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams.token" + }, + "1016": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams.type" + }, + "1017": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyMobileOtpParams.options" + }, + "1018": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1019": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "1020": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1021": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams" + }, + "1022": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams.email" + }, + "1023": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams.token" + }, + "1024": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams.type" + }, + "1025": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyEmailOtpParams.options" + }, + "1026": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1027": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "1028": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1029": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyTokenHashParams" + }, + "1030": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyTokenHashParams.token_hash" + }, + "1031": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "VerifyTokenHashParams.type" + }, + "1032": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MobileOtpType" + }, + "1033": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "EmailOtpType" + }, + "1034": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "ResendParams" + }, + "1035": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1036": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1037": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1038": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1039": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1040": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.emailRedirectTo" + }, + "1041": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1042": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1043": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1044": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.phone" + }, + "1045": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1046": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1047": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1048": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignInWithSSO" + }, + "1049": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1050": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.providerId" + }, + "1051": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1052": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1053": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "1054": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1055": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.skipBrowserRedirect" + }, + "1056": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1057": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.domain" + }, + "1058": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1059": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1060": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirectTo" + }, + "1061": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.captchaToken" + }, + "1062": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.skipBrowserRedirect" + }, + "1063": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateSignupLinkParams" + }, + "1064": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1065": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1066": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1067": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.password" + }, + "1068": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1069": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateInviteOrMagiclinkParams" + }, + "1070": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1071": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1072": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1073": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1074": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateRecoveryLinkParams" + }, + "1075": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1076": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1077": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1078": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1079": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateEmailChangeLinkParams" + }, + "1080": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1081": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1082": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1083": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.newEmail" + }, + "1084": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.options" + }, + "1085": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkOptions" + }, + "1086": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkOptions.data" + }, + "1087": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkOptions.redirectTo" + }, + "1088": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkParams" + }, + "1089": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkResponse" + }, + "1090": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1091": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.properties" + }, + "1092": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "1093": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkProperties" + }, + "1094": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1095": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.action_link" + }, + "1096": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email_otp" + }, + "1097": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.hashed_token" + }, + "1098": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirect_to" + }, + "1099": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.verification_type" + }, + "1100": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GenerateLinkType" + }, + "1101": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollParams" + }, + "1102": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAUnenrollParams" + }, + "1103": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1104": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.factorId" + }, + "1105": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyTOTPParams" + }, + "1106": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyPhoneParams" + }, + "1107": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnParamFields" + }, + "1108": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1109": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.webauthn" + }, + "1110": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "1111": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyWebauthnParams" + }, + "1112": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "1113": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAVerifyParams" + }, + "1114": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFATOTPChannel" + }, + "1115": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeTOTPParams" + }, + "1116": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengePhoneParams" + }, + "1117": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeWebauthnParams" + }, + "1118": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeParams" + }, + "1119": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAChallengeAndVerifyParams" + }, + "1120": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAVerifyResponseData" + }, + "1121": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1122": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.access_token" + }, + "1123": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.token_type" + }, + "1124": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.expires_in" + }, + "1125": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.refresh_token" + }, + "1126": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "1127": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAVerifyResponse" + }, + "1128": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollResponse" + }, + "1129": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAUnenrollResponse" + }, + "1130": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1131": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "1132": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeTOTPResponse" + }, + "1133": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengePhoneResponse" + }, + "1134": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeWebauthnResponse" + }, + "1135": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeWebauthnResponseDataJSON" + }, + "1136": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeWebauthnServerResponse" + }, + "1137": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAChallengeResponse" + }, + "1138": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAListFactorsResponse" + }, + "1139": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1140": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.all" + }, + "1141": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "T" + }, + "1142": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthenticatorAssuranceLevels" + }, + "1143": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAGetAuthenticatorAssuranceLevelResponse" + }, + "1144": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1145": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.currentLevel" + }, + "1146": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.nextLevel" + }, + "1147": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.currentAuthenticationMethods" + }, + "1148": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi" + }, + "1149": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1150": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1151": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1152": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1153": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorType" + }, + "1154": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "friendlyName" + }, + "1155": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "issuer" + }, + "1156": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1157": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1158": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1159": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorType" + }, + "1160": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "friendlyName" + }, + "1161": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "phone" + }, + "1162": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1163": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1164": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1165": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorType" + }, + "1166": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "friendlyName" + }, + "1167": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.enroll" + }, + "1168": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1169": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1170": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1171": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1172": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1173": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1174": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1175": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "data" + }, + "1176": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "error" + }, + "1177": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1178": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "data" + }, + "1179": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1180": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "id" + }, + "1181": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "type" + }, + "1182": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "expires_at" + }, + "1183": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "error" + }, + "1184": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1185": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1186": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1187": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1188": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "channel" + }, + "1189": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1190": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "data" + }, + "1191": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "error" + }, + "1192": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1193": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "data" + }, + "1194": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1195": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "id" + }, + "1196": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "type" + }, + "1197": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "expires_at" + }, + "1198": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "error" + }, + "1199": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1200": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1201": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1202": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1203": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "webauthn" + }, + "1204": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1205": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.rpId" + }, + "1206": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.rpOrigins" + }, + "1207": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1208": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "data" + }, + "1209": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "error" + }, + "1210": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1211": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "data" + }, + "1212": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1213": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "id" + }, + "1214": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "type" + }, + "1215": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "expires_at" + }, + "1216": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "webauthn" + }, + "1217": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1218": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1219": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.credential_options" + }, + "1220": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1221": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.publicKey" + }, + "1222": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1223": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.type" + }, + "1224": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.credential_options" + }, + "1225": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1226": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.publicKey" + }, + "1227": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "error" + }, + "1228": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challenge" + }, + "1229": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1230": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1231": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1232": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1233": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1234": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1235": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "challengeId" + }, + "1236": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "code" + }, + "1237": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1238": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1239": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1240": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1241": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "challengeId" + }, + "1242": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "code" + }, + "1243": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1244": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1245": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1246": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1247": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "challengeId" + }, + "1248": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "webauthn" + }, + "1249": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.verify" + }, + "1250": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1251": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.unenroll" + }, + "1252": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.unenroll" + }, + "1253": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1254": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challengeAndVerify" + }, + "1255": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.challengeAndVerify" + }, + "1256": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1257": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1258": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "factorId" + }, + "1259": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "code" + }, + "1260": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.listFactors" + }, + "1261": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.listFactors" + }, + "1262": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.getAuthenticatorAssuranceLevel" + }, + "1263": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.getAuthenticatorAssuranceLevel" + }, + "1264": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueMFAApi.webauthn" + }, + "1265": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAAdminDeleteFactorResponse" + }, + "1266": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1267": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "1268": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAAdminDeleteFactorParams" + }, + "1269": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1270": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "1271": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.userId" + }, + "1272": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAAdminListFactorsResponse" + }, + "1273": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1274": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.factors" + }, + "1275": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAAdminListFactorsParams" + }, + "1276": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1277": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.userId" + }, + "1278": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi" + }, + "1279": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi.listFactors" + }, + "1280": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi.listFactors" + }, + "1281": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1282": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi.deleteFactor" + }, + "1283": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminMFAApi.deleteFactor" + }, + "1284": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1285": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SupportedStorage" + }, + "1286": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1287": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.isServer" + }, + "1288": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "InitializeResult" + }, + "1289": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1290": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "1291": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "CallRefreshTokenResult" + }, + "1292": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "Pagination" + }, + "1293": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1294": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.nextPage" + }, + "1295": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.lastPage" + }, + "1296": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.total" + }, + "1297": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.__index" + }, + "1299": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "PageParams" + }, + "1300": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1301": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.page" + }, + "1302": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.perPage" + }, + "1303": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignOut" + }, + "1304": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1305": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.scope" + }, + "1306": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollTOTPParams" + }, + "1307": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollPhoneParams" + }, + "1308": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "MFAEnrollWebauthnParams" + }, + "1309": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollTOTPResponse" + }, + "1310": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollPhoneResponse" + }, + "1311": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthMFAEnrollWebauthnResponse" + }, + "1312": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtHeader" + }, + "1313": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1314": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.alg" + }, + "1315": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.kid" + }, + "1316": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.typ" + }, + "1317": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "RequiredClaims" + }, + "1318": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1319": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.iss" + }, + "1320": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.sub" + }, + "1321": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.aud" + }, + "1322": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.exp" + }, + "1323": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.iat" + }, + "1324": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.role" + }, + "1325": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.aal" + }, + "1326": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session_id" + }, + "1327": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtPayload" + }, + "1328": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtPayload.email" + }, + "1329": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtPayload.phone" + }, + "1330": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtPayload.is_anonymous" + }, + "1331": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtPayload.jti" + }, + "1332": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtPayload.nbf" + }, + "1333": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtPayload.app_metadata" + }, + "1334": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtPayload.user_metadata" + }, + "1335": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtPayload.amr" + }, + "1336": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtPayload.ref" + }, + "1337": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.iss" + }, + "1338": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.sub" + }, + "1339": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.aud" + }, + "1340": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.exp" + }, + "1341": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.iat" + }, + "1342": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.role" + }, + "1343": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.aal" + }, + "1344": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.session_id" + }, + "1345": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JwtPayload.__index" + }, + "1347": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JWK" + }, + "1348": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JWK.kty" + }, + "1349": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JWK.key_ops" + }, + "1350": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JWK.alg" + }, + "1351": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JWK.kid" + }, + "1352": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "JWK.__index" + }, + "1354": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SIGN_OUT_SCOPES" + }, + "1355": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "SignOutScope" + }, + "1356": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "OAuthClientGrantType" + }, + "1357": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "OAuthClientResponseType" + }, + "1358": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "OAuthClientType" + }, + "1359": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "OAuthClientRegistrationType" + }, + "1360": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "OAuthClient" + }, + "1361": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1362": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client_id" + }, + "1363": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client_name" + }, + "1364": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client_secret" + }, + "1365": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client_type" + }, + "1366": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.token_endpoint_auth_method" + }, + "1367": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.registration_type" + }, + "1368": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client_uri" + }, + "1369": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.logo_uri" + }, + "1370": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirect_uris" + }, + "1371": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.grant_types" + }, + "1372": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.response_types" + }, + "1373": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.scope" + }, + "1374": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.created_at" + }, + "1375": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.updated_at" + }, + "1376": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "CreateOAuthClientParams" + }, + "1377": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1378": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client_name" + }, + "1379": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client_uri" + }, + "1380": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirect_uris" + }, + "1381": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.grant_types" + }, + "1382": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.response_types" + }, + "1383": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.scope" + }, + "1384": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "UpdateOAuthClientParams" + }, + "1385": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1386": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client_name" + }, + "1387": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client_uri" + }, + "1388": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.logo_uri" + }, + "1389": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirect_uris" + }, + "1390": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.grant_types" + }, + "1391": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "OAuthClientResponse" + }, + "1392": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "OAuthClientListResponse" + }, + "1393": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1394": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "1395": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1396": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.clients" + }, + "1397": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.aud" + }, + "1398": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "1399": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1400": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "1401": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1402": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.clients" + }, + "1403": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "1404": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi" + }, + "1405": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.listClients" + }, + "1406": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.listClients" + }, + "1407": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1408": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.createClient" + }, + "1409": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.createClient" + }, + "1410": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1411": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.getClient" + }, + "1412": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.getClient" + }, + "1413": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "clientId" + }, + "1414": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.updateClient" + }, + "1415": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.updateClient" + }, + "1416": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "clientId" + }, + "1417": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "params" + }, + "1418": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.deleteClient" + }, + "1419": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.deleteClient" + }, + "1420": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "clientId" + }, + "1421": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1422": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.data" + }, + "1423": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.error" + }, + "1424": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.regenerateClientSecret" + }, + "1425": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "GoTrueAdminOAuthApi.regenerateClientSecret" + }, + "1426": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "clientId" + }, + "1427": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "OAuthAuthorizationClient" + }, + "1428": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1429": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client_id" + }, + "1430": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client_name" + }, + "1431": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client_uri" + }, + "1432": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.logo_uri" + }, + "1433": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "OAuthAuthorizationDetails" + }, + "1434": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1435": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.authorization_id" + }, + "1436": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirect_uri" + }, + "1437": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.client" + }, + "1438": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.user" + }, + "1439": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1440": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.id" + }, + "1441": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.email" + }, + "1442": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.scope" + }, + "1443": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthOAuthAuthorizationDetailsResponse" + }, + "1444": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthOAuthConsentResponse" + }, + "1445": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1446": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.redirect_url" + }, + "1447": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi" + }, + "1448": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi.getAuthorizationDetails" + }, + "1449": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi.getAuthorizationDetails" + }, + "1450": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "authorizationId" + }, + "1451": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi.approveAuthorization" + }, + "1452": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi.approveAuthorization" + }, + "1453": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "authorizationId" + }, + "1454": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "options" + }, + "1455": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1456": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.skipBrowserRedirect" + }, + "1457": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi.denyAuthorization" + }, + "1458": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "AuthOAuthServerApi.denyAuthorization" + }, + "1459": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "authorizationId" + }, + "1460": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "options" + }, + "1461": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type" + }, + "1462": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "__type.skipBrowserRedirect" + }, + "1463": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthError" + }, + "1464": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthError" + }, + "1465": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "error" + }, + "1466": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthApiError" + }, + "1467": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthApiError" + }, + "1468": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "error" + }, + "1469": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthSessionMissingError" + }, + "1470": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthSessionMissingError" + }, + "1471": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "error" + }, + "1472": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthImplicitGrantRedirectError" + }, + "1473": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthImplicitGrantRedirectError" + }, + "1474": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "error" + }, + "1475": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthRetryableFetchError" + }, + "1476": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthRetryableFetchError" + }, + "1477": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "error" + }, + "1478": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthWeakPasswordError" + }, + "1479": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "isAuthWeakPasswordError" + }, + "1480": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "error" + }, + "1481": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError" + }, + "1482": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.__constructor" + }, + "1483": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError" + }, + "1484": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1485": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "status" + }, + "1486": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "code" + }, + "1487": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1488": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1489": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.status" + }, + "1491": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthApiError" + }, + "1492": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthApiError.__constructor" + }, + "1493": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthApiError" + }, + "1494": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1495": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "status" + }, + "1496": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "code" + }, + "1497": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthApiError.status" + }, + "1498": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1499": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1501": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthUnknownError" + }, + "1502": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthUnknownError.__constructor" + }, + "1503": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthUnknownError" + }, + "1504": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1505": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "originalError" + }, + "1506": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthUnknownError.originalError" + }, + "1507": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1508": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1509": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.status" + }, + "1511": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError" + }, + "1512": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.__constructor" + }, + "1513": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError" + }, + "1514": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1515": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "name" + }, + "1516": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "status" + }, + "1517": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "code" + }, + "1518": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1519": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1520": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1521": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1523": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthSessionMissingError" + }, + "1524": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthSessionMissingError.__constructor" + }, + "1525": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthSessionMissingError" + }, + "1526": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1527": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1528": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1529": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1531": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidTokenResponseError" + }, + "1532": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidTokenResponseError.__constructor" + }, + "1533": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidTokenResponseError" + }, + "1534": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1535": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1536": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1537": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1539": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidCredentialsError" + }, + "1540": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidCredentialsError.__constructor" + }, + "1541": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidCredentialsError" + }, + "1542": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1543": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1544": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1545": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1546": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1548": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError" + }, + "1549": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError.__constructor" + }, + "1550": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError" + }, + "1551": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1552": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "details" + }, + "1553": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1554": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1555": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1556": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError.details" + }, + "1557": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1558": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1559": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1560": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError.toJSON" + }, + "1561": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthImplicitGrantRedirectError.toJSON" + }, + "1562": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object" + }, + "1563": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.name" + }, + "1564": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.message" + }, + "1565": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.status" + }, + "1566": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.details" + }, + "1567": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1568": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1569": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1570": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1571": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1572": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1573": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1575": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError" + }, + "1576": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError.__constructor" + }, + "1577": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError" + }, + "1578": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1579": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "details" + }, + "1580": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1581": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1582": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1583": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError.details" + }, + "1584": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1585": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1586": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1587": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError.toJSON" + }, + "1588": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthPKCEGrantCodeExchangeError.toJSON" + }, + "1589": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object" + }, + "1590": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.name" + }, + "1591": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.message" + }, + "1592": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.status" + }, + "1593": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__object.details" + }, + "1594": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type" + }, + "1595": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.error" + }, + "1596": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "__type.code" + }, + "1597": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1598": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1599": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1600": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1602": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthRetryableFetchError" + }, + "1603": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthRetryableFetchError.__constructor" + }, + "1604": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthRetryableFetchError" + }, + "1605": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1606": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "status" + }, + "1607": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1608": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1609": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1610": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1612": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthWeakPasswordError" + }, + "1613": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthWeakPasswordError.__constructor" + }, + "1614": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthWeakPasswordError" + }, + "1615": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1616": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "status" + }, + "1617": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "reasons" + }, + "1618": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthWeakPasswordError.reasons" + }, + "1619": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1620": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1621": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1622": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "1624": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidJwtError" + }, + "1625": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidJwtError.__constructor" + }, + "1626": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthInvalidJwtError" + }, + "1627": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "message" + }, + "1628": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.name" + }, + "1629": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "CustomAuthError.status" + }, + "1630": { + "sourceFileName": "src/lib/errors.ts", + "qualifiedName": "AuthError.code" + }, + "1631": { + "sourceFileName": "", + "qualifiedName": "__type" + } + }, + "files": { + "entries": { + "1": "src/index.ts", + "2": "../../../CONTRIBUTING.md" + }, + "reflections": { + "1": 0 + } + } + }, + { + "id": 0, + "name": "@supabase/postgrest-js", + "variant": "project", + "kind": 1, + "flags": {}, + "children": [ + { + "id": 705, + "name": "PostgrestBuilder", + "variant": "declaration", + "kind": 128, + "flags": { + "isAbstract": true + }, + "children": [ + { + "id": 706, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 31, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L31" + } + ], + "signatures": [ + { + "id": 707, + "name": "PostgrestBuilder", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 31, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L31" + } + ], + "typeParameters": [ + { + "id": 708, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 808, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 709, + "name": "Result", + "variant": "typeParam", + "kind": 131072, + "flags": {} + }, + { + "id": 710, + "name": "ThrowOnError", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "default": { + "type": "literal", + "value": false + } + } + ], + "parameters": [ + { + "id": 711, + "name": "builder", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 712, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 717, + "name": "body", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 36, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L36" + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 720, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 39, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L39" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 721, + "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": 722, + "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": 723, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" + } + ] + } + }, + { + "id": 724, + "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": 725, + "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": 726, + "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": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + } + ] + } + }, + { + "id": 727, + "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": 715, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 34, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L34" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HeadersInit" + }, + "name": "HeadersInit", + "package": "typescript" + } + }, + { + "id": 728, + "name": "isMaybeSingle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 40, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L40" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 713, + "name": "method", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 32, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L32" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 716, + "name": "schema", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 35, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L35" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 718, + "name": "shouldThrowOnError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 37, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L37" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 719, + "name": "signal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 38, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L38" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, + "name": "AbortSignal", + "package": "typescript" + } + }, + { + "id": 714, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 33, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L33" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [717, 720, 715, 728, 713, 716, 718, 719, 714] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 31, + "character": 23, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L31" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 705, + "typeArguments": [ + { + "type": "reference", + "target": 708, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 710, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true + } + ], + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 733, + "name": "body", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 25, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L25" + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 736, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 28, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L28" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 737, + "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": 738, + "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": 739, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" + } + ] + } + }, + { + "id": 740, + "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": 741, + "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": 742, + "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": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + } + ] + } + }, + { + "id": 743, + "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": 731, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 23, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L23" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Headers" + }, + "name": "Headers", + "package": "typescript" + } + }, + { + "id": 744, + "name": "isMaybeSingle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 29, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L29" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 729, + "name": "method", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 21, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L21" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 732, + "name": "schema", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 24, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L24" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 734, + "name": "shouldThrowOnError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 26, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L26" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 735, + "name": "signal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 27, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L27" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, + "name": "AbortSignal", + "package": "typescript" + } + }, + { + "id": 730, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 22, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L22" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + }, + { + "id": 766, + "name": "overrideTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 270, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L270" + } + ], + "signatures": [ + { + "id": 767, + "name": "overrideTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Override the type of the returned " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field in the response." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A PostgrestBuilder instance with the new type" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 270, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L270" + } + ], + "typeParameters": [ + { + "id": 768, + "name": "NewResult", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new type to cast the response data to" + } + ] + } + }, + { + "id": 769, + "name": "Options", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional type configuration (defaults to { merge: true })" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 770, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 771, + "name": "merge", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 272, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L272" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [771] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 272, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L272" + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 772, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 773, + "name": "merge", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 272, + "character": 44, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L272" + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [773] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 272, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L272" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 705, + "typeArguments": [ + { + "type": "reference", + "target": 708, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "IsValidResultOverride" + }, + "typeArguments": [ + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 533, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/types.ts", + "qualifiedName": "ContainsNull" + }, + "typeArguments": [ + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "ContainsNull", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "MergePartialResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": 533, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "NonNullable" + }, + "typeArguments": [ + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "NonNullable", + "package": "typescript" + }, + { + "type": "reference", + "target": 534, + "name": "Options", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "MergePartialResult", + "package": "@supabase/postgrest-js" + } + ] + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "MergePartialResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": 533, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 534, + "name": "Options", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "MergePartialResult", + "package": "@supabase/postgrest-js" + } + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "CheckMatchingArrayTypes" + }, + "typeArguments": [ + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 533, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "CheckMatchingArrayTypes", + "package": "@supabase/postgrest-js" + } + }, + { + "type": "reference", + "target": 710, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true + } + ], + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 763, + "name": "returns", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 235, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L235" + } + ], + "signatures": [ + { + "id": 764, + "name": "returns", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Override the type of the returned " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use overrideTypes() method at the end of your call chain instead" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 235, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L235" + } + ], + "typeParameters": [ + { + "id": 765, + "name": "NewResult", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new result type to override with" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": 705, + "typeArguments": [ + { + "type": "reference", + "target": 708, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "CheckMatchingArrayTypes" + }, + "typeArguments": [ + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 765, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "CheckMatchingArrayTypes", + "package": "@supabase/postgrest-js" + }, + { + "type": "reference", + "target": 710, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true + } + ], + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 747, + "name": "setHeader", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 72, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L72" + } + ], + "signatures": [ + { + "id": 748, + "name": "setHeader", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set an HTTP header for the request." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 72, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L72" + } + ], + "parameters": [ + { + "id": 749, + "name": "name", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 750, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 751, + "name": "then", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 78, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L78" + } + ], + "signatures": [ + { + "id": 752, + "name": "then", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Attaches callbacks for the resolution and/or rejection of the Promise." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Promise for the completion of which ever callback is executed." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 78, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L78" + } + ], + "typeParameters": [ + { + "id": 753, + "name": "TResult1", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 710, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "target": 797, + "typeArguments": [ + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "PostgrestResponseSuccess", + "package": "@supabase/postgrest-js" + }, + "falseType": { + "type": "reference", + "target": 804, + "typeArguments": [ + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" + } + } + }, + { + "id": 754, + "name": "TResult2", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 755, + "name": "onfulfilled", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is resolved." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 756, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 85, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L85" + } + ], + "signatures": [ + { + "id": 757, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 85, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L85" + } + ], + "parameters": [ + { + "id": 758, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 710, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "target": 797, + "typeArguments": [ + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "PostgrestResponseSuccess", + "package": "@supabase/postgrest-js" + }, + "falseType": { + "type": "reference", + "target": 804, + "typeArguments": [ + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" + } + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 521, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 521, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 759, + "name": "onrejected", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is rejected." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 760, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 92, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L92" + } + ], + "signatures": [ + { + "id": 761, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 92, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L92" + } + ], + "parameters": [ + { + "id": 762, + "name": "reason", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 522, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 522, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 521, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 522, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ] + } + ], + "name": "PromiseLike", + "package": "typescript" + }, + "implementationOf": { + "type": "reference", + "target": -1, + "name": "PromiseLike.then" + } + } + ], + "implementationOf": { + "type": "reference", + "target": -1, + "name": "PromiseLike.then" + } + }, + { + "id": 745, + "name": "throwOnError", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 64, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L64" + } + ], + "signatures": [ + { + "id": 746, + "name": "throwOnError", + "variant": "signature", + "kind": 4096, + "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" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 64, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L64" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 705, + "typeArguments": [ + { + "type": "reference", + "target": 708, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 710, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true + } + ], + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + }, + { + "type": "reference", + "target": 705, + "typeArguments": [ + { + "type": "reference", + "target": 708, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": true + } + ], + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + ] + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [706] + }, + { + "title": "Properties", + "children": [733, 736, 731, 744, 729, 732, 734, 735, 730] + }, + { + "title": "Methods", + "children": [766, 763, 747, 751, 745] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 12, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L12" + } + ], + "typeParameters": [ + { + "id": 774, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 808, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 775, + "name": "Result", + "variant": "typeParam", + "kind": 131072, + "flags": {} + }, + { + "id": 776, + "name": "ThrowOnError", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "default": { + "type": "literal", + "value": false + } + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 546, + "name": "PostgrestTransformBuilder" + } + ], + "implementedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 710, + "name": "ThrowOnError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ThrowOnError", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "target": 797, + "typeArguments": [ + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "PostgrestResponseSuccess", + "package": "@supabase/postgrest-js" + }, + "falseType": { + "type": "reference", + "target": 804, + "typeArguments": [ + { + "type": "reference", + "target": 709, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" + } + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + }, + { + "id": 9, + "name": "PostgrestClient", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "PostgREST client." + } + ] + }, + "children": [ + { + "id": 10, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 52, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L52" + } + ], + "signatures": [ + { + "id": 11, + "name": "PostgrestClient", + "variant": "signature", + "kind": 16384, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a PostgREST client." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 52, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L52" + } + ], + "typeParameters": [ + { + "id": 12, + "name": "Database", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 13, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 808, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 14, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 15, + "name": "__InternalSupabase", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 19, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "I" + }, + "name": "I", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [15] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 18, + "character": 63, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L18" + } + ] + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "I" + }, + "name": "I", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "reflection", + "declaration": { + "id": 16, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + } + }, + { + "id": 17, + "name": "SchemaName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "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": 12, + "name": "Database", + "package": "@supabase/postgrest-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": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Exclude", + "package": "typescript" + } + ] + } + } + }, + { + "id": 18, + "name": "Schema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 17, + "name": "SchemaName", + "package": "@supabase/postgrest-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": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 19, + "name": "url", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "URL of the PostgREST endpoint" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 20, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 24, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom fetch" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 61, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L61" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 25, + "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": 26, + "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": 27, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" + } + ] + } + }, + { + "id": 28, + "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": 29, + "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": 30, + "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": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + } + ] + } + }, + { + "id": 31, + "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": 22, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom headers" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 59, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L59" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HeadersInit" + }, + "name": "HeadersInit", + "package": "typescript" + }, + "defaultValue": "{}" + }, + { + "id": 23, + "name": "schema", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Postgres schema to switch to" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 60, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L60" + } + ], + "type": { + "type": "reference", + "target": 17, + "name": "SchemaName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [24, 22, 23] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 58, + "character": 7, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L58" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": 9, + "typeArguments": [ + { + "type": "reference", + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 13, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 17, + "name": "SchemaName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 18, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + } + ], + "name": "PostgrestClient", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 35, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 40, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L40" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 36, + "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": 37, + "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": 38, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" + } + ] + } + }, + { + "id": 39, + "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": 40, + "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": 41, + "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": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + } + ] + } + }, + { + "id": 42, + "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": 33, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 38, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L38" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Headers" + }, + "name": "Headers", + "package": "typescript" + } + }, + { + "id": 34, + "name": "schemaName", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 39, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L39" + } + ], + "type": { + "type": "reference", + "target": 17, + "name": "SchemaName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.SchemaName", + "refersToTypeParameter": true + } + }, + { + "id": 32, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 37, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L37" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 43, + "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/postgrest-js/src/PostgrestClient.ts", + "line": 69, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L69" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 73, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L73" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 81, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L81" + } + ], + "signatures": [ + { + "id": 44, + "name": "from", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 69, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L69" + } + ], + "typeParameters": [ + { + "id": 45, + "name": "TableName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 46, + "name": "Table", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericTable" + }, + "name": "GenericTable", + "package": "@supabase/postgrest-js" + } + } + ], + "parameters": [ + { + "id": 47, + "name": "relation", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 45, + "name": "TableName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": 75, + "typeArguments": [ + { + "type": "reference", + "target": 13, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 18, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 46, + "name": "Table", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 45, + "name": "TableName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + }, + { + "id": 48, + "name": "from", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 73, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L73" + } + ], + "typeParameters": [ + { + "id": 49, + "name": "ViewName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 50, + "name": "View", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericView" + }, + "name": "GenericView", + "package": "@supabase/postgrest-js" + } + } + ], + "parameters": [ + { + "id": 51, + "name": "relation", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 49, + "name": "ViewName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": 75, + "typeArguments": [ + { + "type": "reference", + "target": 13, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 18, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 50, + "name": "View", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 49, + "name": "ViewName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 56, + "name": "rpc", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 135, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L135" + } + ], + "signatures": [ + { + "id": 57, + "name": "rpc", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Perform a function call." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 135, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L135" + } + ], + "typeParameters": [ + { + "id": 58, + "name": "FnName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 59, + "name": "Args", + "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" + }, + "default": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 60, + "name": "FilterBuilder", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/rpc.ts", + "qualifiedName": "RpcFunctionNotFound" + }, + "typeArguments": [ + { + "type": "reference", + "target": 58, + "name": "FnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "RpcFunctionNotFound", + "package": "@supabase/postgrest-js" + }, + "default": { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/rpc.ts", + "qualifiedName": "GetRpcFunctionFilterBuilderByArgs" + }, + "typeArguments": [ + { + "type": "reference", + "target": 18, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 58, + "name": "FnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 59, + "name": "Args", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "GetRpcFunctionFilterBuilderByArgs", + "package": "@supabase/postgrest-js" + } + } + ], + "parameters": [ + { + "id": 61, + "name": "fn", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The function name to call" + } + ] + }, + "type": { + "type": "reference", + "target": 58, + "name": "FnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "id": 62, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The arguments to pass to the function call" + } + ] + }, + "type": { + "type": "reference", + "target": 59, + "name": "Args", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "defaultValue": "..." + }, + { + "id": 63, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 64, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 67, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n" + }, + { + "kind": "code", + "text": "`\"exact\"`" + }, + { + "kind": "text", + "text": ": Exact but slow count algorithm. Performs a " + }, + { + "kind": "code", + "text": "`COUNT(*)`" + }, + { + "kind": "text", + "text": " under the\nhood.\n\n" + }, + { + "kind": "code", + "text": "`\"planned\"`" + }, + { + "kind": "text", + "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" + }, + { + "kind": "code", + "text": "`\"estimated\"`" + }, + { + "kind": "text", + "text": ": Uses exact count for low numbers and planned count for high\nnumbers." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 153, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L153" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 66, + "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/postgrest-js/src/PostgrestClient.ts", + "line": 152, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L152" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 65, + "name": "head", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " will not be returned.\nUseful if you only need the count." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 151, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L151" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + } + ], + "groups": [ + { + "title": "Properties", + "children": [67, 66, 65] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 150, + "character": 7, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L150" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": 170, + "typeArguments": [ + { + "type": "reference", + "target": 13, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 18, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "target": 60, + "name": "FilterBuilder", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Result" + }, + "objectType": { + "type": "reference", + "target": 60, + "name": "FilterBuilder", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "RelationName" + }, + "objectType": { + "type": "reference", + "target": 60, + "name": "FilterBuilder", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Relationships" + }, + "objectType": { + "type": "reference", + "target": 60, + "name": "FilterBuilder", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "type": "literal", + "value": "RPC" + } + ], + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 52, + "name": "schema", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 97, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L97" + } + ], + "signatures": [ + { + "id": 53, + "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/postgrest-js/src/PostgrestClient.ts", + "line": 97, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L97" + } + ], + "typeParameters": [ + { + "id": 54, + "name": "DynamicSchema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 55, + "name": "schema", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The schema to query" + } + ] + }, + "type": { + "type": "reference", + "target": 54, + "name": "DynamicSchema", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": 9, + "typeArguments": [ + { + "type": "reference", + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 13, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 54, + "name": "DynamicSchema", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 54, + "name": "DynamicSchema", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-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": [10] + }, + { + "title": "Properties", + "children": [35, 33, 34, 32] + }, + { + "title": "Methods", + "children": [43, 56, 52] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 16, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L16" + } + ], + "typeParameters": [ + { + "id": 68, "name": "Database", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "comment": { "summary": [ @@ -19547,10 +102804,113 @@ } }, { - "id": 47, + "id": 69, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 808, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 70, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 71, + "name": "__InternalSupabase", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 19, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L19" + } + ], + "type": { + "type": "inferred", + "name": "I", + "constraint": { + "type": "reference", + "target": 808, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [71] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 18, + "character": 63, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L18" + } + ] + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "I" + }, + "name": "I", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "reflection", + "declaration": { + "id": 72, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestClient.ts", + "line": 22, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestClient.ts#L22" + } + ] + } + } + } + }, + { + "id": 73, "name": "SchemaName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "comment": { "summary": [ @@ -19580,8 +102940,26 @@ "operator": "keyof", "target": { "type": "reference", - "id": 4, - "name": "Database" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" } } ] @@ -19597,8 +102975,26 @@ "operator": "keyof", "target": { "type": "reference", - "id": 4, - "name": "Database" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" } }, "trueType": { @@ -19617,8 +103013,26 @@ "operator": "keyof", "target": { "type": "reference", - "id": 4, - "name": "Database" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" } } ] @@ -19626,14 +103040,19 @@ } }, { - "id": 48, + "id": 74, "name": "Schema", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericSchema" + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" }, "default": { "type": "conditional", @@ -19641,30 +103060,77 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 5, - "name": "SchemaName" + "target": 17, + "name": "SchemaName", + "package": "@supabase/postgrest-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": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" } }, "extendsType": { "type": "reference", - "name": "GenericSchema" + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" }, "trueType": { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 5, - "name": "SchemaName" + "target": 17, + "name": "SchemaName", + "package": "@supabase/postgrest-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": 12, + "name": "Database", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Database", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "__InternalSupabase" + } + ], + "name": "Omit", + "package": "typescript" } }, "falseType": { @@ -19676,53 +103142,352 @@ ] }, { - "id": 112, - "name": "PostgrestFilterBuilder", + "id": 777, + "name": "PostgrestError", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error format\n\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": 113, + "id": 778, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", + "line": 11, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L18" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestError.ts#L11" } ], "signatures": [ { - "id": 114, - "name": "new PostgrestFilterBuilder", + "id": 779, + "name": "PostgrestError", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, - "typeParameter": [ + "sources": [ { - "id": 115, - "name": "Schema", + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestError.ts#L11" + } + ], + "parameters": [ + { + "id": 780, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 781, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 785, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", + "line": 11, + "character": 73, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestError.ts#L11" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 783, + "name": "details", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", + "line": 11, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestError.ts#L11" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 784, + "name": "hint", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", + "line": 11, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestError.ts#L11" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 782, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", + "line": 11, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestError.ts#L11" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [785, 783, 784, 782] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", + "line": 11, + "character": 23, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestError.ts#L11" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 777, + "name": "PostgrestError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": -1, + "name": "Error.constructor" + } + }, + { + "id": 788, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", + "line": 9, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestError.ts#L9" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 786, + "name": "details", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", + "line": 7, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestError.ts#L7" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 787, + "name": "hint", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", + "line": 8, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestError.ts#L8" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [778] + }, + { + "title": "Properties", + "children": [788, 786, 787] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestError.ts", + "line": 6, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestError.ts#L6" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Error" + }, + "name": "Error", + "package": "typescript" + } + ] + }, + { + "id": 170, + "name": "PostgrestFilterBuilder", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 171, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 31, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L31" + } + ], + "signatures": [ + { + "id": 172, + "name": "PostgrestFilterBuilder", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 31, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L31" + } + ], + "typeParameters": [ + { + "id": 173, + "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericSchema" + "target": 808, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" } }, { - "id": 116, - "name": "Row", + "id": 174, + "name": "Schema", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 175, + "name": "Row", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -19734,115 +103499,606 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } }, { - "id": 117, + "id": 176, "name": "Result", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {} + }, + { + "id": 177, + "name": "RelationName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 178, + "name": "Relationships", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 179, + "name": "Method", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "parameters": [ { - "id": 118, + "id": 180, "name": "builder", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 498, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "reflection", + "declaration": { + "id": 181, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 186, + "name": "body", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 36, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L36" + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 189, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 39, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L39" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 190, + "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": 191, + "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": 192, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" + } + ] + } + }, + { + "id": 193, + "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": 194, + "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": 195, + "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": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + } + ] + } + }, + { + "id": 196, + "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": 184, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 34, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L34" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HeadersInit" + }, + "name": "HeadersInit", + "package": "typescript" + } + }, + { + "id": 197, + "name": "isMaybeSingle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 40, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L40" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 182, + "name": "method", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 32, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L32" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 185, + "name": "schema", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 35, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L35" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 187, + "name": "shouldThrowOnError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 37, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L37" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 188, + "name": "signal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 38, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L38" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, + "name": "AbortSignal", + "package": "typescript" + } + }, + { + "id": 183, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 33, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L33" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [186, 189, 184, 197, 182, 185, 187, 188, 183] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 31, + "character": 23, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L31" + } + ] + } } } ], "type": { "type": "reference", - "id": 112, + "target": 170, "typeArguments": [ { "type": "reference", - "id": 115, - "name": "Schema" + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 116, - "name": "Row" + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 117, - "name": "Result" + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 177, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 178, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 179, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 403, + "target": 548, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 402, + "target": 547, "name": "default.constructor" } }, { - "id": 383, - "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" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 480, - "name": "default.allowEmpty" - } - }, - { - "id": 375, + "id": 501, "name": "body", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, - "isOptional": true + "isOptional": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 12, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 25, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L12" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L25" } ], "type": { @@ -19851,101 +104107,233 @@ }, "inheritedFrom": { "type": "reference", - "id": 472, + "target": 660, "name": "default.body" } }, { - "id": 378, + "id": 504, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 28, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L15" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L28" } ], "type": { "type": "reflection", "declaration": { - "id": 379, + "id": 505, "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": 380, + "id": 506, "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": 381, + "id": 507, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", "package": "typescript" }, { "type": "reference", - "name": "URL", - "qualifiedName": "URL", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", "package": "typescript" } ] } }, { - "id": 382, + "id": 508, "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": 509, + "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": 510, + "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": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + } + ] + } + }, + { + "id": 511, + "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" } } @@ -19954,62 +104342,84 @@ }, "inheritedFrom": { "type": "reference", - "id": 475, + "target": 663, "name": "default.fetch" } }, { - "id": 373, + "id": 499, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 10, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 23, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L10" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L23" } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Headers" + }, + "name": "Headers", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 470, + "target": 658, "name": "default.headers" } }, { - "id": 371, - "name": "method", + "id": 512, + "name": "isMaybeSingle", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 8, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 29, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L8" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L29" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 671, + "name": "default.isMaybeSingle" + } + }, + { + "id": 497, + "name": "method", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 21, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L21" } ], "type": { @@ -20039,25 +104449,26 @@ }, "inheritedFrom": { "type": "reference", - "id": 468, + "target": 656, "name": "default.method" } }, { - "id": 374, + "id": 500, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, - "isOptional": true + "isOptional": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 11, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 24, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L11" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L24" } ], "type": { @@ -20066,24 +104477,25 @@ }, "inheritedFrom": { "type": "reference", - "id": 471, + "target": 659, "name": "default.schema" } }, { - "id": 376, + "id": 502, "name": "shouldThrowOnError", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 26, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L13" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L26" } ], "type": { @@ -20093,88 +104505,100 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 473, + "target": 661, "name": "default.shouldThrowOnError" } }, { - "id": 377, + "id": 503, "name": "signal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, - "isOptional": true + "isOptional": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 27, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L14" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L27" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 474, + "target": 662, "name": "default.signal" } }, { - "id": 372, + "id": 498, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 9, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 22, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L9" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L22" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 469, + "target": 657, "name": "default.url" } }, { - "id": 345, + "id": 466, "name": "abortSignal", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 130, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 200, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L130" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L200" } ], "signatures": [ { - "id": 346, + "id": 467, "name": "abortSignal", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -20183,12 +104607,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 200, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L200" + } + ], "parameters": [ { - "id": 347, + "id": 468, "name": "signal", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -20200,110 +104632,125 @@ }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 443, + "target": 626, "name": "default.abortSignal" } } ], "inheritedFrom": { "type": "reference", - "id": 442, + "target": 625, "name": "default.abortSignal" } }, { - "id": 207, + "id": 310, "name": "containedBy", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is contained by " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The jsonb, array, or range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The jsonb, array, or range value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 216, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 356, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L216" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L356" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 220, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 360, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L220" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L360" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 221, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 368, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L221" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L368" } ], "signatures": [ { - "id": 208, + "id": 311, "name": "containedBy", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is contained by " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 209, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 356, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L356" + } + ], + "typeParameters": [ + { + "id": 312, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -20313,39 +104760,25 @@ ], "parameters": [ { - "id": 210, + "id": 313, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The jsonb, array, or range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 209, - "name": "ColumnName" + "target": 312, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 211, + "id": 314, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The jsonb, array, or range value to filter with" - } - ] - }, "type": { "type": "union", "types": [ @@ -20355,6 +104788,10 @@ }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -20366,22 +104803,30 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" }, { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 209, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 116, - "name": "Row" + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 312, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + } } } } @@ -20390,40 +104835,30 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 212, + "id": 315, "name": "containedBy", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 360, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L360" + } + ], "parameters": [ { - "id": 213, + "id": 316, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -20431,10 +104866,10 @@ } }, { - "id": 214, + "id": 317, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", @@ -20443,15 +104878,12 @@ "type": "intrinsic", "name": "string" }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -20463,101 +104895,123 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" + }, + { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } } ] } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 199, + "id": 302, "name": "contains", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for jsonb, array, and range columns. Match only rows where\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " contains every element appearing in " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The jsonb, array, or range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The jsonb, array, or range value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 189, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 329, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L189" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L329" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 193, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 333, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L193" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L333" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 194, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 341, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L194" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L341" } ], "signatures": [ { - "id": 200, + "id": 303, "name": "contains", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for jsonb, array, and range columns. Match only rows where\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " contains every element appearing in " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 201, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 329, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L329" + } + ], + "typeParameters": [ + { + "id": 304, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -20567,39 +105021,25 @@ ], "parameters": [ { - "id": 202, + "id": 305, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The jsonb, array, or range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 201, - "name": "ColumnName" + "target": 304, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 203, + "id": 306, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The jsonb, array, or range value to filter with" - } - ] - }, "type": { "type": "union", "types": [ @@ -20609,6 +105049,10 @@ }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -20620,22 +105064,30 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" }, { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 201, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 116, - "name": "Row" + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 304, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + } } } } @@ -20644,40 +105096,30 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 204, + "id": 307, "name": "contains", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 333, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L333" + } + ], "parameters": [ { - "id": 205, + "id": 308, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -20685,10 +105127,10 @@ } }, { - "id": 206, + "id": 309, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", @@ -20697,15 +105139,12 @@ "type": "intrinsic", "name": "string" }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -20717,59 +105156,55 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" + }, + { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } } ] } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 352, + "id": 475, "name": "csv", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 161, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 242, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L161" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L242" } ], "signatures": [ { - "id": 353, + "id": 476, "name": "csv", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -20786,70 +105221,68 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 242, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L242" + } + ], "type": { "type": "reference", + "target": 705, "typeArguments": [ { "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "string" } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 450, + "target": 635, "name": "default.csv" } } ], "inheritedFrom": { "type": "reference", - "id": 449, + "target": 634, "name": "default.csv" } }, { - "id": 119, + "id": 198, "name": "eq", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 41, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 101, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L41" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 42, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L42" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 43, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L43" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L101" } ], "signatures": [ { - "id": 120, + "id": 199, "name": "eq", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -20891,12 +105324,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 121, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 101, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L101" + } + ], + "typeParameters": [ + { + "id": 200, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -20906,10 +105347,10 @@ ], "parameters": [ { - "id": 122, + "id": 201, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -20921,15 +105362,17 @@ }, "type": { "type": "reference", - "id": 121, - "name": "ColumnName" + "target": 200, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 123, + "id": 202, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -20940,119 +105383,162 @@ ] }, "type": { - "type": "indexedAccess", - "indexType": { + "type": "conditional", + "checkType": { "type": "reference", - "id": 121, - "name": "ColumnName" + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolveFilterValue" + }, + "typeArguments": [ + { + "type": "reference", + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 200, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ResolveFilterValue", + "package": "@supabase/postgrest-js" }, - "objectType": { - "type": "reference", - "id": 116, - "name": "Row" + "extendsType": { + "type": "intrinsic", + "name": "never" + }, + "trueType": { + "type": "reflection", + "declaration": { + "id": 203, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolveFilterValue" + }, + "typeArguments": [ + { + "type": "reference", + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 200, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ResolveFilterValue", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolvedFilterValue" + }, + "name": "ResolvedFilterValue", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "NonNullable" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolvedFilterValue" + }, + "name": "ResolvedFilterValue", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "NonNullable", + "package": "typescript" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } } } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 124, - "name": "eq", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 125, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 126, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 356, + "id": 479, "name": "explain", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 195, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 280, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L195" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L280" } ], "signatures": [ { - "id": 357, + "id": 480, "name": "explain", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -21065,16 +105551,24 @@ }, { "kind": "text", - "text": " as the EXPLAIN plan for the query." + "text": " as the EXPLAIN plan for the query.\n\nYou need to enable the\n[db_plan_enabled](https://supabase.com/docs/guides/database/debugging-performance#enabling-explain)\nsetting before using this method." } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 280, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L280" + } + ], "parameters": [ { - "id": 358, + "id": 481, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -21084,21 +105578,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 359, + "id": 482, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 360, + "id": 483, "name": "analyze", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -21120,22 +105613,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 203, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 288, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L203" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L288" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 363, + "id": 486, "name": "buffers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -21157,22 +105651,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 206, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 291, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L206" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L291" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 365, + "id": 488, "name": "format", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -21198,10 +105693,10 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 208, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 293, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L208" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L293" } ], "type": { @@ -21216,13 +105711,14 @@ "value": "json" } ] - } + }, + "defaultValue": "'text'" }, { - "id": 362, + "id": 485, "name": "settings", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -21244,22 +105740,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 205, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 290, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L205" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L290" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 361, + "id": 484, "name": "verbose", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -21289,22 +105786,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 204, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 289, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L204" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L289" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 364, + "id": 487, "name": "wal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -21326,30 +105824,31 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 207, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 292, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L207" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L292" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" } ], "groups": [ { "title": "Properties", - "children": [360, 363, 365, 362, 361, 364] + "children": [483, 486, 488, 485, 484, 487] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 202, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 287, "character": 5, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L202" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L287" } ] } @@ -21362,132 +105861,190 @@ "types": [ { "type": "reference", + "target": 705, "typeArguments": [ { "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": false } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, { "type": "reference", + "target": 705, "typeArguments": [ { "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - ], - "name": "PostgrestResponse" + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "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" + } + }, + { + "type": "literal", + "value": false } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } ] }, "inheritedFrom": { "type": "reference", - "id": 454, + "target": 639, "name": "default.explain" } } ], "inheritedFrom": { "type": "reference", - "id": 453, + "target": 638, "name": "default.explain" } }, { - "id": 301, + "id": 405, "name": "filter", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.\n\nUnlike most filters, " + }, + { + "kind": "code", + "text": "`opearator`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "operator", + "content": [ + { + "kind": "text", + "text": "The operator to filter with, following PostgREST syntax" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with, following PostgREST syntax" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 441, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 583, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L441" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L583" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 446, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 588, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L446" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L588" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 447, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 602, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L447" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L602" } ], "signatures": [ { - "id": 302, + "id": 406, "name": "filter", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.\n\nUnlike most filters, " - }, - { - "kind": "code", - "text": "`opearator`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 303, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 583, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L583" + } + ], + "typeParameters": [ + { + "id": 407, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -21497,45 +106054,36 @@ ], "parameters": [ { - "id": 304, + "id": 408, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 303, - "name": "ColumnName" + "target": 407, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 305, + "id": 409, "name": "operator", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The operator to filter with, following PostgREST syntax" - } - ] - }, "type": { "type": "union", "types": [ { "type": "reference", - "name": "FilterOperator" + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "FilterOperator" + }, + "name": "FilterOperator", + "package": "@supabase/postgrest-js" }, { "type": "literal", @@ -21629,19 +106177,11 @@ } }, { - "id": 306, + "id": 410, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with, following PostgREST syntax" - } - ] - }, "type": { "type": "intrinsic", "name": "unknown" @@ -21649,40 +106189,30 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 307, + "id": 411, "name": "filter", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 588, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L588" + } + ], "parameters": [ { - "id": 308, + "id": 412, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -21690,10 +106220,10 @@ } }, { - "id": 309, + "id": 413, "name": "operator", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -21701,10 +106231,10 @@ } }, { - "id": 310, + "id": 414, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -21713,51 +106243,37 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 354, + "id": 477, "name": "geojson", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 169, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 250, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L169" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L250" } ], "signatures": [ { - "id": 355, + "id": 478, "name": "geojson", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -21774,509 +106290,156 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 250, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L250" + } + ], "type": { "type": "reference", + "target": 705, "typeArguments": [ { "type": "reference", - "id": 533, + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "PostgrestSingleResponse" + "name": "Record", + "package": "typescript" } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 452, + "target": 637, "name": "default.geojson" } } ], "inheritedFrom": { "type": "reference", - "id": 451, + "target": 636, "name": "default.geojson" } }, { - "id": 135, + "id": 209, "name": "gt", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 67, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L67" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 68, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L68" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L69" - } - ], - "signatures": [ - { - "id": 136, - "name": "gt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is greater than " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ { "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is greater than " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." + "text": "The column to filter on" } ] }, - "typeParameter": [ - { - "id": 137, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 138, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, - "type": { - "type": "reference", - "id": 137, - "name": "ColumnName" - } - }, - { - "id": 139, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 137, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 116, - "name": "Row" - } - } - } - ], - "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 140, - "name": "gt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 141, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 142, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 143, - "name": "gte", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 80, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L80" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 81, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L81" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 82, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L82" - } - ], - "signatures": [ - { - "id": 144, - "name": "gte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ + { + "tag": "@param", + "name": "value", + "content": [ { "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is greater than or equal to " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." + "text": "The value to filter with" } ] - }, - "typeParameter": [ - { - "id": 145, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 146, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, - "type": { - "type": "reference", - "id": 145, - "name": "ColumnName" - } - }, - { - "id": 147, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 145, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 116, - "name": "Row" - } - } - } - ], - "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" } - }, - { - "id": 148, - "name": "gte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 149, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 150, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 175, - "name": "ilike", - "kind": 2048, - "kindString": "Method", - "flags": {}, + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 132, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L132" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 133, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L133" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", "line": 134, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L134" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L134" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 135, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L135" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 142, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L142" } ], "signatures": [ { - "id": 176, - "name": "ilike", + "id": 210, + "name": "gt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches " - }, - { - "kind": "code", - "text": "`pattern`" - }, - { - "kind": "text", - "text": " case-insensitively." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 177, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 134, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L134" + } + ], + "typeParameters": [ + { + "id": 211, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -22286,80 +106449,70 @@ ], "parameters": [ { - "id": 178, + "id": 212, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 177, - "name": "ColumnName" + "target": 211, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 179, - "name": "pattern", + "id": 213, + "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The pattern to match with" - } - ] - }, "type": { - "type": "intrinsic", - "name": "string" + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 211, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + } } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 180, - "name": "ilike", + "id": 214, + "name": "gt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 135, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L135" + } + ], "parameters": [ { - "id": 181, + "id": 215, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -22367,74 +106520,794 @@ } }, { - "id": 182, - "name": "pattern", + "id": 216, + "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", - "name": "string" + "name": "unknown" } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 191, - "name": "in", + "id": 217, + "name": "gte", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is greater than or equal to " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 167, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 147, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L167" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L147" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 168, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 148, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L168" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L148" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 169, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 155, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L169" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L155" } ], "signatures": [ { - "id": 192, + "id": 218, + "name": "gte", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 147, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L147" + } + ], + "typeParameters": [ + { + "id": 219, + "name": "ColumnName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 220, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 219, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "id": 221, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 219, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + }, + { + "id": 222, + "name": "gte", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 148, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L148" + } + ], + "parameters": [ + { + "id": 223, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 224, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 265, + "name": "ilike", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches " + }, + { + "kind": "code", + "text": "`pattern`" + }, + { + "kind": "text", + "text": " case-insensitively." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "pattern", + "content": [ + { + "kind": "text", + "text": "The pattern to match with" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 231, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L231" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 232, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L232" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 239, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L239" + } + ], + "signatures": [ + { + "id": 266, + "name": "ilike", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 231, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L231" + } + ], + "typeParameters": [ + { + "id": 267, + "name": "ColumnName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 268, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 267, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "id": 269, + "name": "pattern", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + }, + { + "id": 270, + "name": "ilike", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 232, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L232" + } + ], + "parameters": [ + { + "id": 271, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 272, + "name": "pattern", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 273, + "name": "ilikeAllOf", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches all of " + }, + { + "kind": "code", + "text": "`patterns`" + }, + { + "kind": "text", + "text": " case-insensitively." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "patterns", + "content": [ + { + "kind": "text", + "text": "The patterns to match with" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 244, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L244" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 248, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L248" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 255, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L255" + } + ], + "signatures": [ + { + "id": 274, + "name": "ilikeAllOf", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 244, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L244" + } + ], + "typeParameters": [ + { + "id": 275, + "name": "ColumnName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 276, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 275, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "id": 277, + "name": "patterns", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + }, + { + "id": 278, + "name": "ilikeAllOf", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 248, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L248" + } + ], + "parameters": [ + { + "id": 279, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 280, + "name": "patterns", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 281, + "name": "ilikeAnyOf", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches any of " + }, + { + "kind": "code", + "text": "`patterns`" + }, + { + "kind": "text", + "text": " case-insensitively." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "patterns", + "content": [ + { + "kind": "text", + "text": "The patterns to match with" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 260, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L260" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 264, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L264" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 271, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L271" + } + ], + "signatures": [ + { + "id": 282, + "name": "ilikeAnyOf", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 260, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L260" + } + ], + "typeParameters": [ + { + "id": 283, + "name": "ColumnName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 284, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 283, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "id": 285, + "name": "patterns", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + }, + { + "id": 286, + "name": "ilikeAnyOf", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 264, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L264" + } + ], + "parameters": [ + { + "id": 287, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 288, + "name": "patterns", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 297, + "name": "in", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 304, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L304" + } + ], + "signatures": [ + { + "id": 298, "name": "in", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -22460,12 +107333,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 193, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 304, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L304" + } + ], + "typeParameters": [ + { + "id": 299, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -22475,10 +107356,10 @@ ], "parameters": [ { - "id": 194, + "id": 300, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -22490,15 +107371,17 @@ }, "type": { "type": "reference", - "id": 193, - "name": "ColumnName" + "target": 299, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 195, + "id": 301, "name": "values", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -22509,223 +107392,276 @@ ] }, "type": { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 193, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 116, - "name": "Row" + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolveFilterValue" + }, + "typeArguments": [ + { + "type": "reference", + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 299, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ResolveFilterValue", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "intrinsic", + "name": "never" + }, + "trueType": { + "type": "intrinsic", + "name": "unknown" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolveFilterValue" + }, + "typeArguments": [ + { + "type": "reference", + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 299, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ResolveFilterValue", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolvedFilterValue" + }, + "name": "ResolvedFilterValue", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolvedFilterValue" + }, + "name": "ResolvedFilterValue", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } } } } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 196, - "name": "in", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 197, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 198, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - } - } - ], - "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 183, + "id": 289, "name": "is", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " IS " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": ".\n\nFor non-boolean columns, this is only relevant for checking if the value of\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is NULL by setting " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " to " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": ".\n\nFor boolean columns, you can also set " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " and it\nwill behave the same way as " + }, + { + "kind": "code", + "text": "`.eq()`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 151, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 276, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L151" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L276" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 155, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 280, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L155" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L280" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 156, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 293, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L156" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L293" } ], "signatures": [ { - "id": 184, + "id": 290, "name": "is", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " IS " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": ".\n\nFor non-boolean columns, this is only relevant for checking if the value of\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is NULL by setting " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " to " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": ".\n\nFor boolean columns, you can also set " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " to " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": " and it\nwill behave the same way as " - }, - { - "kind": "code", - "text": "`.eq()`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 185, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 276, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L276" + } + ], + "typeParameters": [ + { + "id": 291, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -22735,80 +107671,88 @@ ], "parameters": [ { - "id": 186, + "id": 292, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 185, - "name": "ColumnName" + "target": 291, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 187, + "id": 293, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ + "type": { + "type": "intersection", + "types": [ { - "kind": "text", - "text": "The value to filter with" + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 291, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + } + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] } ] - }, - "type": { - "type": "intrinsic", - "name": "Object" } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 188, + "id": 294, "name": "is", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 280, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L280" + } + ], "parameters": [ { - "id": 189, + "id": 295, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -22816,10 +107760,10 @@ } }, { - "id": 190, + "id": 296, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", @@ -22837,93 +107781,105 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 167, + "id": 241, "name": "like", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 119, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L119" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 120, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L120" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 121, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L121" - } - ], - "signatures": [ - { - "id": 168, - "name": "like", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches " + }, + { + "kind": "code", + "text": "`pattern`" + }, + { + "kind": "text", + "text": " case-sensitively." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ { "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " matches " - }, - { - "kind": "code", - "text": "`pattern`" - }, - { - "kind": "text", - "text": " case-sensitively." + "text": "The column to filter on" } ] }, - "typeParameter": [ + { + "tag": "@param", + "name": "pattern", + "content": [ + { + "kind": "text", + "text": "The pattern to match with" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 186, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L186" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 187, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L187" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 194, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L194" + } + ], + "signatures": [ + { + "id": 242, + "name": "like", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ { - "id": 169, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 186, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L186" + } + ], + "typeParameters": [ + { + "id": 243, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -22933,39 +107889,25 @@ ], "parameters": [ { - "id": 170, + "id": 244, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 169, - "name": "ColumnName" + "target": 243, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 171, + "id": 245, "name": "pattern", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The pattern to match with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -22973,40 +107915,30 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 172, + "id": 246, "name": "like", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 187, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L187" + } + ], "parameters": [ { - "id": 173, + "id": 247, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -23014,10 +107946,10 @@ } }, { - "id": 174, + "id": 248, "name": "pattern", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -23026,51 +107958,419 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 332, - "name": "limit", + "id": 249, + "name": "likeAllOf", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches all of " + }, + { + "kind": "code", + "text": "`patterns`" + }, + { + "kind": "text", + "text": " case-sensitively." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "patterns", + "content": [ + { + "kind": "text", + "text": "The patterns to match with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 199, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L101" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L199" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 203, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L203" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 210, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L210" } ], "signatures": [ { - "id": 333, - "name": "limit", + "id": 250, + "name": "likeAllOf", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 199, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L199" + } + ], + "typeParameters": [ + { + "id": 251, + "name": "ColumnName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 252, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 251, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "id": 253, + "name": "patterns", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + }, + { + "id": 254, + "name": "likeAllOf", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 203, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L203" + } + ], + "parameters": [ + { + "id": 255, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 256, + "name": "patterns", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 257, + "name": "likeAnyOf", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches any of " + }, + { + "kind": "code", + "text": "`patterns`" + }, + { + "kind": "text", + "text": " case-sensitively." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "patterns", + "content": [ + { + "kind": "text", + "text": "The patterns to match with" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 215, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L215" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 219, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L219" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 226, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L226" + } + ], + "signatures": [ + { + "id": 258, + "name": "likeAnyOf", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 215, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L215" + } + ], + "typeParameters": [ + { + "id": 259, + "name": "ColumnName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 260, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 259, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "id": 261, + "name": "patterns", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + }, + { + "id": 262, + "name": "likeAnyOf", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 219, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L219" + } + ], + "parameters": [ + { + "id": 263, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 264, + "name": "patterns", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 451, + "name": "limit", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 151, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L151" + } + ], + "signatures": [ + { + "id": 452, + "name": "limit", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -23087,12 +108387,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 151, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L151" + } + ], "parameters": [ { - "id": 334, + "id": 453, "name": "count", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -23108,10 +108416,10 @@ } }, { - "id": 335, + "id": 454, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -23121,21 +108429,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 336, + "id": 455, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 337, + "id": 456, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -23143,36 +108450,74 @@ "summary": [ { "kind": "text", - "text": "Set this to limit rows of foreign tables\ninstead of the current table" + "text": "Deprecated, use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": "\ninstead" } ] }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, - "character": 43, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L101" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 156, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L156" } ], "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 457, + "name": "referencedTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set this to limit rows of referenced\ntables instead of the parent table" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 156, + "character": 32, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L156" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "foreignTable" } ], "groups": [ { "title": "Properties", - "children": [337] + "children": [456, 457] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, - "character": 41, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L101" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 156, + "character": 7, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L156" } ] } @@ -23181,103 +108526,115 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 430, + "target": 611, "name": "default.limit" } } ], "inheritedFrom": { "type": "reference", - "id": 429, + "target": 610, "name": "default.limit" } }, { - "id": 151, + "id": 225, "name": "lt", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is less than " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 93, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 160, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L93" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L160" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 94, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 161, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L94" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L161" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 95, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 168, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L95" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L168" } ], "signatures": [ { - "id": 152, + "id": 226, "name": "lt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is less than " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 153, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 160, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L160" + } + ], + "typeParameters": [ + { + "id": 227, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -23287,89 +108644,70 @@ ], "parameters": [ { - "id": 154, + "id": 228, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 153, - "name": "ColumnName" + "target": 227, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 155, + "id": 229, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, "type": { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 153, - "name": "ColumnName" + "target": 227, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 116, - "name": "Row" + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 156, + "id": 230, "name": "lt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 161, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L161" + } + ], "parameters": [ { - "id": 157, + "id": 231, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -23377,10 +108715,10 @@ } }, { - "id": 158, + "id": 232, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -23389,93 +108727,105 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 159, + "id": 233, "name": "lte", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is less than or equal to " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 106, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 173, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L106" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L173" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 107, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 174, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L107" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L174" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 108, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 181, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L108" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L181" } ], "signatures": [ { - "id": 160, + "id": 234, "name": "lte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is less than or equal to " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 161, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 173, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L173" + } + ], + "typeParameters": [ + { + "id": 235, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -23485,89 +108835,70 @@ ], "parameters": [ { - "id": 162, + "id": 236, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 161, - "name": "ColumnName" + "target": 235, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 163, + "id": 237, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with" - } - ] - }, "type": { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 161, - "name": "ColumnName" + "target": 235, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 116, - "name": "Row" + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 164, + "id": 238, "name": "lte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 174, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L174" + } + ], "parameters": [ { - "id": 165, + "id": 239, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -23575,10 +108906,10 @@ } }, { - "id": 166, + "id": 240, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -23587,93 +108918,95 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 279, + "id": 382, "name": "match", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows where each column in " + }, + { + "kind": "code", + "text": "`query`" + }, + { + "kind": "text", + "text": " keys is equal to its\nassociated value. Shorthand for multiple " + }, + { + "kind": "code", + "text": "`.eq()`" + }, + { + "kind": "text", + "text": "s." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "query", + "content": [ + { + "kind": "text", + "text": "The object to filter with, with column names as keys mapped\nto their filter values" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 376, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 516, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L376" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L516" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 377, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 517, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L377" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L517" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 378, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 525, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L378" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L525" } ], "signatures": [ { - "id": 280, + "id": 383, "name": "match", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Match only rows where each column in " - }, - { - "kind": "code", - "text": "`query`" - }, - { - "kind": "text", - "text": " keys is equal to its\nassociated value. Shorthand for multiple " - }, - { - "kind": "code", - "text": "`.eq()`" - }, - { - "kind": "text", - "text": "s." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 281, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 516, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L516" + } + ], + "typeParameters": [ + { + "id": 384, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -23683,85 +109016,81 @@ ], "parameters": [ { - "id": 282, + "id": 385, "name": "query", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The object to filter with, with column names as keys mapped\nto their filter values" - } - ] - }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "reference", - "id": 281, - "name": "ColumnName" + "target": 384, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 281, - "name": "ColumnName" + "target": 384, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 116, - "name": "Row" + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 283, + "id": 386, "name": "match", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 517, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L517" + } + ], "parameters": [ { - "id": 284, + "id": 387, "name": "query", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -23773,57 +109102,273 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 350, - "name": "maybeSingle", + "id": 494, + "name": "maxAffected", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 152, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 359, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L152" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L359" } ], "signatures": [ { - "id": 351, - "name": "maybeSingle", + "id": 495, + "name": "maxAffected", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the maximum number of rows that can be affected by the query.\nOnly available in PostgREST v13+ and only works with PATCH and DELETE methods." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 359, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L359" + } + ], + "parameters": [ + { + "id": 496, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum number of rows that can be affected" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/feature-flags.ts", + "qualifiedName": "MaxAffectedEnabled" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "PostgrestVersion" + }, + "objectType": { + "type": "reference", + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + } + } + ], + "name": "MaxAffectedEnabled", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 179, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + }, + { + "type": "literal", + "value": "RPC" + } + ] + }, + "trueType": { + "type": "reference", + "target": 170, + "typeArguments": [ + { + "type": "reference", + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 177, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 178, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 179, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true + } + ], + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "InvalidMethodError" + }, + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on update or delete" + } + ], + "name": "InvalidMethodError", + "package": "@supabase/postgrest-js" + } + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "InvalidMethodError" + }, + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on postgrest 13+" + } + ], + "name": "InvalidMethodError", + "package": "@supabase/postgrest-js" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 654, + "name": "default.maxAffected" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 653, + "name": "default.maxAffected" + } + }, + { + "id": 472, + "name": "maybeSingle", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 225, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L225" + } + ], + "signatures": [ + { + "id": 473, + "name": "maybeSingle", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -23848,71 +109393,127 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 225, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L225" + } + ], + "typeParameters": [ + { + "id": 474, + "name": "ResultOne", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "target": 705, "typeArguments": [ { "type": "reference", - "id": 535, - "typeArguments": [ + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", - "id": 117, - "name": "Result" + "target": 474, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } - ], - "name": "PostgrestMaybeSingleResponse" + ] } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 448, + "target": 632, "name": "default.maybeSingle" } } ], "inheritedFrom": { "type": "reference", - "id": 447, + "target": 631, "name": "default.maybeSingle" } }, { - "id": 127, + "id": 204, "name": "neq", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 54, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 122, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L54" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 55, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L55" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 56, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L56" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L122" } ], "signatures": [ { - "id": 128, + "id": 205, "name": "neq", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -23938,12 +109539,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 129, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 122, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L122" + } + ], + "typeParameters": [ + { + "id": 206, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -23953,10 +109562,10 @@ ], "parameters": [ { - "id": 130, + "id": 207, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -23968,15 +109577,17 @@ }, "type": { "type": "reference", - "id": 129, - "name": "ColumnName" + "target": 206, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 131, + "id": 208, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -23987,161 +109598,223 @@ ] }, "type": { - "type": "indexedAccess", - "indexType": { + "type": "conditional", + "checkType": { "type": "reference", - "id": 129, - "name": "ColumnName" + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolveFilterValue" + }, + "typeArguments": [ + { + "type": "reference", + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 206, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ResolveFilterValue", + "package": "@supabase/postgrest-js" }, - "objectType": { - "type": "reference", - "id": 116, - "name": "Row" + "extendsType": { + "type": "intrinsic", + "name": "never" + }, + "trueType": { + "type": "intrinsic", + "name": "unknown" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolveFilterValue" + }, + "typeArguments": [ + { + "type": "reference", + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 206, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ResolveFilterValue", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolvedFilterValue" + }, + "name": "ResolvedFilterValue", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ResolvedFilterValue" + }, + "name": "ResolvedFilterValue", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } } } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 132, - "name": "neq", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 133, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 134, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 285, + "id": 388, "name": "not", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 398, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L398" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 403, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L403" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 404, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L404" - } - ], - "signatures": [ - { - "id": 286, - "name": "not", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "Match only rows which doesn't satisfy the filter.\n\nUnlike most filters, " + }, + { + "kind": "code", + "text": "`opearator`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ { "kind": "text", - "text": "Match only rows which doesn't satisfy the filter.\n\nUnlike most filters, " - }, - { - "kind": "code", - "text": "`opearator`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized." + "text": "The column to filter on" } ] }, - "typeParameter": [ + { + "tag": "@param", + "name": "operator", + "content": [ + { + "kind": "text", + "text": "The operator to be negated to filter with, following\nPostgREST syntax" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The value to filter with, following PostgREST syntax" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 532, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L532" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 537, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L537" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 551, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L551" + } + ], + "signatures": [ + { + "id": 389, + "name": "not", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ { - "id": 287, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 532, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L532" + } + ], + "typeParameters": [ + { + "id": 390, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -24151,108 +109824,86 @@ ], "parameters": [ { - "id": 288, + "id": 391, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 287, - "name": "ColumnName" + "target": 390, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 289, + "id": 392, "name": "operator", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The operator to be negated to filter with, following\nPostgREST syntax" - } - ] - }, "type": { "type": "reference", - "name": "FilterOperator" + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "FilterOperator" + }, + "name": "FilterOperator", + "package": "@supabase/postgrest-js" } }, { - "id": 290, + "id": 393, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter with, following PostgREST syntax" - } - ] - }, "type": { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 287, - "name": "ColumnName" + "target": 390, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, "objectType": { "type": "reference", - "id": 116, - "name": "Row" + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true } } } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 291, + "id": 394, "name": "not", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 537, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L537" + } + ], "parameters": [ { - "id": 292, + "id": 395, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -24260,10 +109911,10 @@ } }, { - "id": 293, + "id": 396, "name": "operator", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -24271,10 +109922,10 @@ } }, { - "id": 294, + "id": 397, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -24283,50 +109934,32 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 295, + "id": 398, "name": "or", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 422, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 571, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L422" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L571" } ], "signatures": [ { - "id": 296, + "id": 399, "name": "or", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -24352,12 +109985,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 571, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L571" + } + ], "parameters": [ { - "id": 297, + "id": 400, "name": "filters", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -24373,186 +110014,11 @@ } }, { - "id": 298, - "name": "foreignTable", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set this to filter on foreign tables instead of the\ncurrent table" - } - ] - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 299, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 300, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 422, - "character": 42, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L422" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [300] - } - ], - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 422, - "character": 40, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L422" - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 316, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 65, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L65" - }, - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 69, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L69" - }, - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 73, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L73" - } - ], - "signatures": [ - { - "id": 317, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Order the query result by " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table." - } - ] - }, - "typeParameter": [ - { - "id": 318, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 319, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to order by" - } - ] - }, - "type": { - "type": "reference", - "id": 318, - "name": "ColumnName" - } - }, - { - "id": 320, + "id": 401, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { @@ -24564,54 +110030,17 @@ "type": { "type": "reflection", "declaration": { - "id": 321, + "id": 402, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 322, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", the result will be in ascending order" - } - ] - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 67, - "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L67" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 324, + "id": 403, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -24619,199 +110048,24 @@ "summary": [ { "kind": "text", - "text": "Set this to order a foreign table by foreign\ncolumns" + "text": "Deprecated, use " + }, + { + "kind": "code", + "text": "`referencedTable`" + }, + { + "kind": "text", + "text": " instead" } ] }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 67, - "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L67" - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 323, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "s appear first. If " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": ",\n" - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "s appear last." - } - ] - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 67, - "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L67" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [322, 324, 323] - } - ], - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 67, - "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L67" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 414, - "name": "default.order" - } - }, - { - "id": 325, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 326, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 327, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 328, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 329, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 71, - "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L71" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 331, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 71, - "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L71" + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 576, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L576" } ], "type": { @@ -24820,19 +110074,670 @@ } }, { - "id": 330, - "name": "nullsFirst", + "id": 404, + "name": "referencedTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set this to filter on referenced tables\ninstead of the parent table" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 576, + "character": 32, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L576" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "foreignTable" + } + ], + "groups": [ + { + "title": "Properties", + "children": [403, 404] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 576, + "character": 7, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L576" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 420, + "name": "order", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Order the query result by " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use " + }, + { + "kind": "code", + "text": "`!inner`" + }, + { + "kind": "text", + "text": " in the query." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to order by" + } + ] + }, + { + "tag": "@param", + "name": "options", + "content": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + { + "tag": "@param", + "name": "options.ascending", + "content": [ + { + "kind": "text", + "text": "If " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the result will be in ascending order" + } + ] + }, + { + "tag": "@param", + "name": "options.nullsFirst", + "content": [ + { + "kind": "text", + "text": "If " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": "s appear first. If " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ",\n" + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": "s appear last." + } + ] + }, + { + "tag": "@param", + "name": "options.referencedTable", + "content": [ + { + "kind": "text", + "text": "Set this to order a referenced table by\nits columns" + } + ] + }, + { + "tag": "@param", + "name": "options.foreignTable", + "content": [ + { + "kind": "text", + "text": "Deprecated, use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": "\ninstead" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 75, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L75" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 79, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L79" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 86, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L86" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 93, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L93" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 115, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L115" + } + ], + "signatures": [ + { + "id": 421, + "name": "order", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 75, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L75" + } + ], + "typeParameters": [ + { + "id": 422, + "name": "ColumnName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 423, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 422, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "id": 424, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 425, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 426, + "name": "ascending", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 71, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 77, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L77" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 427, + "name": "nullsFirst", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 77, "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L71" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L77" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 428, + "name": "referencedTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 77, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L77" + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [426, 427, 428] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 77, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L77" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": 580, + "name": "default.order" + } + }, + { + "id": 429, + "name": "order", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 79, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L79" + } + ], + "parameters": [ + { + "id": 430, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 431, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 432, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 433, + "name": "ascending", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 81, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L81" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 434, + "name": "nullsFirst", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 81, + "character": 37, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L81" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 435, + "name": "referencedTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 81, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L81" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [433, 434, 435] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 81, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L81" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": 588, + "name": "default.order" + } + }, + { + "id": 436, + "name": "order", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": " instead of " + }, + { + "kind": "code", + "text": "`options.foreignTable`" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 86, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L86" + } + ], + "typeParameters": [ + { + "id": 437, + "name": "ColumnName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 438, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 437, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "id": 439, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 440, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 441, + "name": "ascending", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 88, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L88" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 443, + "name": "foreignTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 88, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L88" + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 442, + "name": "nullsFirst", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 88, + "character": 37, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L88" } ], "type": { @@ -24844,15 +110749,15 @@ "groups": [ { "title": "Properties", - "children": [329, 331, 330] + "children": [441, 443, 442] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 71, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 88, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L71" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L88" } ] } @@ -24860,103 +110765,278 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 422, + "target": 595, + "name": "default.order" + } + }, + { + "id": 444, + "name": "order", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": " instead of " + }, + { + "kind": "code", + "text": "`options.foreignTable`" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 93, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L93" + } + ], + "parameters": [ + { + "id": 445, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 446, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 447, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 448, + "name": "ascending", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 95, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L95" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 450, + "name": "foreignTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 95, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L95" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 449, + "name": "nullsFirst", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 95, + "character": 37, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L95" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [448, 450, 449] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 95, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L95" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": 603, "name": "default.order" } } ], "inheritedFrom": { "type": "reference", - "id": 413, + "target": 579, "name": "default.order" } }, { - "id": 255, + "id": 358, "name": "overlaps", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for array and range columns. Match only rows where\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " have an element in common." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The array or range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "value", + "content": [ + { + "kind": "text", + "text": "The array or range value to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 315, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 455, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L315" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L455" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 319, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 459, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L319" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L459" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 320, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 467, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L320" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L467" } ], "signatures": [ { - "id": 256, + "id": 359, "name": "overlaps", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for array and range columns. Match only rows where\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`value`" - }, - { - "kind": "text", - "text": " have an element in common." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 257, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 455, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L455" + } + ], + "typeParameters": [ + { + "id": 360, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -24966,39 +111046,25 @@ ], "parameters": [ { - "id": 258, + "id": 361, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The array or range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 257, - "name": "ColumnName" + "target": 360, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 259, + "id": 362, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The array or range value to filter with" - } - ] - }, "type": { "type": "union", "types": [ @@ -25007,18 +111073,27 @@ "name": "string" }, { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 257, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 116, - "name": "Row" + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 360, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + } } } } @@ -25027,40 +111102,30 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 260, + "id": 363, "name": "overlaps", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 459, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L459" + } + ], "parameters": [ { - "id": 261, + "id": 364, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -25068,10 +111133,10 @@ } }, { - "id": 262, + "id": 365, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", @@ -25081,10 +111146,14 @@ "name": "string" }, { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } } } ] @@ -25092,56 +111161,464 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 338, - "name": "range", + "id": 531, + "name": "overrideTypes", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 270, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L116" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L270" } ], "signatures": [ { - "id": 339, - "name": "range", + "id": 532, + "name": "overrideTypes", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { "kind": "text", - "text": "Limit the query result by " + "text": "Override the type of the returned " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field in the response." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A PostgrestBuilder instance with the new type" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 270, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L270" + } + ], + "typeParameters": [ + { + "id": 533, + "name": "NewResult", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new type to cast the response data to" + } + ] + } + }, + { + "id": 534, + "name": "Options", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional type configuration (defaults to { merge: true })" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 535, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 536, + "name": "merge", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 272, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L272" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [536] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 272, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L272" + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 537, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 538, + "name": "merge", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 272, + "character": 44, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L272" + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [538] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 272, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L272" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 705, + "typeArguments": [ + { + "type": "reference", + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "IsValidResultOverride" + }, + "typeArguments": [ + { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 533, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/types.ts", + "qualifiedName": "ContainsNull" + }, + "typeArguments": [ + { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "ContainsNull", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "MergePartialResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": 533, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "NonNullable" + }, + "typeArguments": [ + { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "NonNullable", + "package": "typescript" + }, + { + "type": "reference", + "target": 534, + "name": "Options", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "MergePartialResult", + "package": "@supabase/postgrest-js" + } + ] + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "MergePartialResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": 533, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 534, + "name": "Options", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "MergePartialResult", + "package": "@supabase/postgrest-js" + } + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "CheckMatchingArrayTypes" + }, + "typeArguments": [ + { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 533, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "CheckMatchingArrayTypes", + "package": "@supabase/postgrest-js" + } + }, + { + "type": "literal", + "value": false + } + ], + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + }, + "inheritedFrom": { + "type": "reference", + "target": 691, + "name": "default.overrideTypes" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 690, + "name": "default.overrideTypes" + } + }, + { + "id": 458, + "name": "range", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 178, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L178" + } + ], + "signatures": [ + { + "id": 459, + "name": "range", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Limit the query result by starting at an offset " + }, + { + "kind": "code", + "text": "`from`" + }, + { + "kind": "text", + "text": " and ending at the offset " + }, + { + "kind": "code", + "text": "`to`" + }, + { + "kind": "text", + "text": ".\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe " }, { "kind": "code", @@ -25157,16 +111634,32 @@ }, { "kind": "text", - "text": " inclusively." + "text": " values are 0-based and inclusive: " + }, + { + "kind": "code", + "text": "`range(1, 3)`" + }, + { + "kind": "text", + "text": " will include the second, third\nand fourth rows of the query." } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 178, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L178" + } + ], "parameters": [ { - "id": 340, + "id": 460, "name": "from", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -25182,10 +111675,10 @@ } }, { - "id": 341, + "id": 461, "name": "to", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -25201,10 +111694,10 @@ } }, { - "id": 342, + "id": 462, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -25214,21 +111707,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 463, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 344, + "id": 464, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -25236,36 +111728,74 @@ "summary": [ { "kind": "text", - "text": "Set this to limit rows of foreign tables\ninstead of the current table" + "text": "Deprecated, use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": "\ninstead" } ] }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, - "character": 54, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L116" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 184, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L184" } ], "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 465, + "name": "referencedTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set this to limit rows of referenced\ntables instead of the parent table" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 184, + "character": 32, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L184" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "foreignTable" } ], "groups": [ { "title": "Properties", - "children": [344] + "children": [464, 465] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, - "character": 52, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L116" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 184, + "character": 7, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L184" } ] } @@ -25274,103 +111804,115 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 436, + "target": 618, "name": "default.range" } } ], "inheritedFrom": { "type": "reference", - "id": 435, + "target": 617, "name": "default.range" } }, { - "id": 247, + "id": 350, "name": "rangeAdjacent", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for range columns. Match only rows where " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is\nmutually exclusive to " + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": " and there can be no element between the two\nranges." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "range", + "content": [ + { + "kind": "text", + "text": "The range to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 301, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 440, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L301" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L440" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 302, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 441, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L302" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L441" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 303, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 450, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L303" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L450" } ], "signatures": [ { - "id": 248, + "id": 351, "name": "rangeAdjacent", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is\nmutually exclusive to " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": " and there can be no element between the two\nranges." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 249, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 440, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L440" + } + ], + "typeParameters": [ + { + "id": 352, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -25380,39 +111922,25 @@ ], "parameters": [ { - "id": 250, + "id": 353, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 249, - "name": "ColumnName" + "target": 352, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 251, + "id": 354, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -25420,40 +111948,30 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 252, + "id": 355, "name": "rangeAdjacent", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 441, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L441" + } + ], "parameters": [ { - "id": 253, + "id": 356, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -25461,10 +111979,10 @@ } }, { - "id": 254, + "id": 357, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -25473,93 +111991,105 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 215, + "id": 318, "name": "rangeGt", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for range columns. Match only rows where every element in\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is greater than any element in " + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "range", + "content": [ + { + "kind": "text", + "text": "The range to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 242, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 382, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L242" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L382" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 243, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 383, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L243" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L383" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 244, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 391, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L244" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L391" } ], "signatures": [ { - "id": 216, + "id": 319, "name": "rangeGt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where every element in\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is greater than any element in " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 217, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 382, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L382" + } + ], + "typeParameters": [ + { + "id": 320, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -25569,39 +112099,25 @@ ], "parameters": [ { - "id": 218, + "id": 321, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 217, - "name": "ColumnName" + "target": 320, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 219, + "id": 322, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -25609,40 +112125,30 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 220, + "id": 323, "name": "rangeGt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 383, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L383" + } + ], "parameters": [ { - "id": 221, + "id": 324, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -25650,10 +112156,10 @@ } }, { - "id": 222, + "id": 325, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -25662,101 +112168,113 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 223, + "id": 326, "name": "rangeGte", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for range columns. Match only rows where every element in\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is either contained in " + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": " or greater than any element in\n" + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "range", + "content": [ + { + "kind": "text", + "text": "The range to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 257, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 396, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L257" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L396" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 258, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 397, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L258" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L397" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 259, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 406, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L259" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L406" } ], "signatures": [ { - "id": 224, + "id": 327, "name": "rangeGte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where every element in\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is either contained in " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": " or greater than any element in\n" - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 225, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 396, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L396" + } + ], + "typeParameters": [ + { + "id": 328, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -25766,39 +112284,25 @@ ], "parameters": [ { - "id": 226, + "id": 329, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 225, - "name": "ColumnName" + "target": 328, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 227, + "id": 330, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -25806,40 +112310,30 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 228, + "id": 331, "name": "rangeGte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 397, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L397" + } + ], "parameters": [ { - "id": 229, + "id": 332, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -25847,10 +112341,10 @@ } }, { - "id": 230, + "id": 333, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -25859,93 +112353,105 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 231, + "id": 334, "name": "rangeLt", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for range columns. Match only rows where every element in\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is less than any element in " + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "range", + "content": [ + { + "kind": "text", + "text": "The range to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 271, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 411, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L271" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L411" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 272, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 412, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L272" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L412" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 273, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 420, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L273" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L420" } ], "signatures": [ { - "id": 232, + "id": 335, "name": "rangeLt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where every element in\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is less than any element in " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 233, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 411, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L411" + } + ], + "typeParameters": [ + { + "id": 336, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -25955,39 +112461,25 @@ ], "parameters": [ { - "id": 234, + "id": 337, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 233, - "name": "ColumnName" + "target": 336, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 235, + "id": 338, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -25995,40 +112487,30 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 236, + "id": 339, "name": "rangeLt", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 412, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L412" + } + ], "parameters": [ { - "id": 237, + "id": 340, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -26036,10 +112518,10 @@ } }, { - "id": 238, + "id": 341, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -26048,101 +112530,113 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 239, + "id": 342, "name": "rangeLte", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for range columns. Match only rows where every element in\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " is either contained in " + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": " or less than any element in\n" + }, + { + "kind": "code", + "text": "`range`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The range column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "range", + "content": [ + { + "kind": "text", + "text": "The range to filter with" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 286, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 425, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L286" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L425" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 287, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 426, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L287" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L426" }, { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 288, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 435, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L288" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L435" } ], "signatures": [ { - "id": 240, + "id": 343, "name": "rangeLte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Only relevant for range columns. Match only rows where every element in\n" - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": " is either contained in " - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": " or less than any element in\n" - }, - { - "kind": "code", - "text": "`range`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 241, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 425, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L425" + } + ], + "typeParameters": [ + { + "id": 344, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -26152,39 +112646,25 @@ ], "parameters": [ { - "id": 242, + "id": 345, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 241, - "name": "ColumnName" + "target": 344, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 243, + "id": 346, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The range to filter with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" @@ -26192,40 +112672,30 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 244, + "id": 347, "name": "rangeLte", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 426, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L426" + } + ], "parameters": [ { - "id": 245, + "id": 348, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -26233,10 +112703,10 @@ } }, { - "id": 246, + "id": 349, "name": "range", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -26245,51 +112715,37 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 368, + "id": 491, "name": "returns", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 249, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 333, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L249" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L333" } ], "signatures": [ { - "id": 369, + "id": 492, "name": "returns", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -26304,14 +112760,33 @@ "kind": "text", "text": "." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use overrideTypes() method at the end of your call chain instead" + } + ] + } ] }, - "typeParameter": [ + "sources": [ { - "id": 370, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 333, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L333" + } + ], + "typeParameters": [ + { + "id": 493, "name": "NewResult", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "comment": { "summary": [ @@ -26325,60 +112800,125 @@ ], "type": { "type": "reference", - "id": 401, + "target": 546, "typeArguments": [ { "type": "reference", - "id": 115, - "name": "Schema" + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 116, - "name": "Row" + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 370, - "name": "NewResult" + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "CheckMatchingArrayTypes" + }, + "typeArguments": [ + { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 493, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "CheckMatchingArrayTypes", + "package": "@supabase/postgrest-js" + }, + { + "type": "reference", + "target": 177, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 178, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 179, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestTransformBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 466, + "target": 651, "name": "default.returns" } } ], "inheritedFrom": { "type": "reference", - "id": 465, + "target": 650, "name": "default.returns" } }, { - "id": 366, + "id": 489, "name": "rollback", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 235, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 322, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L235" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L322" } ], "signatures": [ { - "id": 367, + "id": 490, "name": "rollback", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -26395,62 +112935,56 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 322, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L322" + } + ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" }, "inheritedFrom": { "type": "reference", - "id": 464, + "target": 649, "name": "default.rollback" } } ], "inheritedFrom": { "type": "reference", - "id": 463, + "target": 648, "name": "default.rollback" } }, { - "id": 311, + "id": 415, "name": "select", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 24, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 26, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L24" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L26" } ], "signatures": [ { - "id": 312, + "id": 416, "name": "select", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -26499,12 +113033,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 313, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 26, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L26" + } + ], + "typeParameters": [ + { + "id": 417, "name": "Query", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -26516,40 +113058,74 @@ } }, { - "id": 314, - "name": "NewResult", + "id": 418, + "name": "NewResultOne", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", + "target": 811, "typeArguments": [ { "type": "reference", - "id": 115, - "name": "Schema" + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 116, - "name": "Row" + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 313, - "name": "Query" + "target": 177, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 178, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 417, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true } ], - "name": "GetResult" + "name": "GetResult", + "package": "@supabase/postgrest-js" } } ], "parameters": [ { - "id": 315, + "id": 419, "name": "columns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, @@ -26563,67 +113139,250 @@ }, "type": { "type": "reference", - "id": 313, - "name": "Query" + "target": 417, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } } ], "type": { "type": "reference", - "id": 401, + "target": 170, "typeArguments": [ { "type": "reference", - "id": 115, - "name": "Schema" + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 116, - "name": "Row" + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 314, - "name": "NewResult" + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 179, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "literal", + "value": "RPC" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + }, + "trueType": { + "type": "array", + "elementType": { + "type": "reference", + "target": 418, + "name": "NewResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "reference", + "target": 418, + "name": "NewResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "array", + "elementType": { + "type": "reference", + "target": 418, + "name": "NewResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + } + }, + { + "type": "reference", + "target": 177, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 178, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 179, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 409, + "target": 575, "name": "default.select" } } ], "inheritedFrom": { "type": "reference", - "id": 408, + "target": 574, "name": "default.select" } }, { - "id": 348, - "name": "single", + "id": 515, + "name": "setHeader", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 141, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 72, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L141" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L72" } ], "signatures": [ { - "id": 349, - "name": "single", + "id": 516, + "name": "setHeader", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set an HTTP header for the request." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 72, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L72" + } + ], + "parameters": [ + { + "id": 517, + "name": "name", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 518, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": 675, + "name": "default.setHeader" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 674, + "name": "default.setHeader" + } + }, + { + "id": 469, + "name": "single", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 211, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L211" + } + ], + "signatures": [ + { + "id": 470, + "name": "single", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -26648,85 +113407,175 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 211, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L211" + } + ], + "typeParameters": [ + { + "id": 471, + "name": "ResultOne", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "target": 705, "typeArguments": [ { "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 471, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 446, + "target": 629, "name": "default.single" } } ], "inheritedFrom": { "type": "reference", - "id": 445, + "target": 628, "name": "default.single" } }, { - "id": 263, + "id": 366, "name": "textSearch", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 341, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L341" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 346, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L346" - }, - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 351, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L351" - } - ], - "signatures": [ - { - "id": 264, - "name": "textSearch", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "Only relevant for text and tsvector columns. Match only rows where\n" + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": " matches the query string in " + }, + { + "kind": "code", + "text": "`query`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ { "kind": "text", - "text": "Only relevant for text and tsvector columns. Match only rows where\n" - }, - { - "kind": "code", - "text": "`column`" - }, + "text": "The text or tsvector column to filter on" + } + ] + }, + { + "tag": "@param", + "name": "query", + "content": [ { "kind": "text", - "text": " matches the query string in " + "text": "The query text to match with" + } + ] + }, + { + "tag": "@param", + "name": "options", + "content": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + { + "tag": "@param", + "name": "options.config", + "content": [ + { + "kind": "text", + "text": "The text search configuration to use" + } + ] + }, + { + "tag": "@param", + "name": "options.type", + "content": [ + { + "kind": "text", + "text": "Change how the " }, { "kind": "code", @@ -26734,16 +113583,53 @@ }, { "kind": "text", - "text": "." + "text": " text is interpreted" } ] - }, - "typeParameter": [ + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 478, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L478" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 483, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L483" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 498, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L498" + } + ], + "signatures": [ + { + "id": 367, + "name": "textSearch", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ { - "id": 265, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 478, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L478" + } + ], + "typeParameters": [ + { + "id": 368, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -26753,91 +113639,61 @@ ], "parameters": [ { - "id": 266, + "id": 369, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The text or tsvector column to filter on" - } - ] - }, "type": { "type": "reference", - "id": 265, - "name": "ColumnName" + "target": 368, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 267, + "id": 370, "name": "query", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The query text to match with" - } - ] - }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 268, + "id": 371, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, "type": { "type": "reflection", "declaration": { - "id": 269, + "id": 372, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 270, + "id": 373, "name": "config", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The text search configuration to use" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 344, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 481, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L344" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L481" } ], "type": { @@ -26846,35 +113702,19 @@ } }, { - "id": 271, + "id": 374, "name": "type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Change how the " - }, - { - "kind": "code", - "text": "`query`" - }, - { - "kind": "text", - "text": " text is interpreted" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 344, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 481, "character": 33, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L344" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L481" } ], "type": { @@ -26899,15 +113739,15 @@ "groups": [ { "title": "Properties", - "children": [270, 271] + "children": [373, 374] } ], "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 344, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 481, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L344" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L481" } ] } @@ -26915,40 +113755,30 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 272, + "id": 375, "name": "textSearch", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 483, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L483" + } + ], "parameters": [ { - "id": 273, + "id": 376, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -26956,10 +113786,10 @@ } }, { - "id": 274, + "id": 377, "name": "query", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -26967,36 +113797,36 @@ } }, { - "id": 275, + "id": 378, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reflection", "declaration": { - "id": 276, + "id": 379, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 277, + "id": 380, "name": "config", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 349, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 486, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L349" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L486" } ], "type": { @@ -27005,19 +113835,19 @@ } }, { - "id": 278, + "id": 381, "name": "type", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 349, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 486, "character": 33, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L349" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L486" } ], "type": { @@ -27042,15 +113872,15 @@ "groups": [ { "title": "Properties", - "children": [277, 278] + "children": [380, 381] } ], "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 349, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 486, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L349" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L486" } ] } @@ -27058,76 +113888,93 @@ } ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Schema" - }, - { - "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 386, + "id": 519, "name": "then", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 78, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L48" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L78" } ], "signatures": [ { - "id": 387, + "id": 520, "name": "then", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Attaches callbacks for the resolution and/or rejection of the Promise." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Promise for the completion of which ever callback is executed." + } + ] + } + ] + }, + "sources": [ { - "id": 388, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 78, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L78" + } + ], + "typeParameters": [ + { + "id": 521, "name": "TResult1", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "target": 804, "typeArguments": [ { "type": "reference", - "id": 117, - "name": "Result" + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" } }, { - "id": 389, + "id": 522, "name": "TResult2", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -27137,13 +113984,21 @@ ], "parameters": [ { - "id": 390, + "id": 523, "name": "onfulfilled", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is resolved." + } + ] + }, "type": { "type": "union", "types": [ @@ -27154,44 +114009,56 @@ { "type": "reflection", "declaration": { - "id": 391, + "id": 524, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 50, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 85, "character": 9, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L50" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L85" } ], "signatures": [ { - "id": 392, + "id": 525, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 85, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L85" + } + ], "parameters": [ { - "id": 393, + "id": 526, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 531, + "target": 804, "typeArguments": [ { "type": "reference", - "id": 117, - "name": "Result" + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" } } ], @@ -27200,20 +114067,27 @@ "types": [ { "type": "reference", - "id": 388, - "name": "TResult1" + "target": 521, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "reference", - "id": 388, - "name": "TResult1" + "target": 521, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" } ] @@ -27226,13 +114100,21 @@ } }, { - "id": 394, + "id": 527, "name": "onrejected", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is rejected." + } + ] + }, "type": { "type": "union", "types": [ @@ -27243,32 +114125,40 @@ { "type": "reflection", "declaration": { - "id": 395, + "id": 528, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 53, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 92, "character": 18, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L53" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L92" } ], "signatures": [ { - "id": 396, + "id": 529, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 92, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L92" + } + ], "parameters": [ { - "id": 397, + "id": 530, "name": "reason", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -27281,20 +114171,27 @@ "types": [ { "type": "reference", - "id": 389, - "name": "TResult2" + "target": 522, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "reference", - "id": 389, - "name": "TResult2" + "target": 522, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" } ] @@ -27309,61 +114206,72 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", - "id": 388, - "name": "TResult1" + "target": 521, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 389, - "name": "TResult2" + "target": 522, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ] } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 484, + "target": 679, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 483, + "target": 678, "name": "default.then" } }, { - "id": 384, + "id": 513, "name": "throwOnError", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 43, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 64, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L43" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L64" } ], "signatures": [ { - "id": 385, + "id": 514, "name": "throwOnError", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -27378,38 +114286,123 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 64, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L64" + } + ], "type": { - "type": "reference", - "id": 112, - "typeArguments": [ + "type": "intersection", + "types": [ { "type": "reference", - "id": 115, - "name": "Schema" + "target": 170, + "typeArguments": [ + { + "type": "reference", + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 177, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 178, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 179, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true + } + ], + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, { "type": "reference", - "id": 116, - "name": "Row" - }, - { - "type": "reference", - "id": 117, - "name": "Result" + "target": 705, + "typeArguments": [ + { + "type": "reference", + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": true + } + ], + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } - ], - "name": "default" + ] }, "inheritedFrom": { "type": "reference", - "id": 482, + "target": 673, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 481, + "target": 672, "name": "default.throwOnError" } } @@ -27417,49 +114410,71 @@ "groups": [ { "title": "Constructors", - "children": [113] + "children": [171] }, { "title": "Properties", - "children": [383, 375, 378, 373, 371, 374, 376, 377, 372] + "children": [501, 504, 499, 512, 497, 500, 502, 503, 498] }, { "title": "Methods", "children": [ - 345, 207, 199, 352, 119, 356, 301, 354, 135, 143, 175, 191, 183, 167, 332, 151, 159, - 279, 350, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 368, 366, 311, 348, - 263, 386, 384 + 466, 310, 302, 475, 198, 479, 405, 477, 209, 217, 265, 273, 281, 297, 289, 241, 249, + 257, 451, 225, 233, 382, 494, 472, 204, 388, 398, 420, 358, 531, 458, 350, 318, 326, + 334, 342, 491, 489, 415, 515, 469, 366, 519, 513 ] } ], "sources": [ { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 28, + "fileName": "packages/core/postgrest-js/src/PostgrestFilterBuilder.ts", + "line": 76, "character": 21, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestFilterBuilder.ts#L28" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestFilterBuilder.ts#L76" } ], "typeParameters": [ { - "id": 398, - "name": "Schema", + "id": 539, + "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericSchema" + "target": 808, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" } }, { - "id": 399, - "name": "Row", + "id": 540, + "name": "Schema", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 541, + "name": "Row", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -27471,224 +114486,562 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } }, { - "id": 400, + "id": 542, "name": "Result", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {} + }, + { + "id": 543, + "name": "RelationName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 544, + "name": "Relationships", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 545, + "name": "Method", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "extendedTypes": [ { "type": "reference", - "id": 401, + "target": 546, "typeArguments": [ { "type": "reference", - "id": 115, - "name": "Schema" + "target": 173, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 116, - "name": "Row" + "target": 174, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 117, - "name": "Result" + "target": 175, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 176, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 177, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 178, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 179, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "default", + "package": "@supabase/postgrest-js" } ] }, { - "id": 49, + "id": 75, "name": "PostgrestQueryBuilder", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 50, + "id": 76, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 16, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 24, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L16" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L24" } ], "signatures": [ { - "id": 51, - "name": "new PostgrestQueryBuilder", + "id": 77, + "name": "PostgrestQueryBuilder", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, - "typeParameter": [ + "sources": [ { - "id": 52, - "name": "Schema", + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 24, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L24" + } + ], + "typeParameters": [ + { + "id": 78, + "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericSchema" + "target": 808, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" } }, { - "id": 53, + "id": 79, + "name": "Schema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 80, "name": "Relation", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", - "name": "GenericTable" + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericTable" + }, + "name": "GenericTable", + "package": "@supabase/postgrest-js" }, { "type": "reference", - "name": "GenericView" + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericView" + }, + "name": "GenericView", + "package": "@supabase/postgrest-js" } ] } + }, + { + "id": 81, + "name": "RelationName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 82, + "name": "Relationships", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 80, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 83, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 84, + "name": "Relationships", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 16, + "character": 37, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L16" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "R" + }, + "name": "R", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [84] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 16, + "character": 35, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L16" + } + ] + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "R" + }, + "name": "R", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "unknown" + } + } } ], "parameters": [ { - "id": 54, + "id": 85, "name": "url", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } }, { - "id": 55, + "id": 86, "name": "__namedParameters", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 56, + "id": 87, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 59, + "id": 90, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 25, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 33, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L25" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L33" } ], "type": { "type": "reflection", "declaration": { - "id": 60, + "id": 91, "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": 61, + "id": 92, "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": 62, + "id": 93, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", "package": "typescript" }, { "type": "reference", - "name": "URL", - "qualifiedName": "URL", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", "package": "typescript" } ] } }, { - "id": 63, + "id": 94, "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": 95, + "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": 96, + "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": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + } + ] + } + }, + { + "id": 97, + "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" } } @@ -27697,52 +115050,46 @@ } }, { - "id": 57, + "id": 88, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 23, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 31, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L23" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L31" } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HeadersInit" + }, + "name": "HeadersInit", "package": "typescript" - } + }, + "defaultValue": "{}" }, { - "id": 58, + "id": 89, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 24, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 32, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L24" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L32" } ], "type": { @@ -27754,15 +115101,15 @@ "groups": [ { "title": "Properties", - "children": [59, 57, 58] + "children": [90, 88, 89] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 22, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 30, "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L22" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L30" } ] } @@ -27771,115 +115118,278 @@ ], "type": { "type": "reference", - "id": 49, + "target": 75, "typeArguments": [ { "type": "reference", - "id": 52, - "name": "Schema" + "target": 78, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 53, - "name": "Relation" + "target": 79, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 80, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 81, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 82, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 68, + "id": 102, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 14, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 22, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L14" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L22" } ], "type": { "type": "reflection", "declaration": { - "id": 69, + "id": 103, "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": 70, + "id": 104, "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": 71, + "id": 105, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", "package": "typescript" }, { "type": "reference", - "name": "URL", - "qualifiedName": "URL", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", "package": "typescript" } ] } }, { - "id": 72, + "id": 106, "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": 107, + "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": 108, + "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": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + } + ] + } + }, + { + "id": 109, + "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" } } @@ -27888,50 +115398,43 @@ } }, { - "id": 65, + "id": 99, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 11, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 19, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L11" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L19" } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Headers" + }, + "name": "Headers", "package": "typescript" } }, { - "id": 66, + "id": 100, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 12, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 20, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L12" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L20" } ], "type": { @@ -27940,69 +115443,75 @@ } }, { - "id": 67, + "id": 101, "name": "signal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 13, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 21, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L13" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L21" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" } }, { - "id": 64, + "id": 98, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 10, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 18, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L10" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L18" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" } }, { - "id": 105, + "id": 158, "name": "delete", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 299, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 416, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L299" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L416" } ], "signatures": [ { - "id": 106, + "id": 159, "name": "delete", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -28020,12 +115529,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 416, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L416" + } + ], "parameters": [ { - "id": 107, + "id": 160, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -28035,21 +115552,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 108, + "id": 161, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 109, + "id": 162, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -28095,10 +115611,10 @@ }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 302, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 419, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L302" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L419" } ], "type": { @@ -28123,15 +115639,15 @@ "groups": [ { "title": "Properties", - "children": [109] + "children": [162] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 301, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 418, "character": 5, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L301" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L418" } ] } @@ -28141,12 +115657,23 @@ ], "type": { "type": "reference", - "id": 112, + "target": 170, "typeArguments": [ { "type": "reference", - "id": 52, - "name": "Schema" + "target": 78, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 79, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -28156,66 +115683,197 @@ }, "objectType": { "type": "reference", - "id": 53, - "name": "Relation" + "target": 80, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 81, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 82, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "DELETE" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 82, + "id": 119, "name": "insert", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Perform an INSERT into the table or view.\n\nBy default, inserted rows are not returned. To return it, chain the call\nwith " + }, + { + "kind": "code", + "text": "`.select()`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "values", + "content": [ + { + "kind": "text", + "text": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows." + } + ] + }, + { + "tag": "@param", + "name": "options", + "content": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + { + "tag": "@param", + "name": "options.count", + "content": [ + { + "kind": "text", + "text": "Count algorithm to use to count inserted rows.\n\n" + }, + { + "kind": "code", + "text": "`\"exact\"`" + }, + { + "kind": "text", + "text": ": Exact but slow count algorithm. Performs a " + }, + { + "kind": "code", + "text": "`COUNT(*)`" + }, + { + "kind": "text", + "text": " under the\nhood.\n\n" + }, + { + "kind": "code", + "text": "`\"planned\"`" + }, + { + "kind": "text", + "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" + }, + { + "kind": "code", + "text": "`\"estimated\"`" + }, + { + "kind": "text", + "text": ": Uses exact count for low numbers and planned count for high\nnumbers." + } + ] + }, + { + "tag": "@param", + "name": "options.defaultToNull", + "content": [ + { + "kind": "text", + "text": "Make missing fields default to " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": ".\nOtherwise, use the default value for the column. Only applies for bulk\ninserts." + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 120, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 121, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L120" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L121" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 135, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L135" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 176, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L176" } ], "signatures": [ { - "id": 83, + "id": 120, "name": "insert", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Perform an INSERT into the table or view.\n\nBy default, inserted rows are not returned. To return it, chain the call\nwith " - }, - { - "kind": "code", - "text": "`.select()`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 84, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 121, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L121" + } + ], + "typeParameters": [ + { + "id": 121, "name": "Row", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -28227,123 +115885,56 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } } ], "parameters": [ { - "id": 85, + "id": 122, "name": "values", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows." - } - ] - }, "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 84, - "name": "Row" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "id": 84, - "name": "Row" - } - } - ] + "type": "reference", + "target": 121, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 86, + "id": 123, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] + "flags": { + "isOptional": true }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 87, + "id": 124, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 88, + "id": 125, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Count algorithm to use to count inserted rows.\n\n" - }, - { - "kind": "code", - "text": "`\"exact\"`" - }, - { - "kind": "text", - "text": ": Exact but slow count algorithm. Performs a " - }, - { - "kind": "code", - "text": "`COUNT(*)`" - }, - { - "kind": "text", - "text": " under the\nhood.\n\n" - }, - { - "kind": "code", - "text": "`\"planned\"`" - }, - { - "kind": "text", - "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" - }, - { - "kind": "code", - "text": "`\"estimated\"`" - }, - { - "kind": "text", - "text": ": Uses exact count for low numbers and planned count for high\nnumbers." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 125, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 124, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L125" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L124" } ], "type": { @@ -28368,30 +115959,40 @@ "groups": [ { "title": "Properties", - "children": [88] + "children": [125] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 124, - "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L124" + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 123, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L123" } ] } - }, - "defaultValue": "{}" + } } ], "type": { "type": "reference", - "id": 112, + "target": 170, "typeArguments": [ { "type": "reference", - "id": 52, - "name": "Schema" + "target": 78, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 79, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -28401,40 +116002,281 @@ }, "objectType": { "type": "reference", - "id": 53, - "name": "Relation" + "target": 80, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 81, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 82, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "POST" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + }, + { + "id": 126, + "name": "insert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 135, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L135" + } + ], + "typeParameters": [ + { + "id": 127, + "name": "Row", + "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": 128, + "name": "values", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 127, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + } + }, + { + "id": 129, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 130, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 131, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 138, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L138" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 132, + "name": "defaultToNull", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 139, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L139" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [131, 132] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 137, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L137" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 170, + "typeArguments": [ + { + "type": "reference", + "target": 78, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 79, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "target": 80, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true + } + }, + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 81, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 82, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "POST" + } + ], + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 73, + "id": 110, "name": "select", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 55, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 63, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L55" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L63" } ], "signatures": [ { - "id": 74, + "id": 111, "name": "select", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -28444,12 +116286,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 75, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 63, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L63" + } + ], + "typeParameters": [ + { + "id": 112, "name": "Query", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -28461,18 +116311,22 @@ } }, { - "id": 76, - "name": "Result", + "id": 113, + "name": "ResultOne", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", + "target": 811, "typeArguments": [ { "type": "reference", - "id": 52, - "name": "Schema" + "target": 79, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -28482,26 +116336,56 @@ }, "objectType": { "type": "reference", - "id": 53, - "name": "Relation" + "target": 80, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { "type": "reference", - "id": 75, - "name": "Query" + "target": 81, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 82, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 112, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 78, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true } ], - "name": "GetResult" + "name": "GetResult", + "package": "@supabase/postgrest-js" } } ], "parameters": [ { - "id": 77, + "id": 114, "name": "columns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, @@ -28509,22 +116393,30 @@ "summary": [ { "kind": "text", - "text": "The columns to retrieve, separated by commas" + "text": "The columns to retrieve, separated by commas. Columns can be renamed when returned with " + }, + { + "kind": "code", + "text": "`customName:columnName`" } ] }, "type": { "type": "reference", - "id": 75, - "name": "Query" + "target": 112, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 78, + "id": 115, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { @@ -28533,21 +116425,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 79, + "id": 116, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 81, + "id": 118, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -28593,10 +116484,10 @@ }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 65, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 77, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L65" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L77" } ], "type": { @@ -28618,10 +116509,10 @@ } }, { - "id": 80, + "id": 117, "name": "head", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -28651,10 +116542,10 @@ }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 64, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 76, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L64" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L76" } ], "type": { @@ -28666,30 +116557,40 @@ "groups": [ { "title": "Properties", - "children": [81, 80] + "children": [118, 117] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 63, - "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L63" + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 75, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L75" } ] } - }, - "defaultValue": "{}" + } } ], "type": { "type": "reference", - "id": 112, + "target": 170, "typeArguments": [ { "type": "reference", - "id": 52, - "name": "Schema" + "target": 78, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 79, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -28699,41 +116600,71 @@ }, "objectType": { "type": "reference", - "id": 53, - "name": "Relation" + "target": 80, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true + } + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 113, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { "type": "reference", - "id": 76, - "name": "Result" + "target": 81, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 82, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "GET" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 98, + "id": 151, "name": "update", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 250, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 366, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L250" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L366" } ], "signatures": [ { - "id": 99, + "id": 152, "name": "update", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -28751,15 +116682,27 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 100, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 366, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L366" + } + ], + "typeParameters": [ + { + "id": 153, "name": "Row", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -28771,17 +116714,16 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } } ], "parameters": [ { - "id": 101, + "id": 154, "name": "values", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -28793,15 +116735,17 @@ }, "type": { "type": "reference", - "id": 100, - "name": "Row" + "target": 153, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 102, + "id": 155, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -28811,21 +116755,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 103, + "id": 156, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 104, + "id": 157, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -28871,10 +116814,10 @@ }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 255, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 371, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L255" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L371" } ], "type": { @@ -28899,15 +116842,15 @@ "groups": [ { "title": "Properties", - "children": [104] + "children": [157] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 254, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 370, "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L254" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L370" } ] } @@ -28917,12 +116860,23 @@ ], "type": { "type": "reference", - "id": 112, + "target": 170, "typeArguments": [ { "type": "reference", - "id": 52, - "name": "Schema" + "target": 78, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 79, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -28932,106 +116886,289 @@ }, "objectType": { "type": "reference", - "id": 53, - "name": "Relation" + "target": 80, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 81, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 82, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "PATCH" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 89, + "id": 133, "name": "upsert", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto " + }, + { + "kind": "code", + "text": "`onConflict`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`.upsert()`" + }, + { + "kind": "text", + "text": " allows you to perform the equivalent of\n" + }, + { + "kind": "code", + "text": "`.insert()`" + }, + { + "kind": "text", + "text": " if a row with the corresponding " + }, + { + "kind": "code", + "text": "`onConflict`" + }, + { + "kind": "text", + "text": " columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n" + }, + { + "kind": "code", + "text": "`ignoreDuplicates`" + }, + { + "kind": "text", + "text": ".\n\nBy default, upserted rows are not returned. To return it, chain the call\nwith " + }, + { + "kind": "code", + "text": "`.select()`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "values", + "content": [ + { + "kind": "text", + "text": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows." + } + ] + }, + { + "tag": "@param", + "name": "options", + "content": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + { + "tag": "@param", + "name": "options.onConflict", + "content": [ + { + "kind": "text", + "text": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n" + }, + { + "kind": "code", + "text": "`onConflict`" + }, + { + "kind": "text", + "text": " columns are equal." + } + ] + }, + { + "tag": "@param", + "name": "options.ignoreDuplicates", + "content": [ + { + "kind": "text", + "text": "If " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", duplicate rows are ignored. If\n" + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ", duplicate rows are merged with existing rows." + } + ] + }, + { + "tag": "@param", + "name": "options.count", + "content": [ + { + "kind": "text", + "text": "Count algorithm to use to count upserted rows.\n\n" + }, + { + "kind": "code", + "text": "`\"exact\"`" + }, + { + "kind": "text", + "text": ": Exact but slow count algorithm. Performs a " + }, + { + "kind": "code", + "text": "`COUNT(*)`" + }, + { + "kind": "text", + "text": " under the\nhood.\n\n" + }, + { + "kind": "code", + "text": "`\"planned\"`" + }, + { + "kind": "text", + "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" + }, + { + "kind": "code", + "text": "`\"estimated\"`" + }, + { + "kind": "text", + "text": ": Uses exact count for low numbers and planned count for high\nnumbers." + } + ] + }, + { + "tag": "@param", + "name": "options.defaultToNull", + "content": [ + { + "kind": "text", + "text": "Make missing fields default to " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": ".\nOtherwise, use the default value for the column. This only applies when\ninserting new rows, not when merging with existing rows under\n" + }, + { + "kind": "code", + "text": "`ignoreDuplicates: false`" + }, + { + "kind": "text", + "text": ". This also only applies when doing bulk upserts." + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 192, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 222, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L192" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L222" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 238, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L238" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 293, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L293" } ], "signatures": [ { - "id": 90, + "id": 134, "name": "upsert", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto " - }, - { - "kind": "code", - "text": "`onConflict`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`.upsert()`" - }, - { - "kind": "text", - "text": " allows you to perform the equivalent of\n" - }, - { - "kind": "code", - "text": "`.insert()`" - }, - { - "kind": "text", - "text": " if a row with the corresponding " - }, - { - "kind": "code", - "text": "`onConflict`" - }, - { - "kind": "text", - "text": " columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n" - }, - { - "kind": "code", - "text": "`ignoreDuplicates`" - }, - { - "kind": "text", - "text": ".\n\nBy default, upserted rows are not returned. To return it, chain the call\nwith " - }, - { - "kind": "code", - "text": "`.select()`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 91, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 222, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L222" + } + ], + "typeParameters": [ + { + "id": 135, "name": "Row", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -29043,123 +117180,56 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } } ], "parameters": [ { - "id": 92, + "id": 136, "name": "values", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows." - } - ] - }, "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 91, - "name": "Row" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "id": 91, - "name": "Row" - } - } - ] + "type": "reference", + "target": 135, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 93, + "id": 137, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] + "flags": { + "isOptional": true }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 94, + "id": 138, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 97, + "id": 141, "name": "count", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Count algorithm to use to count upserted rows.\n\n" - }, - { - "kind": "code", - "text": "`\"exact\"`" - }, - { - "kind": "text", - "text": ": Exact but slow count algorithm. Performs a " - }, - { - "kind": "code", - "text": "`COUNT(*)`" - }, - { - "kind": "text", - "text": " under the\nhood.\n\n" - }, - { - "kind": "code", - "text": "`\"planned\"`" - }, - { - "kind": "text", - "text": ": Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n" - }, - { - "kind": "code", - "text": "`\"estimated\"`" - }, - { - "kind": "text", - "text": ": Uses exact count for low numbers and planned count for high\nnumbers." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 201, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 227, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L201" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L227" } ], "type": { @@ -29181,43 +117251,19 @@ } }, { - "id": 96, + "id": 140, "name": "ignoreDuplicates", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", duplicate rows are ignored. If\n" - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": ", duplicate rows are merged with existing rows." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 200, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 226, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L200" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L226" } ], "type": { @@ -29226,35 +117272,19 @@ } }, { - "id": 95, + "id": 139, "name": "onConflict", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n" - }, - { - "kind": "code", - "text": "`onConflict`" - }, - { - "kind": "text", - "text": " columns are equal." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 199, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 225, "character": 6, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L199" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L225" } ], "type": { @@ -29266,30 +117296,40 @@ "groups": [ { "title": "Properties", - "children": [97, 96, 95] + "children": [141, 140, 139] } ], "sources": [ { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 198, - "character": 7, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L198" + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 224, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L224" } ] } - }, - "defaultValue": "{}" + } } ], "type": { "type": "reference", - "id": 112, + "target": 170, "typeArguments": [ { "type": "reference", - "id": 52, - "name": "Schema" + "target": 78, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 79, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "indexedAccess", @@ -29299,125 +117339,70 @@ }, "objectType": { "type": "reference", - "id": 53, - "name": "Relation" + "target": 80, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 81, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 82, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "POST" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "children": [50] - }, - { - "title": "Properties", - "children": [68, 65, 66, 67, 64] - }, - { - "title": "Methods", - "children": [105, 82, 73, 98, 89] - } - ], - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 6, - "character": 21, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestQueryBuilder.ts#L6" - } - ], - "typeParameters": [ - { - "id": 110, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - } - }, - { - "id": 111, - "name": "Relation", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "GenericTable" - }, - { - "type": "reference", - "name": "GenericView" - } - ] - } - } - ] - }, - { - "id": 401, - "name": "PostgrestTransformBuilder", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 402, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "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": 403, - "name": "new PostgrestTransformBuilder", - "kind": 16384, - "kindString": "Constructor signature", + "id": 142, + "name": "upsert", + "variant": "signature", + "kind": 4096, "flags": {}, - "typeParameter": [ + "sources": [ { - "id": 404, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - } - }, + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 238, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L238" + } + ], + "typeParameters": [ { - "id": 405, + "id": 143, "name": "Row", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -29429,115 +117414,1090 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } - }, - { - "id": 406, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} } ], "parameters": [ { - "id": 407, - "name": "builder", + "id": 144, + "name": "values", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 498, - "typeArguments": [ - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "default" + "type": "array", + "elementType": { + "type": "reference", + "target": 143, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + } + }, + { + "id": 145, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 146, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 149, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 243, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L243" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 150, + "name": "defaultToNull", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 244, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L244" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 148, + "name": "ignoreDuplicates", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 242, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L242" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 147, + "name": "onConflict", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 241, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L241" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [149, 150, 148, 147] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 240, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L240" + } + ] + } } } ], "type": { "type": "reference", - "id": 401, + "target": 170, "typeArguments": [ { "type": "reference", - "id": 404, - "name": "Schema" + "target": 78, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 405, - "name": "Row" + "target": 79, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "target": 80, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true + } + }, + { + "type": "literal", + "value": null }, { "type": "reference", - "id": 406, - "name": "Result" + "target": 81, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 82, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": "POST" } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [76] + }, + { + "title": "Properties", + "children": [102, 99, 100, 101, 98] + }, + { + "title": "Methods", + "children": [158, 119, 110, 151, 133] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 11, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L11" + } + ], + "typeParameters": [ + { + "id": 163, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 808, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 164, + "name": "Schema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 165, + "name": "Relation", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericTable" + }, + "name": "GenericTable", + "package": "@supabase/postgrest-js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericView" + }, + "name": "GenericView", + "package": "@supabase/postgrest-js" + } + ] + } + }, + { + "id": 166, + "name": "RelationName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 167, + "name": "Relationships", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 80, + "name": "Relation", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relation", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 168, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 169, + "name": "Relationships", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 16, + "character": 37, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L16" + } + ], + "type": { + "type": "inferred", + "name": "R" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [169] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestQueryBuilder.ts", + "line": 16, + "character": 35, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestQueryBuilder.ts#L16" + } + ] + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "R" + }, + "name": "R", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "unknown" + } + } + } + ] + }, + { + "id": 546, + "name": "PostgrestTransformBuilder", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 547, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 31, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L31" + } + ], + "signatures": [ + { + "id": 548, + "name": "PostgrestTransformBuilder", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 31, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L31" + } + ], + "typeParameters": [ + { + "id": 549, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 808, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 550, + "name": "Schema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 551, + "name": "Row", + "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" + } + }, + { + "id": 552, + "name": "Result", + "variant": "typeParam", + "kind": 131072, + "flags": {} + }, + { + "id": 553, + "name": "RelationName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 554, + "name": "Relationships", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 555, + "name": "Method", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "parameters": [ + { + "id": 556, + "name": "builder", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 557, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 562, + "name": "body", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 36, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L36" + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 565, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 39, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L39" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 566, + "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": 567, + "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": 568, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" + } + ] + } + }, + { + "id": 569, + "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": 570, + "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": 571, + "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": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + } + ] + } + }, + { + "id": 572, + "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": 560, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 34, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L34" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HeadersInit" + }, + "name": "HeadersInit", + "package": "typescript" + } + }, + { + "id": 573, + "name": "isMaybeSingle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 40, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L40" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 558, + "name": "method", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 32, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L32" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 561, + "name": "schema", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 35, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L35" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 563, + "name": "shouldThrowOnError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 37, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L37" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 564, + "name": "signal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 38, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L38" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, + "name": "AbortSignal", + "package": "typescript" + } + }, + { + "id": 559, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 33, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L33" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [562, 565, 560, 573, 558, 561, 563, 564, 559] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 31, + "character": 23, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L31" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 546, + "typeArguments": [ + { + "type": "reference", + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 550, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 551, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 553, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 554, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 555, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true + } + ], + "name": "PostgrestTransformBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", - "id": 500, + "target": 707, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 499, + "target": 706, "name": "default.constructor" } }, { - "id": 480, - "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" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 515, - "name": "default.allowEmpty" - } - }, - { - "id": 472, + "id": 660, "name": "body", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, - "isOptional": true + "isOptional": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 12, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 25, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L12" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L25" } ], "type": { @@ -29546,101 +118506,233 @@ }, "inheritedFrom": { "type": "reference", - "id": 507, + "target": 733, "name": "default.body" } }, { - "id": 475, + "id": 663, "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 28, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L15" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L28" } ], "type": { "type": "reflection", "declaration": { - "id": 476, + "id": 664, "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": 477, + "id": 665, "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": 478, + "id": 666, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "union", "types": [ { "type": "reference", - "name": "RequestInfo", - "qualifiedName": "RequestInfo", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", "package": "typescript" }, { "type": "reference", - "name": "URL", - "qualifiedName": "URL", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", "package": "typescript" } ] } }, { - "id": 479, + "id": 667, "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": 668, + "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": 669, + "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": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + } + ] + } + }, + { + "id": 670, + "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" } } @@ -29649,62 +118741,84 @@ }, "inheritedFrom": { "type": "reference", - "id": 510, + "target": 736, "name": "default.fetch" } }, { - "id": 470, + "id": 658, "name": "headers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 10, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 23, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L10" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L23" } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "qualifiedName": "Record", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Headers" + }, + "name": "Headers", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 505, + "target": 731, "name": "default.headers" } }, { - "id": 468, - "name": "method", + "id": 671, + "name": "isMaybeSingle", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 8, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 29, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L8" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L29" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 744, + "name": "default.isMaybeSingle" + } + }, + { + "id": 656, + "name": "method", + "variant": "declaration", + "kind": 1024, + "flags": { + "isProtected": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 21, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L21" } ], "type": { @@ -29734,25 +118848,26 @@ }, "inheritedFrom": { "type": "reference", - "id": 503, + "target": 729, "name": "default.method" } }, { - "id": 471, + "id": 659, "name": "schema", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, - "isOptional": true + "isOptional": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 11, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 24, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L11" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L24" } ], "type": { @@ -29761,24 +118876,25 @@ }, "inheritedFrom": { "type": "reference", - "id": 506, + "target": 732, "name": "default.schema" } }, { - "id": 473, + "id": 661, "name": "shouldThrowOnError", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 26, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L13" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L26" } ], "type": { @@ -29788,87 +118904,95 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 508, + "target": 734, "name": "default.shouldThrowOnError" } }, { - "id": 474, + "id": 662, "name": "signal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isProtected": true, - "isOptional": true + "isOptional": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 27, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L14" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L27" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 509, + "target": 735, "name": "default.signal" } }, { - "id": 469, + "id": 657, "name": "url", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { - "isProtected": true + "isProtected": true, + "isInherited": true }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 9, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 22, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L9" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L22" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, "name": "URL", - "qualifiedName": "URL", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 504, + "target": 730, "name": "default.url" } }, { - "id": 442, + "id": 625, "name": "abortSignal", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 130, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 200, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L130" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L200" } ], "signatures": [ { - "id": 443, + "id": 626, "name": "abortSignal", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -29878,12 +119002,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 200, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L200" + } + ], "parameters": [ { - "id": 444, + "id": 627, "name": "signal", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -29895,57 +119027,42 @@ }, "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, "name": "AbortSignal", - "qualifiedName": "AbortSignal", "package": "typescript" } } ], "type": { - "type": "reference", - "id": 401, - "typeArguments": [ - { - "type": "reference", - "id": 404, - "name": "Schema" - }, - { - "type": "reference", - "id": 405, - "name": "Row" - }, - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 449, + "id": 634, "name": "csv", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 161, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 242, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L161" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L242" } ], "signatures": [ { - "id": 450, + "id": 635, "name": "csv", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -29963,48 +119080,58 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 242, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L242" + } + ], "type": { "type": "reference", + "target": 705, "typeArguments": [ { "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "string" } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 453, + "id": 638, "name": "explain", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 195, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 280, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L195" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L280" } ], "signatures": [ { - "id": 454, + "id": 639, "name": "explain", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -30018,16 +119145,24 @@ }, { "kind": "text", - "text": " as the EXPLAIN plan for the query." + "text": " as the EXPLAIN plan for the query.\n\nYou need to enable the\n[db_plan_enabled](https://supabase.com/docs/guides/database/debugging-performance#enabling-explain)\nsetting before using this method." } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 280, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L280" + } + ], "parameters": [ { - "id": 455, + "id": 640, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -30037,21 +119172,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 456, + "id": 641, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 642, "name": "analyze", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -30073,22 +119207,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 203, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 288, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L203" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L288" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 460, + "id": 645, "name": "buffers", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -30110,22 +119245,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 206, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 291, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L206" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L291" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 462, + "id": 647, "name": "format", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -30151,10 +119287,10 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 208, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 293, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L208" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L293" } ], "type": { @@ -30169,13 +119305,14 @@ "value": "json" } ] - } + }, + "defaultValue": "'text'" }, { - "id": 459, + "id": 644, "name": "settings", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -30197,22 +119334,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 205, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 290, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L205" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L290" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 458, + "id": 643, "name": "verbose", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -30242,22 +119380,23 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 204, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 289, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L204" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L289" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" }, { - "id": 461, + "id": 646, "name": "wal", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -30279,30 +119418,31 @@ }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 207, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 292, "character": 4, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L207" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L292" } ], "type": { "type": "intrinsic", "name": "boolean" - } + }, + "defaultValue": "false" } ], "groups": [ { "title": "Properties", - "children": [457, 460, 462, 459, 458, 461] + "children": [642, 645, 647, 644, 643, 646] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 202, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 287, "character": 5, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L202" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L287" } ] } @@ -30315,53 +119455,71 @@ "types": [ { "type": "reference", + "target": 705, "typeArguments": [ { "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": false } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, { "type": "reference", + "target": 705, "typeArguments": [ { "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - ], - "name": "PostgrestResponse" + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "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" + } + }, + { + "type": "literal", + "value": false } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } ] } @@ -30369,25 +119527,25 @@ ] }, { - "id": 451, + "id": 636, "name": "geojson", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 169, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 250, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L169" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L250" } ], "signatures": [ { - "id": 452, + "id": 637, "name": "geojson", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -30405,60 +119563,73 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 250, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L250" + } + ], "type": { "type": "reference", + "target": 705, "typeArguments": [ { "type": "reference", - "id": 533, + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "PostgrestSingleResponse" + "name": "Record", + "package": "typescript" } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 429, + "id": 610, "name": "limit", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 151, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L101" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L151" } ], "signatures": [ { - "id": 430, + "id": 611, "name": "limit", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -30476,12 +119647,20 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 151, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L151" + } + ], "parameters": [ { - "id": 431, + "id": 612, "name": "count", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -30497,10 +119676,10 @@ } }, { - "id": 432, + "id": 613, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -30510,21 +119689,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 433, + "id": 614, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 434, + "id": 615, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -30532,36 +119710,74 @@ "summary": [ { "kind": "text", - "text": "Set this to limit rows of foreign tables\ninstead of the current table" + "text": "Deprecated, use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": "\ninstead" } ] }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, - "character": 43, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L101" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 156, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L156" } ], "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 616, + "name": "referencedTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set this to limit rows of referenced\ntables instead of the parent table" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 156, + "character": 32, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L156" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "foreignTable" } ], "groups": [ { "title": "Properties", - "children": [434] + "children": [615, 616] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, - "character": 41, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L101" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 156, + "character": 7, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L156" } ] } @@ -30570,50 +119786,249 @@ } ], "type": { - "type": "reference", - "id": 401, - "typeArguments": [ - { - "type": "reference", - "id": 404, - "name": "Schema" - }, - { - "type": "reference", - "id": 405, - "name": "Row" - }, - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 447, - "name": "maybeSingle", + "id": 653, + "name": "maxAffected", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 152, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 359, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L152" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L359" } ], "signatures": [ { - "id": 448, + "id": 654, + "name": "maxAffected", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the maximum number of rows that can be affected by the query.\nOnly available in PostgREST v13+ and only works with PATCH and DELETE methods." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 359, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L359" + } + ], + "parameters": [ + { + "id": 655, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum number of rows that can be affected" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/feature-flags.ts", + "qualifiedName": "MaxAffectedEnabled" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "PostgrestVersion" + }, + "objectType": { + "type": "reference", + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + } + } + ], + "name": "MaxAffectedEnabled", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 555, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + }, + { + "type": "literal", + "value": "RPC" + } + ] + }, + "trueType": { + "type": "reference", + "target": 546, + "typeArguments": [ + { + "type": "reference", + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 550, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 551, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 553, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 554, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 555, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true + } + ], + "name": "PostgrestTransformBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "InvalidMethodError" + }, + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on update or delete" + } + ], + "name": "InvalidMethodError", + "package": "@supabase/postgrest-js" + } + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "InvalidMethodError" + }, + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on postgrest 13+" + } + ], + "name": "InvalidMethodError", + "package": "@supabase/postgrest-js" + } + } + } + ] + }, + { + "id": 631, + "name": "maybeSingle", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 225, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L225" + } + ], + "signatures": [ + { + "id": 632, "name": "maybeSingle", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -30639,84 +120054,290 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 225, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L225" + } + ], + "typeParameters": [ + { + "id": 633, + "name": "ResultOne", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "target": 705, "typeArguments": [ { "type": "reference", - "id": 535, - "typeArguments": [ + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", - "id": 406, - "name": "Result" + "target": 474, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } - ], - "name": "PostgrestMaybeSingleResponse" + ] } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 413, + "id": 579, "name": "order", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Order the query result by " + }, + { + "kind": "code", + "text": "`column`" + }, + { + "kind": "text", + "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use " + }, + { + "kind": "code", + "text": "`!inner`" + }, + { + "kind": "text", + "text": " in the query." + } + ], + "blockTags": [ + { + "tag": "@param", + "name": "column", + "content": [ + { + "kind": "text", + "text": "The column to order by" + } + ] + }, + { + "tag": "@param", + "name": "options", + "content": [ + { + "kind": "text", + "text": "Named parameters" + } + ] + }, + { + "tag": "@param", + "name": "options.ascending", + "content": [ + { + "kind": "text", + "text": "If " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the result will be in ascending order" + } + ] + }, + { + "tag": "@param", + "name": "options.nullsFirst", + "content": [ + { + "kind": "text", + "text": "If " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": "s appear first. If " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ",\n" + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": "s appear last." + } + ] + }, + { + "tag": "@param", + "name": "options.referencedTable", + "content": [ + { + "kind": "text", + "text": "Set this to order a referenced table by\nits columns" + } + ] + }, + { + "tag": "@param", + "name": "options.foreignTable", + "content": [ + { + "kind": "text", + "text": "Deprecated, use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": "\ninstead" + } + ] + } + ] + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 65, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 75, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L65" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L75" }, { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 69, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 79, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L69" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L79" }, { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 73, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 86, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L73" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L86" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 93, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L93" + }, + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 115, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L115" } ], "signatures": [ { - "id": 414, + "id": 580, "name": "order", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Order the query result by " - }, - { - "kind": "code", - "text": "`column`" - }, - { - "kind": "text", - "text": ".\n\nYou can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table." - } - ] - }, - "typeParameter": [ + "sources": [ { - "id": 415, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 75, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L75" + } + ], + "typeParameters": [ + { + "id": 581, "name": "ColumnName", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -30726,80 +120347,50 @@ ], "parameters": [ { - "id": 416, + "id": 582, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The column to order by" - } - ] - }, "type": { "type": "reference", - "id": 318, - "name": "ColumnName" + "target": 422, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } }, { - "id": 417, + "id": 583, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Named parameters" - } - ] - }, "type": { "type": "reflection", "declaration": { - "id": 418, + "id": 584, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 419, + "id": 585, "name": "ascending", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", the result will be in ascending order" - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 67, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 77, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L67" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L77" } ], "type": { @@ -30808,27 +120399,321 @@ } }, { - "id": 421, - "name": "foreignTable", + "id": 586, + "name": "nullsFirst", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set this to order a foreign table by foreign\ncolumns" - } - ] + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 77, + "character": 37, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L77" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 587, + "name": "referencedTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 67, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 77, "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L67" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L77" + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [585, 586, 587] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 77, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L77" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + }, + { + "id": 588, + "name": "order", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 79, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L79" + } + ], + "parameters": [ + { + "id": 589, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 591, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 592, + "name": "ascending", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 81, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L81" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 593, + "name": "nullsFirst", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 81, + "character": 37, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L81" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 594, + "name": "referencedTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 81, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L81" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [592, 593, 594] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 81, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L81" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + }, + { + "id": 595, + "name": "order", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": " instead of " + }, + { + "kind": "code", + "text": "`options.foreignTable`" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 86, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L86" + } + ], + "typeParameters": [ + { + "id": 596, + "name": "ColumnName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 597, + "name": "column", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 437, + "name": "ColumnName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + { + "id": 598, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 599, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 600, + "name": "ascending", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 88, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L88" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 602, + "name": "foreignTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 88, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L88" } ], "type": { @@ -30837,59 +120722,19 @@ } }, { - "id": 420, + "id": 601, "name": "nullsFirst", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "s appear first. If " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": ",\n" - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "s appear last." - } - ] - }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 67, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 88, "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L67" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L88" } ], "type": { @@ -30901,15 +120746,15 @@ "groups": [ { "title": "Properties", - "children": [419, 421, 420] + "children": [600, 602, 601] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 67, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 88, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L67" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L88" } ] } @@ -30917,40 +120762,56 @@ } ], "type": { - "type": "reference", - "id": 401, - "typeArguments": [ - { - "type": "reference", - "id": 404, - "name": "Schema" - }, - { - "type": "reference", - "id": 405, - "name": "Row" - }, - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } }, { - "id": 422, + "id": 603, "name": "order", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": " instead of " + }, + { + "kind": "code", + "text": "`options.foreignTable`" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 93, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L93" + } + ], "parameters": [ { - "id": 423, + "id": 604, "name": "column", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -30958,36 +120819,36 @@ } }, { - "id": 424, + "id": 605, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reflection", "declaration": { - "id": 425, + "id": 606, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 426, + "id": 607, "name": "ascending", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 71, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 95, "character": 16, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L71" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L95" } ], "type": { @@ -30996,17 +120857,19 @@ } }, { - "id": 428, + "id": 609, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 71, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 95, "character": 59, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L71" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L95" } ], "type": { @@ -31015,19 +120878,19 @@ } }, { - "id": 427, + "id": 608, "name": "nullsFirst", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 71, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 95, "character": 37, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L71" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L95" } ], "type": { @@ -31039,15 +120902,215 @@ "groups": [ { "title": "Properties", - "children": [426, 428, 427] + "children": [607, 609, 608] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 71, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 95, "character": 14, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L71" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L95" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 690, + "name": "overrideTypes", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 270, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L270" + } + ], + "signatures": [ + { + "id": 691, + "name": "overrideTypes", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Override the type of the returned " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field in the response." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A PostgrestBuilder instance with the new type" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 270, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L270" + } + ], + "typeParameters": [ + { + "id": 692, + "name": "NewResult", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new type to cast the response data to" + } + ] + } + }, + { + "id": 693, + "name": "Options", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional type configuration (defaults to { merge: true })" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 694, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 695, + "name": "merge", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 272, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L272" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [695] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 272, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L272" + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 696, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 697, + "name": "merge", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 272, + "character": 44, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L272" + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [697] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 272, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L272" } ] } @@ -31056,55 +121119,259 @@ ], "type": { "type": "reference", - "id": 401, + "target": 705, "typeArguments": [ { "type": "reference", - "id": 404, - "name": "Schema" + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { - "type": "reference", - "id": 405, - "name": "Row" + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "IsValidResultOverride" + }, + "typeArguments": [ + { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 533, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/types.ts", + "qualifiedName": "ContainsNull" + }, + "typeArguments": [ + { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "ContainsNull", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "MergePartialResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": 533, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "NonNullable" + }, + "typeArguments": [ + { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "NonNullable", + "package": "typescript" + }, + { + "type": "reference", + "target": 534, + "name": "Options", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "MergePartialResult", + "package": "@supabase/postgrest-js" + } + ] + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "MergePartialResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": 533, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 534, + "name": "Options", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "MergePartialResult", + "package": "@supabase/postgrest-js" + } + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "CheckMatchingArrayTypes" + }, + "typeArguments": [ + { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 533, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "CheckMatchingArrayTypes", + "package": "@supabase/postgrest-js" + } }, { - "type": "reference", - "id": 406, - "name": "Result" + "type": "literal", + "value": false } ], - "name": "default" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + }, + "inheritedFrom": { + "type": "reference", + "target": 767, + "name": "default.overrideTypes" } } - ] + ], + "inheritedFrom": { + "type": "reference", + "target": 766, + "name": "default.overrideTypes" + } }, { - "id": 435, + "id": 617, "name": "range", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 178, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L116" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L178" } ], "signatures": [ { - "id": 436, + "id": 618, "name": "range", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Limit the query result by " + "text": "Limit the query result by starting at an offset " + }, + { + "kind": "code", + "text": "`from`" + }, + { + "kind": "text", + "text": " and ending at the offset " + }, + { + "kind": "code", + "text": "`to`" + }, + { + "kind": "text", + "text": ".\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe " }, { "kind": "code", @@ -31120,16 +121387,32 @@ }, { "kind": "text", - "text": " inclusively." + "text": " values are 0-based and inclusive: " + }, + { + "kind": "code", + "text": "`range(1, 3)`" + }, + { + "kind": "text", + "text": " will include the second, third\nand fourth rows of the query." } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 178, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L178" + } + ], "parameters": [ { - "id": 437, + "id": 619, "name": "from", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -31145,10 +121428,10 @@ } }, { - "id": 438, + "id": 620, "name": "to", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -31164,10 +121447,10 @@ } }, { - "id": 439, + "id": 621, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { "summary": [ @@ -31177,21 +121460,20 @@ } ] }, - "originalName": "__namedParameters", "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 622, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 441, + "id": 623, "name": "foreignTable", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -31199,36 +121481,74 @@ "summary": [ { "kind": "text", - "text": "Set this to limit rows of foreign tables\ninstead of the current table" + "text": "Deprecated, use " + }, + { + "kind": "code", + "text": "`options.referencedTable`" + }, + { + "kind": "text", + "text": "\ninstead" } ] }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, - "character": 54, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L116" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 184, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L184" } ], "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 624, + "name": "referencedTable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set this to limit rows of referenced\ntables instead of the parent table" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 184, + "character": 32, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L184" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "foreignTable" } ], "groups": [ { "title": "Properties", - "children": [441] + "children": [623, 624] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, - "character": 52, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L116" + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 184, + "character": 7, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L184" } ] } @@ -31237,50 +121557,32 @@ } ], "type": { - "type": "reference", - "id": 401, - "typeArguments": [ - { - "type": "reference", - "id": 404, - "name": "Schema" - }, - { - "type": "reference", - "id": 405, - "name": "Row" - }, - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 465, + "id": 650, "name": "returns", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 249, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 333, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L249" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L333" } ], "signatures": [ { - "id": 466, + "id": 651, "name": "returns", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -31296,14 +121598,33 @@ "kind": "text", "text": "." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use overrideTypes() method at the end of your call chain instead" + } + ] + } ] }, - "typeParameter": [ + "sources": [ { - "id": 467, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 333, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L333" + } + ], + "typeParameters": [ + { + "id": 652, "name": "NewResult", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "comment": { "summary": [ @@ -31317,49 +121638,120 @@ ], "type": { "type": "reference", - "id": 401, + "target": 546, "typeArguments": [ { "type": "reference", - "id": 404, - "name": "Schema" + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 405, - "name": "Row" + "target": 550, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 370, - "name": "NewResult" + "target": 551, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "CheckMatchingArrayTypes" + }, + "typeArguments": [ + { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 493, + "name": "NewResult", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "CheckMatchingArrayTypes", + "package": "@supabase/postgrest-js" + }, + { + "type": "reference", + "target": 553, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 554, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 555, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestTransformBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + }, + "overwrites": { + "type": "reference", + "target": 764, + "name": "default.returns" } } - ] + ], + "overwrites": { + "type": "reference", + "target": 763, + "name": "default.returns" + } }, { - "id": 463, + "id": 648, "name": "rollback", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 235, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 322, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L235" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L322" } ], "signatures": [ { - "id": 464, + "id": 649, "name": "rollback", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -31377,51 +121769,41 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 322, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L322" + } + ], "type": { - "type": "reference", - "id": 401, - "typeArguments": [ - { - "type": "reference", - "id": 404, - "name": "Schema" - }, - { - "type": "reference", - "id": 405, - "name": "Row" - }, - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "default" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 408, + "id": 574, "name": "select", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 24, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 26, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L24" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L26" } ], "signatures": [ { - "id": 409, + "id": 575, "name": "select", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -31471,12 +121853,20 @@ } ] }, - "typeParameter": [ + "sources": [ { - "id": 410, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 26, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L26" + } + ], + "typeParameters": [ + { + "id": 576, "name": "Query", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "intrinsic", @@ -31488,40 +121878,74 @@ } }, { - "id": 411, - "name": "NewResult", + "id": 577, + "name": "NewResultOne", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", + "target": 811, "typeArguments": [ { "type": "reference", - "id": 404, - "name": "Schema" + "target": 550, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 405, - "name": "Row" + "target": 551, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true }, { "type": "reference", - "id": 313, - "name": "Query" + "target": 553, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 554, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 417, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true } ], - "name": "GetResult" + "name": "GetResult", + "package": "@supabase/postgrest-js" } } ], "parameters": [ { - "id": 412, + "id": 578, "name": "columns", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, @@ -31535,56 +121959,235 @@ }, "type": { "type": "reference", - "id": 313, - "name": "Query" + "target": 417, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } } ], "type": { "type": "reference", - "id": 401, + "target": 170, "typeArguments": [ { "type": "reference", - "id": 404, - "name": "Schema" + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true }, { "type": "reference", - "id": 405, - "name": "Row" + "target": 550, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true }, { "type": "reference", - "id": 314, - "name": "NewResult" + "target": 551, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 555, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "literal", + "value": "RPC" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + }, + "trueType": { + "type": "array", + "elementType": { + "type": "reference", + "target": 418, + "name": "NewResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "reference", + "target": 418, + "name": "NewResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "array", + "elementType": { + "type": "reference", + "target": 418, + "name": "NewResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + } + }, + { + "type": "reference", + "target": 553, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 554, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 555, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true } ], - "name": "default" + "name": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 445, - "name": "single", + "id": 674, + "name": "setHeader", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 141, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 72, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L141" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L72" } ], "signatures": [ { - "id": 446, + "id": 675, + "name": "setHeader", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set an HTTP header for the request." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 72, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L72" + } + ], + "parameters": [ + { + "id": 676, + "name": "name", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 677, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": 748, + "name": "default.setHeader" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 747, + "name": "default.setHeader" + } + }, + { + "id": 628, + "name": "single", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 211, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L211" + } + ], + "signatures": [ + { + "id": 629, "name": "single", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { "summary": [ @@ -31610,75 +122213,169 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 211, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L211" + } + ], + "typeParameters": [ + { + "id": 630, + "name": "ResultOne", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "target": 705, "typeArguments": [ { "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 471, + "name": "ResultOne", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], - "name": "PromiseLike", - "qualifiedName": "PromiseLike", - "package": "typescript" + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } } ] }, { - "id": 483, + "id": 678, "name": "then", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 78, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L48" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L78" } ], "signatures": [ { - "id": 484, + "id": 679, "name": "then", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Attaches callbacks for the resolution and/or rejection of the Promise." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Promise for the completion of which ever callback is executed." + } + ] + } + ] + }, + "sources": [ { - "id": 485, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 78, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L78" + } + ], + "typeParameters": [ + { + "id": 680, "name": "TResult1", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "target": 804, "typeArguments": [ { "type": "reference", - "id": 406, - "name": "Result" + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" } }, { - "id": 486, + "id": 681, "name": "TResult2", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "default": { "type": "intrinsic", @@ -31688,13 +122385,21 @@ ], "parameters": [ { - "id": 487, + "id": 682, "name": "onfulfilled", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is resolved." + } + ] + }, "type": { "type": "union", "types": [ @@ -31705,44 +122410,56 @@ { "type": "reflection", "declaration": { - "id": 488, + "id": 683, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 50, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 85, "character": 9, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L50" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L85" } ], "signatures": [ { - "id": 489, + "id": 684, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 85, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L85" + } + ], "parameters": [ { - "id": 490, + "id": 685, "name": "value", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 531, + "target": 804, "typeArguments": [ { "type": "reference", - "id": 406, - "name": "Result" + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" } } ], @@ -31751,20 +122468,27 @@ "types": [ { "type": "reference", - "id": 388, - "name": "TResult1" + "target": 521, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "reference", - "id": 388, - "name": "TResult1" + "target": 521, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" } ] @@ -31777,13 +122501,21 @@ } }, { - "id": 491, + "id": 686, "name": "onrejected", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is rejected." + } + ] + }, "type": { "type": "union", "types": [ @@ -31794,32 +122526,40 @@ { "type": "reflection", "declaration": { - "id": 492, + "id": 687, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 53, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 92, "character": 18, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L53" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L92" } ], "signatures": [ { - "id": 493, + "id": 688, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 92, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L92" + } + ], "parameters": [ { - "id": 494, + "id": 689, "name": "reason", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -31832,20 +122572,27 @@ "types": [ { "type": "reference", - "id": 389, - "name": "TResult2" + "target": 522, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "reference", - "id": 389, - "name": "TResult2" + "target": 522, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" } ] @@ -31860,61 +122607,72 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", - "id": 388, - "name": "TResult1" + "target": 521, + "name": "TResult1", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "reference", - "id": 389, - "name": "TResult2" + "target": 522, + "name": "TResult2", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } ] } ], "name": "PromiseLike", - "qualifiedName": "PromiseLike", "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 519, + "target": 752, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 518, + "target": 751, "name": "default.then" } }, { - "id": 481, + "id": 672, "name": "throwOnError", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/PostgrestBuilder.ts", - "line": 43, + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 64, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestBuilder.ts#L43" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L64" } ], "signatures": [ { - "id": 482, + "id": 673, "name": "throwOnError", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, + "flags": { + "isInherited": true + }, "comment": { "summary": [ { @@ -31929,38 +122687,123 @@ } ] }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/PostgrestBuilder.ts", + "line": 64, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestBuilder.ts#L64" + } + ], "type": { - "type": "reference", - "id": 401, - "typeArguments": [ + "type": "intersection", + "types": [ { "type": "reference", - "id": 404, - "name": "Schema" + "target": 546, + "typeArguments": [ + { + "type": "reference", + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 550, + "name": "Schema", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Schema", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 551, + "name": "Row", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Row", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 553, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.RelationName", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 554, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Relationships", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 555, + "name": "Method", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Method", + "refersToTypeParameter": true + } + ], + "name": "PostgrestTransformBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" }, { "type": "reference", - "id": 405, - "name": "Row" - }, - { - "type": "reference", - "id": 406, - "name": "Result" + "target": 705, + "typeArguments": [ + { + "type": "reference", + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": true + } + ], + "name": "PostgrestBuilder", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" } - ], - "name": "default" + ] }, "inheritedFrom": { "type": "reference", - "id": 517, + "target": 746, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 516, + "target": 745, "name": "default.throwOnError" } } @@ -31968,45 +122811,69 @@ "groups": [ { "title": "Constructors", - "children": [402] + "children": [547] }, { "title": "Properties", - "children": [480, 472, 475, 470, 468, 471, 473, 474, 469] + "children": [660, 663, 658, 671, 656, 659, 661, 662, 657] }, { "title": "Methods", - "children": [442, 449, 453, 451, 429, 447, 413, 435, 465, 463, 408, 445, 483, 481] + "children": [ + 625, 634, 638, 636, 610, 653, 631, 579, 690, 617, 650, 648, 574, 674, 628, 678, 672 + ] } ], "sources": [ { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 10, + "fileName": "packages/core/postgrest-js/src/PostgrestTransformBuilder.ts", + "line": 8, "character": 21, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/PostgrestTransformBuilder.ts#L10" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/PostgrestTransformBuilder.ts#L8" } ], "typeParameters": [ { - "id": 495, - "name": "Schema", + "id": 698, + "name": "ClientOptions", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "name": "GenericSchema" + "target": 808, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" } }, { - "id": 496, - "name": "Row", + "id": 699, + "name": "Schema", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 700, + "name": "Row", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -32018,146 +122885,432 @@ } ], "name": "Record", - "qualifiedName": "Record", "package": "typescript" } }, { - "id": 497, + "id": 701, "name": "Result", + "variant": "typeParam", + "kind": 131072, + "flags": {} + }, + { + "id": 702, + "name": "RelationName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 703, + "name": "Relationships", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 704, + "name": "Method", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 705, + "typeArguments": [ + { + "type": "reference", + "target": 549, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.ClientOptions", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 552, + "name": "Result", + "package": "@supabase/postgrest-js", + "qualifiedName": "default.Result", + "refersToTypeParameter": true + } + ], + "name": "default", + "package": "@supabase/postgrest-js" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 170, + "name": "PostgrestFilterBuilder" + } + ] + }, + { + "id": 791, + "name": "PostgrestResponseFailure", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 794, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 23, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L23" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 793, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 22, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L22" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 792, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 21, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L21" + } + ], + "type": { + "type": "reference", + "target": 777, + "name": "PostgrestError", + "package": "@supabase/postgrest-js", + "qualifiedName": "default" + } + }, + { + "id": 795, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 12, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L12" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "PostgrestResponseBase.status" + } + }, + { + "id": 796, + "name": "statusText", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 13, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L13" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "PostgrestResponseBase.statusText" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [794, 793, 792, 795, 796] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 20, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L20" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseBase" + }, + "name": "PostgrestResponseBase", + "package": "@supabase/postgrest-js" + } + ] + }, + { + "id": 797, + "name": "PostgrestResponseSuccess", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 800, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L18" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 799, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 17, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L17" + } + ], + "type": { + "type": "reference", + "target": 803, + "name": "T", + "package": "@supabase/postgrest-js", + "qualifiedName": "PostgrestResponseSuccess.T", + "refersToTypeParameter": true + } + }, + { + "id": 798, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 16, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L16" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 801, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 12, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L12" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "PostgrestResponseBase.status" + } + }, + { + "id": 802, + "name": "statusText", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 13, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L13" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "PostgrestResponseBase.statusText" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [800, 799, 798, 801, 802] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 15, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L15" + } + ], + "typeParameters": [ + { + "id": 803, + "name": "T", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {} } ], "extendedTypes": [ { "type": "reference", - "id": 498, - "typeArguments": [ - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "default" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 112, - "name": "PostgrestFilterBuilder" + "target": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseBase" + }, + "name": "PostgrestResponseBase", + "package": "@supabase/postgrest-js" } ] }, { - "id": 537, - "name": "PostgrestError", - "kind": 4194304, - "kindString": "Type alias", + "id": 808, + "name": "PostgrestClientOptions", + "variant": "declaration", + "kind": 2097152, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Error format\n\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" - } - ] - }, "sources": [ { - "fileName": "src/types.ts", - "line": 8, + "fileName": "packages/core/postgrest-js/src/types/common/common.ts", + "line": 54, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/types.ts#L8" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/common/common.ts#L54" } ], "type": { "type": "reflection", "declaration": { - "id": 538, + "id": 809, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 542, - "name": "code", + "id": 810, + "name": "PostgrestVersion", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { - "fileName": "src/types.ts", - "line": 12, + "fileName": "packages/core/postgrest-js/src/types/common/common.ts", + "line": 55, "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/types.ts#L12" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 540, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 10, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/types.ts#L10" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 541, - "name": "hint", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 11, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/types.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 539, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 9, - "character": 2, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/types.ts#L9" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/common/common.ts#L55" } ], "type": { @@ -32169,54 +123322,56 @@ "groups": [ { "title": "Properties", - "children": [542, 540, 541, 539] + "children": [810] } ], "sources": [ { - "fileName": "src/types.ts", - "line": 8, - "character": 29, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/types.ts#L8" + "fileName": "packages/core/postgrest-js/src/types/common/common.ts", + "line": 54, + "character": 34, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/common/common.ts#L54" } ] } } }, { - "id": 535, + "id": 806, "name": "PostgrestMaybeSingleResponse", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/types.ts", - "line": 45, + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 30, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/types.ts#L45" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L30" } ], "typeParameters": [ { - "id": 536, + "id": 807, "name": "T", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {} } ], "type": { "type": "reference", - "id": 533, + "target": 804, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", - "id": 536, - "name": "T" + "target": 807, + "name": "T", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true }, { "type": "literal", @@ -32225,913 +123380,226 @@ ] } ], - "name": "PostgrestSingleResponse" + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" } }, { - "id": 531, + "id": 789, "name": "PostgrestResponse", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/types.ts", - "line": 35, + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 31, "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/types.ts#L35" + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L31" } ], "typeParameters": [ { - "id": 532, + "id": 790, "name": "T", + "variant": "typeParam", "kind": 131072, - "kindString": "Type parameter", "flags": {} } ], "type": { - "type": "union", - "types": [ + "type": "reference", + "target": 804, + "typeArguments": [ { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 532, - "name": "T" - } - ], - "name": "PostgrestResponseSuccess" - }, - { - "type": "reference", - "name": "PostgrestResponseFailure" - } - ] - } - }, - { - "id": 533, - "name": "PostgrestSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 42, - "character": 12, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/types.ts#L42" - } - ], - "typeParameters": [ - { - "id": 534, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 534, - "name": "T" - } - ], - "name": "PostgrestSingleResponseSuccess" - }, - { - "type": "reference", - "name": "PostgrestResponseFailure" - } - ] - } - } - ], - "groups": [ - { - "title": "Classes", - "children": [498, 1, 112, 49, 401] - }, - { - "title": "Type Aliases", - "children": [537, 535, 531, 533] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0, - "url": "https://github.com/supabase/postgrest-js/blob/84f1518/src/index.ts#L1" - } - ] - }, - { - "id": 0, - "name": "@supabase/realtime-js", - "kind": 1, - "kindString": "Project", - "flags": {}, - "originalName": "", - "children": [ - { - "id": 500, - "name": "REALTIME_LISTEN_TYPES", - "kind": 8, - "kindString": "Enumeration", - "flags": {}, - "children": [ - { - "id": 501, - "name": "BROADCAST", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 77, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "broadcast" - }, - "defaultValue": "\"broadcast\"" - }, - { - "id": 503, - "name": "POSTGRES_CHANGES", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 79, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "postgres_changes" - }, - "defaultValue": "\"postgres_changes\"" - }, - { - "id": 502, - "name": "PRESENCE", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 78, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "presence" - }, - "defaultValue": "\"presence\"" - } - ], - "groups": [ - { - "title": "Enumeration Members", - "kind": 16, - "children": [501, 503, 502] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 76, - "character": 12 - } - ] - }, - { - "id": 504, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", - "kind": 8, - "kindString": "Enumeration", - "flags": {}, - "children": [ - { - "id": 505, - "name": "ALL", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 70, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "*" - }, - "defaultValue": "\"*\"" - }, - { - "id": 508, - "name": "DELETE", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 73, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "DELETE" - }, - "defaultValue": "\"DELETE\"" - }, - { - "id": 506, - "name": "INSERT", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 71, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "INSERT" - }, - "defaultValue": "\"INSERT\"" - }, - { - "id": 507, - "name": "UPDATE", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 72, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "UPDATE" - }, - "defaultValue": "\"UPDATE\"" - } - ], - "groups": [ - { - "title": "Enumeration Members", - "kind": 16, - "children": [505, 508, 506, 507] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 69, - "character": 12 - } - ] - }, - { - "id": 509, - "name": "REALTIME_PRESENCE_LISTEN_EVENTS", - "kind": 8, - "kindString": "Enumeration", - "flags": {}, - "children": [ - { - "id": 511, - "name": "JOIN", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 36, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "join" - }, - "defaultValue": "\"join\"" - }, - { - "id": 512, - "name": "LEAVE", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 37, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "leave" - }, - "defaultValue": "\"leave\"" - }, - { - "id": 510, - "name": "SYNC", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 35, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "sync" - }, - "defaultValue": "\"sync\"" - } - ], - "groups": [ - { - "title": "Enumeration Members", - "kind": 16, - "children": [511, 512, 510] - } - ], - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 34, - "character": 12 - } - ] - }, - { - "id": 513, - "name": "REALTIME_SUBSCRIBE_STATES", - "kind": 8, - "kindString": "Enumeration", - "flags": {}, - "children": [ - { - "id": 517, - "name": "CHANNEL_ERROR", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 86, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "CHANNEL_ERROR" - }, - "defaultValue": "\"CHANNEL_ERROR\"" - }, - { - "id": 516, - "name": "CLOSED", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 85, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "CLOSED" - }, - "defaultValue": "\"CLOSED\"" - }, - { - "id": 514, - "name": "SUBSCRIBED", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 83, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "SUBSCRIBED" - }, - "defaultValue": "\"SUBSCRIBED\"" - }, - { - "id": 515, - "name": "TIMED_OUT", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 84, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "TIMED_OUT" - }, - "defaultValue": "\"TIMED_OUT\"" - } - ], - "groups": [ - { - "title": "Enumeration Members", - "kind": 16, - "children": [517, 516, 514, 515] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 82, - "character": 12 - } - ] - }, - { - "id": 55, - "name": "RealtimeChannel", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "shortText": "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": 66, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 111, - "character": 2 - } - ], - "signatures": [ - { - "id": 67, - "name": "new RealtimeChannel", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 68, - "name": "topic", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 69, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 294, - "name": "RealtimeChannelOptions" - }, - "defaultValue": "..." - }, - { - "id": 70, - "name": "socket", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 306, - "name": "default" - } - } - ], - "type": { - "type": "reference", - "id": 55, - "name": "default" - } - } - ] - }, - { - "id": 71, - "name": "bindings", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 95, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 72, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 73, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 74, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 75, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 81, - "name": "callback", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 99, - "character": 6 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 77, - "name": "filter", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 98, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 78, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 98, - "character": 14 - } - ], - "indexSignature": { - "id": 79, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 80, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 82, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 100, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 76, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 97, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [81, 77, 82, 76] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 96, - "character": 19 - } - ] - } - } - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 86, - "name": "joinPush", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 106, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 85, - "name": "joinedOnce", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 105, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 91, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "reference", - "id": 294, - "name": "RealtimeChannelOptions" - }, - "defaultValue": "..." - }, - { - "id": 89, - "name": "presence", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 109, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 1, - "name": "default" - } - }, - { - "id": 88, - "name": "pushBuffer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 108, - "character": 2 - } - ], - "type": { "type": "array", "elementType": { "type": "reference", - "name": "default" + "target": 790, + "name": "T", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true } - }, - "defaultValue": "[]" - }, - { - "id": 87, - "name": "rejoinTimer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 107, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" } - }, + ], + "name": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js" + } + }, + { + "id": 804, + "name": "PostgrestSingleResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ { - "id": 92, - "name": "socket", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true + "fileName": "packages/core/postgrest-js/src/types/types.ts", + "line": 29, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/types/types.ts#L29" + } + ], + "typeParameters": [ + { + "id": 805, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 797, + "typeArguments": [ + { + "type": "reference", + "target": 805, + "name": "T", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "PostgrestResponseSuccess", + "package": "@supabase/postgrest-js" + }, + { + "type": "reference", + "target": 791, + "name": "PostgrestResponseFailure", + "package": "@supabase/postgrest-js" + } + ] + } + }, + { + "id": 811, + "name": "UnstableGetResult", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Main entry point for constructing the result type of a PostgREST query." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/select-query-parser/result.ts", + "line": 38, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/select-query-parser/result.ts#L38" + } + ], + "typeParameters": [ + { + "id": 812, + "name": "Schema", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Database schema." + } + ] }, "type": { "type": "reference", - "id": 306, - "name": "default" + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericSchema" + }, + "name": "GenericSchema", + "package": "@supabase/postgrest-js" } }, { - "id": 84, - "name": "state", - "kind": 1024, - "kindString": "Property", + "id": 813, + "name": "Row", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 104, - "character": 2 - } - ], + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of a row in the current table." + } + ] + }, "type": { "type": "reference", - "name": "CHANNEL_STATES" - }, - "defaultValue": "CHANNEL_STATES.closed" - }, - { - "id": 83, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 103, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" + "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" } }, { - "id": 90, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true + "id": 814, + "name": "RelationName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the current table or view." + } + ] + } + }, + { + "id": 815, + "name": "Relationships", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Relationships of the current table." + } + ] + } + }, + { + "id": 816, + "name": "Query", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The select query string literal to parse." + } + ] }, "type": { "type": "intrinsic", @@ -33139,175 +123607,4778 @@ } }, { - "id": 119, - "name": "on", - "kind": 2048, - "kindString": "Method", + "id": 817, + "name": "ClientOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 808, + "name": "ClientServerOptions", + "package": "@supabase/postgrest-js" + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/utils.ts", + "qualifiedName": "IsAny" + }, + "typeArguments": [ + { + "type": "reference", + "target": 812, + "name": "Schema", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "IsAny", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/parser.ts", + "qualifiedName": "ParseQuery" + }, + "typeArguments": [ + { + "type": "reference", + "target": 816, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ParseQuery", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "inferred", + "name": "ParsedQuery" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/parser.ts", + "qualifiedName": "Ast.Node" + }, + "name": "Ast.Node", + "package": "@supabase/postgrest-js" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 814, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "string" + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ProcessNodesWithoutSchema" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ProcessNodesWithoutSchema", + "package": "@supabase/postgrest-js" + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 815, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "literal", + "value": null + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/parser.ts", + "qualifiedName": "ParseQuery" + }, + "typeArguments": [ + { + "type": "reference", + "target": 816, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ParseQuery", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "inferred", + "name": "ParsedQuery" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/parser.ts", + "qualifiedName": "Ast.Node" + }, + "name": "Ast.Node", + "package": "@supabase/postgrest-js" + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "RPCCallNodes" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 814, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "string" + }, + "trueType": { + "type": "reference", + "target": 814, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "falseType": { + "type": "literal", + "value": "rpc_call" + } + }, + { + "type": "reference", + "target": 813, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "RPCCallNodes", + "package": "@supabase/postgrest-js" + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "reference", + "target": 813, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/parser.ts", + "qualifiedName": "ParseQuery" + }, + "typeArguments": [ + { + "type": "reference", + "target": 816, + "name": "Query", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ParseQuery", + "package": "@supabase/postgrest-js" + }, + "extendsType": { + "type": "inferred", + "name": "ParsedQuery" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/parser.ts", + "qualifiedName": "Ast.Node" + }, + "name": "Ast.Node", + "package": "@supabase/postgrest-js" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 814, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "string" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 815, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "GenericRelationship" + }, + "name": "GenericRelationship", + "package": "@supabase/postgrest-js" + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ProcessNodes" + }, + "typeArguments": [ + { + "type": "reference", + "target": 817, + "name": "ClientOptions", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 812, + "name": "Schema", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 813, + "name": "Row", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 814, + "name": "RelationName", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 815, + "name": "Relationships", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + ], + "name": "ProcessNodes", + "package": "@supabase/postgrest-js" + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/utils.ts", + "qualifiedName": "SelectQueryError" + }, + "typeArguments": [ + { + "type": "literal", + "value": "Invalid Relationships cannot infer result type" + } + ], + "name": "SelectQueryError", + "package": "@supabase/postgrest-js" + } + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/utils.ts", + "qualifiedName": "SelectQueryError" + }, + "typeArguments": [ + { + "type": "literal", + "value": "Invalid RelationName cannot infer result type" + } + ], + "name": "SelectQueryError", + "package": "@supabase/postgrest-js" + } + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ParsedQuery" + }, + "name": "ParsedQuery", + "package": "@supabase/postgrest-js", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + } + }, + { + "id": 1, + "name": "default", + "variant": "declaration", + "kind": 32, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 17, + "character": 0, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/index.ts#L17" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 2, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7, + "name": "PostgrestBuilder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 22, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/index.ts#L22" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 705, + "name": "default", + "package": "@supabase/postgrest-js" + } + } + }, + { + "id": 3, + "name": "PostgrestClient", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/index.ts#L18" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 9, + "name": "default", + "package": "@supabase/postgrest-js" + } + } + }, + { + "id": 8, + "name": "PostgrestError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 23, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/index.ts#L23" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 777, + "name": "default", + "package": "@supabase/postgrest-js" + } + } + }, + { + "id": 5, + "name": "PostgrestFilterBuilder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 20, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/index.ts#L20" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 170, + "name": "default", + "package": "@supabase/postgrest-js" + } + } + }, + { + "id": 4, + "name": "PostgrestQueryBuilder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 19, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/index.ts#L19" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 75, + "name": "default", + "package": "@supabase/postgrest-js" + } + } + }, + { + "id": 6, + "name": "PostgrestTransformBuilder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 21, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/index.ts#L21" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 546, + "name": "default", + "package": "@supabase/postgrest-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [7, 3, 8, 5, 4, 6] + } + ], + "sources": [ + { + "fileName": "packages/core/postgrest-js/src/index.ts", + "line": 17, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/postgrest-js/src/index.ts#L17" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Classes", + "children": [705, 9, 777, 170, 75, 546] + }, + { + "title": "Interfaces", + "children": [791, 797] + }, + { + "title": "Type Aliases", + "children": [808, 806, 789, 804, 811] + }, + { + "title": "Variables", + "children": [1] + } + ], + "packageName": "@supabase/postgrest-js", + "readme": [ + { + "kind": "text", + "text": "
\n

\n \n \n \n \n \"Supabase\n \n \n\n

Supabase PostgREST JS SDK

\n\n

Isomorphic JavaScript SDK for PostgREST with an ORM-like interface.

\n\n

\n Guides\n ·\n Reference Docs\n ·\n TypeDoc\n

\n

\n\n
\n\n[![Build](https://github.com/supabase/supabase-js/workflows/CI/badge.svg)](https://github.com/supabase/supabase-js/actions?query=branch%3Amaster)\n[![Package](https://img.shields.io/npm/v/@supabase/postgrest-js)](https://www.npmjs.com/package/@supabase/postgrest-js)\n[![License: MIT](https://img.shields.io/npm/l/@supabase/supabase-js)](#license)\n[![pkg.pr.new](https://pkg.pr.new/badge/supabase/postgrest-js)](https://pkg.pr.new/~/supabase/postgrest-js)\n\n
\n\n### Quick start\n\nInstall\n\n" + }, + { + "kind": "code", + "text": "```bash\nnpm install @supabase/postgrest-js\n```" + }, + { + "kind": "text", + "text": "\n\nUsage\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { PostgrestClient } from '@supabase/postgrest-js'\n\nconst REST_URL = 'http://localhost:3000'\nconst postgrest = new PostgrestClient(REST_URL)\n```" + }, + { + "kind": "text", + "text": "\n\n- select(): https://supabase.com/docs/reference/javascript/select\n- insert(): https://supabase.com/docs/reference/javascript/insert\n- update(): https://supabase.com/docs/reference/javascript/update\n- delete(): https://supabase.com/docs/reference/javascript/delete\n\n#### Custom " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation\n\n" + }, + { + "kind": "code", + "text": "`postgrest-js`" + }, + { + "kind": "text", + "text": " uses the [" + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": "](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests, but an alternative " + }, + { + "kind": "code", + "text": "`fetch`" + }, + { + "kind": "text", + "text": " implementation can be provided as an option. This is most useful in environments where " + }, + { + "kind": "code", + "text": "`cross-fetch`" + }, + { + "kind": "text", + "text": " is not compatible, for instance Cloudflare Workers:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { PostgrestClient } from '@supabase/postgrest-js'\n\nconst REST_URL = 'http://localhost:3000'\nconst postgrest = new PostgrestClient(REST_URL, {\n fetch: (...args) => fetch(...args),\n})\n```" + }, + { + "kind": "text", + "text": "\n\n## Development\n\nThis package is part of the [Supabase JavaScript monorepo](https://github.com/supabase/supabase-js). To work on this package:\n\n### Building\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Complete build (from monorepo root)\nnpx nx build postgrest-js\n\n# Build with watch mode for development\nnpx nx build postgrest-js --watch\n\n# Individual build targets\nnpx nx build:cjs postgrest-js # CommonJS build\nnpx nx build:esm postgrest-js # ES Modules wrapper\n\n# Other useful commands\nnpx nx clean postgrest-js # Clean build artifacts\nnpx nx format postgrest-js # Format code with Prettier\nnpx nx lint postgrest-js # Run ESLint\nnpx nx type-check postgrest-js # TypeScript type checking\nnpx nx docs postgrest-js # Generate documentation\n```" + }, + { + "kind": "text", + "text": "\n\n#### Build Outputs\n\n- **CommonJS (" + }, + { + "kind": "code", + "text": "`dist/cjs/`" + }, + { + "kind": "text", + "text": ")** - For Node.js environments\n - " + }, + { + "kind": "code", + "text": "`index.js`" + }, + { + "kind": "text", + "text": " - Main entry point\n - " + }, + { + "kind": "code", + "text": "`index.d.ts`" + }, + { + "kind": "text", + "text": " - TypeScript definitions\n- **ES Modules (" + }, + { + "kind": "code", + "text": "`dist/esm/`" + }, + { + "kind": "text", + "text": ")** - For modern bundlers\n - " + }, + { + "kind": "code", + "text": "`wrapper.mjs`" + }, + { + "kind": "text", + "text": " - ESM wrapper that imports CommonJS\n\n#### Special Build Setup\n\nUnlike other packages, postgrest-js uses a hybrid approach:\n\n- The main code is compiled to CommonJS\n- An ESM wrapper (" + }, + { + "kind": "code", + "text": "`wrapper.mjs`" + }, + { + "kind": "text", + "text": ") is provided for ES Module environments\n- This ensures maximum compatibility across different JavaScript environments\n\nThe " + }, + { + "kind": "code", + "text": "`wrapper.mjs`" + }, + { + "kind": "text", + "text": " file simply re-exports the CommonJS build, allowing the package to work seamlessly in both CommonJS and ESM contexts.\n\n### Testing\n\n**Docker Required!** The postgrest-js tests need a local PostgreSQL database and PostgREST server running in Docker containers.\n\n#### Quick Start\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run all tests (from monorepo root)\nnpx nx test:ci:postgrest postgrest-js\n```" + }, + { + "kind": "text", + "text": "\n\nThis single command automatically:\n\n1. Cleans any existing test containers\n2. Starts PostgreSQL database and PostgREST server in Docker\n3. Waits for services to be ready\n4. Runs format checking\n5. Runs TypeScript type tests\n6. Generates and validates TypeScript types from the database schema\n7. Runs all Jest unit tests with coverage\n8. Runs CommonJS and ESM smoke tests\n9. Cleans up Docker containers\n\n#### Individual Test Commands\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run tests with coverage\nnpx nx test:run postgrest-js\n\n# Update test snapshots and regenerate types\nnpx nx test:update postgrest-js\n\n# Type checking only\nnpx nx test:types postgrest-js\n\n```" + }, + { + "kind": "text", + "text": "\n\n#### Test Infrastructure\n\nThe tests use Docker Compose to spin up:\n\n- **PostgreSQL** - Database with test schema and dummy data\n- **PostgREST** - REST API server that the client connects to\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Manually manage test infrastructure\nnpx nx db:run postgrest-js # Start containers\nnpx nx db:clean postgrest-js # Stop and remove containers\n```" + }, + { + "kind": "text", + "text": "\n\n#### What " + }, + { + "kind": "code", + "text": "`test:update`" + }, + { + "kind": "text", + "text": " Does\n\nThe " + }, + { + "kind": "code", + "text": "`test:update`" + }, + { + "kind": "text", + "text": " command is useful when:\n\n- Database schema changes require updating TypeScript types\n- Test snapshots need to be updated after intentional changes\n\nIt performs these steps:\n\n1. Starts fresh database containers\n2. **Regenerates TypeScript types** from the actual database schema\n3. **Updates Jest snapshots** for all tests\n4. Cleans up containers\n\n#### Test Types Explained\n\n- **Format Check** - Ensures code formatting with Prettier\n- **Type Tests** - Validates TypeScript types using " + }, + { + "kind": "code", + "text": "`tstyche`" + }, + { + "kind": "text", + "text": "\n- **Generated Types Test** - Ensures generated types match database schema\n- **Unit Tests** - Jest tests covering all client functionality\n- **Smoke Tests** - Basic import/require tests for CommonJS and ESM\n\n#### Prerequisites\n\n- **Docker** must be installed and running\n- **Port 3000** - PostgREST server (API)\n- **Port 8080** - Database schema endpoint (for type generation)\n\n**Note:** Unlike a full Supabase instance, this uses a minimal PostgREST setup specifically for testing the SDK.\n\n### Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](" + }, + { + "kind": "relative-link", + "text": "../../../CONTRIBUTING.md", + "target": 2 + }, + { + "kind": "text", + "text": ") for details on how to get started.\n\nFor major changes or if you're unsure about something, please open an issue first to discuss your proposed changes.\n\n## License\n\nThis repo is licensed under MIT License." + } + ], + "symbolIdMap": { + "0": { + "sourceFileName": "src/index.ts", + "qualifiedName": "" + }, + "1": { + "sourceFileName": "src/index.ts", + "qualifiedName": "default" + }, + "2": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object" + }, + "3": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object.PostgrestClient" + }, + "4": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object.PostgrestQueryBuilder" + }, + "5": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object.PostgrestFilterBuilder" + }, + "6": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object.PostgrestTransformBuilder" + }, + "7": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object.PostgrestBuilder" + }, + "8": { + "sourceFileName": "src/index.ts", + "qualifiedName": "__object.PostgrestError" + }, + "9": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default" + }, + "10": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.__constructor" + }, + "11": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default" + }, + "12": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.Database" + }, + "13": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.ClientOptions" + }, + "14": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type" + }, + "15": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.__InternalSupabase" + }, + "16": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "17": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.SchemaName" + }, + "18": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.Schema" + }, + "19": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "url" + }, + "20": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__1" + }, + "21": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type" + }, + "22": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.headers" + }, + "23": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.schema" + }, + "24": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.fetch" + }, + "25": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "26": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "27": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "28": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "29": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "30": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "31": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "32": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.url" + }, + "33": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.headers" + }, + "34": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.schemaName" + }, + "35": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.fetch" + }, + "36": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "37": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "38": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "39": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "40": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "41": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "42": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "43": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.from" + }, + "44": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.from" + }, + "45": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "TableName" + }, + "46": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "Table" + }, + "47": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "relation" + }, + "48": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.from" + }, + "49": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "ViewName" + }, + "50": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "View" + }, + "51": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "relation" + }, + "52": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.schema" + }, + "53": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.schema" + }, + "54": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "DynamicSchema" + }, + "55": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "schema" + }, + "56": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.rpc" + }, + "57": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.rpc" + }, + "58": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "FnName" + }, + "59": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "Args" + }, + "60": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "FilterBuilder" + }, + "61": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "fn" + }, + "62": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "args" + }, + "63": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__2" + }, + "64": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type" + }, + "65": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.head" + }, + "66": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.get" + }, + "67": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.count" + }, + "68": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.Database" + }, + "69": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.ClientOptions" + }, + "70": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type" + }, + "71": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type.__InternalSupabase" + }, + "72": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "__type" + }, + "73": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.SchemaName" + }, + "74": { + "sourceFileName": "src/PostgrestClient.ts", + "qualifiedName": "default.Schema" + }, + "75": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default" + }, + "76": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.__constructor" + }, + "77": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default" + }, + "78": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "79": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.Schema" + }, + "80": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.Relation" + }, + "81": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.RelationName" + }, + "82": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.Relationships" + }, + "83": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "84": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.Relationships" + }, + "85": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "url" + }, + "86": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__1" + }, + "87": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "88": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.headers" + }, + "89": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.schema" + }, + "90": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.fetch" + }, + "91": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "92": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "93": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "94": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "95": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "96": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "97": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "98": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.url" + }, + "99": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.headers" + }, + "100": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.schema" + }, + "101": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.signal" + }, + "102": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.fetch" + }, + "103": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "104": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "105": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "106": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "107": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "108": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "109": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "110": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.select" + }, + "111": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.select" + }, + "112": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "Query" + }, + "113": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "ResultOne" + }, + "114": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "columns" + }, + "115": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "options" + }, + "116": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "117": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.head" + }, + "118": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "119": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.insert" + }, + "120": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.insert" + }, + "121": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "Row" + }, + "122": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "values" + }, + "123": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "options" + }, + "124": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "125": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "126": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.insert" + }, + "127": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "Row" + }, + "128": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "values" + }, + "129": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "options" + }, + "130": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "131": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "132": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.defaultToNull" + }, + "133": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.upsert" + }, + "134": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.upsert" + }, + "135": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "Row" + }, + "136": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "values" + }, + "137": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "options" + }, + "138": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "139": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.onConflict" + }, + "140": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.ignoreDuplicates" + }, + "141": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "142": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.upsert" + }, + "143": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "Row" + }, + "144": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "values" + }, + "145": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "options" + }, + "146": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "147": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.onConflict" + }, + "148": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.ignoreDuplicates" + }, + "149": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "150": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.defaultToNull" + }, + "151": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.update" + }, + "152": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.update" + }, + "153": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "Row" + }, + "154": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "values" + }, + "155": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__1" + }, + "156": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "157": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "158": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.delete" + }, + "159": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.delete" + }, + "160": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__0" + }, + "161": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "162": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.count" + }, + "163": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "164": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.Schema" + }, + "165": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.Relation" + }, + "166": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.RelationName" + }, + "167": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "default.Relationships" + }, + "168": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type" + }, + "169": { + "sourceFileName": "src/PostgrestQueryBuilder.ts", + "qualifiedName": "__type.Relationships" + }, + "170": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default" + }, + "171": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.__constructor" + }, + "172": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default" + }, + "173": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "174": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Schema" + }, + "175": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Row" + }, + "176": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Result" + }, + "177": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.RelationName" + }, + "178": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Relationships" + }, + "179": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Method" + }, + "180": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "builder" + }, + "181": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "182": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.method" + }, + "183": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.url" + }, + "184": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.headers" + }, + "185": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.schema" + }, + "186": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.body" + }, + "187": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.shouldThrowOnError" + }, + "188": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.signal" + }, + "189": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.fetch" + }, + "190": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "191": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "192": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "193": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "194": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "195": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "196": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "197": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.isMaybeSingle" + }, + "198": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.eq" + }, + "199": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.eq" + }, + "200": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "201": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "202": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "203": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "204": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.neq" + }, + "205": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.neq" + }, + "206": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "207": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "208": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "209": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.gt" + }, + "210": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.gt" + }, + "211": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "212": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "213": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "214": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.gt" + }, + "215": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "216": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "217": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.gte" + }, + "218": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.gte" + }, + "219": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "220": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "221": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "222": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.gte" + }, + "223": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "224": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "225": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.lt" + }, + "226": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.lt" + }, + "227": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "228": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "229": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "230": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.lt" + }, + "231": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "232": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "233": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.lte" + }, + "234": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.lte" + }, + "235": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "236": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "237": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "238": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.lte" + }, + "239": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "240": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "241": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.like" + }, + "242": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.like" + }, + "243": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "244": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "245": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "pattern" + }, + "246": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.like" + }, + "247": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "248": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "pattern" + }, + "249": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.likeAllOf" + }, + "250": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.likeAllOf" + }, + "251": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "252": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "253": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "254": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.likeAllOf" + }, + "255": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "256": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "257": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.likeAnyOf" + }, + "258": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.likeAnyOf" + }, + "259": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "260": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "261": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "262": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.likeAnyOf" + }, + "263": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "264": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "265": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilike" + }, + "266": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilike" + }, + "267": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "268": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "269": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "pattern" + }, + "270": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilike" + }, + "271": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "272": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "pattern" + }, + "273": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilikeAllOf" + }, + "274": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilikeAllOf" + }, + "275": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "276": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "277": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "278": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilikeAllOf" + }, + "279": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "280": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "281": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilikeAnyOf" + }, + "282": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilikeAnyOf" + }, + "283": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "284": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "285": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "286": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ilikeAnyOf" + }, + "287": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "288": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "patterns" + }, + "289": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.is" + }, + "290": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.is" + }, + "291": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "292": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "293": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "294": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.is" + }, + "295": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "296": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "297": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.in" + }, + "298": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.in" + }, + "299": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "300": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "301": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "values" + }, + "302": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.contains" + }, + "303": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.contains" + }, + "304": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "305": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "306": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "307": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.contains" + }, + "308": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "309": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "310": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.containedBy" + }, + "311": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.containedBy" + }, + "312": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "313": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "314": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "315": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.containedBy" + }, + "316": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "317": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "318": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeGt" + }, + "319": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeGt" + }, + "320": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "321": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "322": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "323": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeGt" + }, + "324": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "325": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "326": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeGte" + }, + "327": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeGte" + }, + "328": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "329": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "330": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "331": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeGte" + }, + "332": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "333": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "334": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeLt" + }, + "335": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeLt" + }, + "336": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "337": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "338": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "339": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeLt" + }, + "340": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "341": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "342": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeLte" + }, + "343": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeLte" + }, + "344": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "345": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "346": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "347": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeLte" + }, + "348": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "349": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "350": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeAdjacent" + }, + "351": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeAdjacent" + }, + "352": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "353": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "354": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "355": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.rangeAdjacent" + }, + "356": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "357": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "range" + }, + "358": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.overlaps" + }, + "359": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.overlaps" + }, + "360": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "361": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "362": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "363": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.overlaps" + }, + "364": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "365": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "366": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.textSearch" + }, + "367": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.textSearch" + }, + "368": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "369": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "370": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "query" + }, + "371": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "options" + }, + "372": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type" + }, + "373": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type.config" + }, + "374": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type.type" + }, + "375": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.textSearch" + }, + "376": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "377": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "query" + }, + "378": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "options" + }, + "379": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type" + }, + "380": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type.config" + }, + "381": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type.type" + }, + "382": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.match" + }, + "383": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.match" + }, + "384": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "385": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "query" + }, + "386": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.match" + }, + "387": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "query" + }, + "388": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.not" + }, + "389": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.not" + }, + "390": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "391": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "392": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "operator" + }, + "393": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "394": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.not" + }, + "395": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "396": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "operator" + }, + "397": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "398": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.or" + }, + "399": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.or" + }, + "400": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "filters" + }, + "401": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__1" + }, + "402": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type" + }, + "403": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "404": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "405": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.filter" + }, + "406": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.filter" + }, + "407": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "ColumnName" + }, + "408": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "409": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "operator" + }, + "410": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "411": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.filter" + }, + "412": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "column" + }, + "413": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "operator" + }, + "414": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "value" + }, + "415": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.select" + }, + "416": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.select" + }, + "417": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "Query" + }, + "418": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "NewResultOne" + }, + "419": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "columns" + }, + "420": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "421": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "422": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ColumnName" + }, + "423": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "424": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "425": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "426": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "427": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "428": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "429": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "430": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "431": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "432": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "433": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "434": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "435": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "436": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "437": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ColumnName" + }, + "438": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "439": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "440": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "441": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "442": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "443": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "444": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "445": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "446": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "447": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "448": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "449": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "450": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "451": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.limit" + }, + "452": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.limit" + }, + "453": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "count" + }, + "454": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__1" + }, + "455": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "456": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "457": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "458": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.range" + }, + "459": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.range" + }, + "460": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "from" + }, + "461": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "to" + }, + "462": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__2" + }, + "463": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "464": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "465": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "466": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.abortSignal" + }, + "467": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.abortSignal" + }, + "468": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "signal" + }, + "469": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.single" + }, + "470": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.single" + }, + "471": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "472": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maybeSingle" + }, + "473": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maybeSingle" + }, + "474": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "475": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.csv" + }, + "476": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.csv" + }, + "477": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.geojson" + }, + "478": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.geojson" + }, + "479": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.explain" + }, + "480": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.explain" + }, + "481": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__0" + }, + "482": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "483": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.analyze" + }, + "484": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.verbose" + }, + "485": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.settings" + }, + "486": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.buffers" + }, + "487": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.wal" + }, + "488": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.format" + }, + "489": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.rollback" + }, + "490": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.rollback" + }, + "491": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.returns" + }, + "492": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.returns" + }, + "493": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "NewResult" + }, + "494": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maxAffected" + }, + "495": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maxAffected" + }, + "496": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "value" + }, + "497": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.method" + }, + "498": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.url" + }, + "499": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.headers" + }, + "500": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.schema" + }, + "501": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.body" + }, + "502": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.shouldThrowOnError" + }, + "503": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.signal" + }, + "504": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.fetch" + }, + "505": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "506": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "507": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "508": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "509": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "510": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "511": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "512": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.isMaybeSingle" + }, + "513": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.throwOnError" + }, + "514": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.throwOnError" + }, + "515": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.setHeader" + }, + "516": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.setHeader" + }, + "517": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "name" + }, + "518": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "value" + }, + "519": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.then" + }, + "520": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.then" + }, + "521": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "TResult1" + }, + "522": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "TResult2" + }, + "523": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "onfulfilled" + }, + "524": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "525": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "526": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "value" + }, + "527": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "onrejected" + }, + "528": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "529": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "530": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "reason" + }, + "531": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.overrideTypes" + }, + "532": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.overrideTypes" + }, + "533": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "NewResult" + }, + "534": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "Options" + }, + "535": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "536": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.merge" + }, + "537": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "538": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.merge" + }, + "539": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "540": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Schema" + }, + "541": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Row" + }, + "542": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Result" + }, + "543": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.RelationName" + }, + "544": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Relationships" + }, + "545": { + "sourceFileName": "src/PostgrestFilterBuilder.ts", + "qualifiedName": "default.Method" + }, + "546": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default" + }, + "547": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.__constructor" + }, + "548": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default" + }, + "549": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "550": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Schema" + }, + "551": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Row" + }, + "552": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Result" + }, + "553": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.RelationName" + }, + "554": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Relationships" + }, + "555": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Method" + }, + "556": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "builder" + }, + "557": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "558": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.method" + }, + "559": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.url" + }, + "560": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.headers" + }, + "561": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.schema" + }, + "562": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.body" + }, + "563": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.shouldThrowOnError" + }, + "564": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.signal" + }, + "565": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.fetch" + }, + "566": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "567": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "568": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "569": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "570": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "571": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "572": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "573": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.isMaybeSingle" + }, + "574": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.select" + }, + "575": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.select" + }, + "576": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "Query" + }, + "577": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "NewResultOne" + }, + "578": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "columns" + }, + "579": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "580": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "581": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ColumnName" + }, + "582": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "583": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "584": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "585": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "586": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "587": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "588": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "589": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "590": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "591": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "592": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "593": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "594": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "595": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "596": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ColumnName" + }, + "597": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "598": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "599": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "600": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "601": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "602": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "603": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.order" + }, + "604": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "column" + }, + "605": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "options" + }, + "606": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "607": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.ascending" + }, + "608": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.nullsFirst" + }, + "609": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "610": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.limit" + }, + "611": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.limit" + }, + "612": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "count" + }, + "613": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__1" + }, + "614": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "615": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "616": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "617": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.range" + }, + "618": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.range" + }, + "619": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "from" + }, + "620": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "to" + }, + "621": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__2" + }, + "622": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "623": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.foreignTable" + }, + "624": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.referencedTable" + }, + "625": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.abortSignal" + }, + "626": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.abortSignal" + }, + "627": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "signal" + }, + "628": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.single" + }, + "629": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.single" + }, + "630": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "631": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maybeSingle" + }, + "632": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maybeSingle" + }, + "633": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "ResultOne" + }, + "634": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.csv" + }, + "635": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.csv" + }, + "636": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.geojson" + }, + "637": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.geojson" + }, + "638": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.explain" + }, + "639": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.explain" + }, + "640": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__0" + }, + "641": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type" + }, + "642": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.analyze" + }, + "643": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.verbose" + }, + "644": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.settings" + }, + "645": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.buffers" + }, + "646": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.wal" + }, + "647": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "__type.format" + }, + "648": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.rollback" + }, + "649": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.rollback" + }, + "650": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.returns" + }, + "651": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.returns" + }, + "652": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "NewResult" + }, + "653": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maxAffected" + }, + "654": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.maxAffected" + }, + "655": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "value" + }, + "656": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.method" + }, + "657": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.url" + }, + "658": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.headers" + }, + "659": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.schema" + }, + "660": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.body" + }, + "661": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.shouldThrowOnError" + }, + "662": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.signal" + }, + "663": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.fetch" + }, + "664": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "665": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "666": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "667": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "668": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "669": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "670": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "671": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.isMaybeSingle" + }, + "672": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.throwOnError" + }, + "673": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.throwOnError" + }, + "674": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.setHeader" + }, + "675": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.setHeader" + }, + "676": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "name" + }, + "677": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "value" + }, + "678": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.then" + }, + "679": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.then" + }, + "680": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "TResult1" + }, + "681": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "TResult2" + }, + "682": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "onfulfilled" + }, + "683": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "684": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "685": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "value" + }, + "686": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "onrejected" + }, + "687": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "688": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "689": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "reason" + }, + "690": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.overrideTypes" + }, + "691": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.overrideTypes" + }, + "692": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "NewResult" + }, + "693": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "Options" + }, + "694": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "695": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.merge" + }, + "696": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "697": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.merge" + }, + "698": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "699": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Schema" + }, + "700": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Row" + }, + "701": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Result" + }, + "702": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.RelationName" + }, + "703": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Relationships" + }, + "704": { + "sourceFileName": "src/PostgrestTransformBuilder.ts", + "qualifiedName": "default.Method" + }, + "705": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default" + }, + "706": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.__constructor" + }, + "707": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default" + }, + "708": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "709": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.Result" + }, + "710": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.ThrowOnError" + }, + "711": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "builder" + }, + "712": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "713": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.method" + }, + "714": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.url" + }, + "715": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.headers" + }, + "716": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.schema" + }, + "717": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.body" + }, + "718": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.shouldThrowOnError" + }, + "719": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.signal" + }, + "720": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.fetch" + }, + "721": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "722": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "723": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "724": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "725": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "726": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "727": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "728": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.isMaybeSingle" + }, + "729": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.method" + }, + "730": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.url" + }, + "731": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.headers" + }, + "732": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.schema" + }, + "733": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.body" + }, + "734": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.shouldThrowOnError" + }, + "735": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.signal" + }, + "736": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.fetch" + }, + "737": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "738": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "739": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "740": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "741": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "742": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "743": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "744": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.isMaybeSingle" + }, + "745": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.throwOnError" + }, + "746": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.throwOnError" + }, + "747": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.setHeader" + }, + "748": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.setHeader" + }, + "749": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "name" + }, + "750": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "value" + }, + "751": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.then" + }, + "752": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.then" + }, + "753": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "TResult1" + }, + "754": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "TResult2" + }, + "755": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "onfulfilled" + }, + "756": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "757": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "758": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "value" + }, + "759": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "onrejected" + }, + "760": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "761": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "762": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "reason" + }, + "763": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.returns" + }, + "764": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.returns" + }, + "765": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "NewResult" + }, + "766": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.overrideTypes" + }, + "767": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.overrideTypes" + }, + "768": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "NewResult" + }, + "769": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "Options" + }, + "770": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "771": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.merge" + }, + "772": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type" + }, + "773": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "__type.merge" + }, + "774": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.ClientOptions" + }, + "775": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.Result" + }, + "776": { + "sourceFileName": "src/PostgrestBuilder.ts", + "qualifiedName": "default.ThrowOnError" + }, + "777": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "default" + }, + "778": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "default.__constructor" + }, + "779": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "default" + }, + "780": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "context" + }, + "781": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "__type" + }, + "782": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "__type.message" + }, + "783": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "__type.details" + }, + "784": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "__type.hint" + }, + "785": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "__type.code" + }, + "786": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "default.details" + }, + "787": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "default.hint" + }, + "788": { + "sourceFileName": "src/PostgrestError.ts", + "qualifiedName": "default.code" + }, + "789": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponse" + }, + "790": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "T" + }, + "791": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseFailure" + }, + "792": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseFailure.error" + }, + "793": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseFailure.data" + }, + "794": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseFailure.count" + }, + "795": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseBase.status" + }, + "796": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseBase.statusText" + }, + "797": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseSuccess" + }, + "798": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseSuccess.error" + }, + "799": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseSuccess.data" + }, + "800": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseSuccess.count" + }, + "801": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseBase.status" + }, + "802": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseBase.statusText" + }, + "803": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestResponseSuccess.T" + }, + "804": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestSingleResponse" + }, + "805": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "T" + }, + "806": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "PostgrestMaybeSingleResponse" + }, + "807": { + "sourceFileName": "src/types/types.ts", + "qualifiedName": "T" + }, + "808": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "ClientServerOptions" + }, + "809": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "__type" + }, + "810": { + "sourceFileName": "src/types/common/common.ts", + "qualifiedName": "__type.PostgrestVersion" + }, + "811": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "GetResult" + }, + "812": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "Schema" + }, + "813": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "Row" + }, + "814": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "RelationName" + }, + "815": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "Relationships" + }, + "816": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "Query" + }, + "817": { + "sourceFileName": "src/select-query-parser/result.ts", + "qualifiedName": "ClientOptions" + } + }, + "files": { + "entries": { + "1": "src/index.ts", + "2": "../../../CONTRIBUTING.md" + }, + "reflections": { + "1": 0 + } + } + }, + { + "id": 0, + "name": "@supabase/realtime-js", + "variant": "project", + "kind": 1, + "flags": {}, + "children": [ + { + "id": 760, + "name": "REALTIME_LISTEN_TYPES", + "variant": "declaration", + "kind": 8, + "flags": {}, + "children": [ + { + "id": 761, + "name": "BROADCAST", + "variant": "declaration", + "kind": 16, "flags": {}, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 315, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 135, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L135" + } + ], + "type": { + "type": "literal", + "value": "broadcast" + } + }, + { + "id": 763, + "name": "POSTGRES_CHANGES", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 137, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L137" + } + ], + "type": { + "type": "literal", + "value": "postgres_changes" + } + }, + { + "id": 762, + "name": "PRESENCE", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 136, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L136" + } + ], + "type": { + "type": "literal", + "value": "presence" + } + }, + { + "id": 764, + "name": "SYSTEM", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 138, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L138" + } + ], + "type": { + "type": "literal", + "value": "system" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [761, 763, 762, 764] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 134, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L134" + } + ] + }, + { + "id": 765, + "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", + "variant": "declaration", + "kind": 8, + "flags": {}, + "children": [ + { + "id": 766, + "name": "ALL", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 128, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L128" + } + ], + "type": { + "type": "literal", + "value": "*" + } + }, + { + "id": 769, + "name": "DELETE", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 131, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L131" + } + ], + "type": { + "type": "literal", + "value": "DELETE" + } + }, + { + "id": 767, + "name": "INSERT", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 129, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L129" + } + ], + "type": { + "type": "literal", + "value": "INSERT" + } + }, + { + "id": 768, + "name": "UPDATE", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 130, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L130" + } + ], + "type": { + "type": "literal", + "value": "UPDATE" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [766, 769, 767, 768] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 127, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L127" + } + ] + }, + { + "id": 770, + "name": "REALTIME_PRESENCE_LISTEN_EVENTS", + "variant": "declaration", + "kind": 8, + "flags": {}, + "children": [ + { + "id": 772, + "name": "JOIN", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 33, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L33" + } + ], + "type": { + "type": "literal", + "value": "join" + } + }, + { + "id": 773, + "name": "LEAVE", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 34, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L34" + } + ], + "type": { + "type": "literal", + "value": "leave" + } + }, + { + "id": 771, + "name": "SYNC", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 32, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L32" + } + ], + "type": { + "type": "literal", + "value": "sync" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [772, 773, 771] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 31, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L31" + } + ] + }, + { + "id": 774, + "name": "REALTIME_SUBSCRIBE_STATES", + "variant": "declaration", + "kind": 8, + "flags": {}, + "children": [ + { + "id": 778, + "name": "CHANNEL_ERROR", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 145, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L145" + } + ], + "type": { + "type": "literal", + "value": "CHANNEL_ERROR" + } + }, + { + "id": 777, + "name": "CLOSED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 144, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L144" + } + ], + "type": { + "type": "literal", + "value": "CLOSED" + } + }, + { + "id": 775, + "name": "SUBSCRIBED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 142, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L142" + } + ], + "type": { + "type": "literal", + "value": "SUBSCRIBED" + } + }, + { + "id": 776, + "name": "TIMED_OUT", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 143, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L143" + } + ], + "type": { + "type": "literal", + "value": "TIMED_OUT" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [778, 777, 775, 776] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 141, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L141" + } + ] + }, + { + "id": 59, + "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": 70, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 184, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L184" } ], "signatures": [ { - "id": 120, - "name": "on", - "kind": 4096, - "kindString": "Call signature", + "id": 71, + "name": "RealtimeChannel", + "variant": "signature", + "kind": 16384, "flags": {}, - "comment": { - "shortText": "Listen to messages." - }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 184, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L184" + } + ], "parameters": [ { - "id": 121, - "name": "type", + "id": 72, + "name": "topic", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Topic name can be any string." + } + ] + }, "type": { - "type": "literal", - "value": "broadcast" + "type": "intrinsic", + "name": "string" } }, { - "id": 122, - "name": "filter", + "id": 73, + "name": "params", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { - "type": "reflection", - "declaration": { - "id": 123, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 124, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 317, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [124] - } - ] + "type": "reference", + "target": 444, + "name": "RealtimeChannelOptions", + "package": "@supabase/realtime-js" + }, + "defaultValue": "..." + }, + { + "id": 74, + "name": "socket", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 459, + "name": "RealtimeClient", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 75, + "name": "bindings", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 165, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L165" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 76, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 165, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L165" + } + ], + "indexSignatures": [ + { + "id": 77, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 166, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L166" } - } - }, - { - "id": 125, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 126, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + ], + "parameters": [ + { + "id": 78, + "name": "key", + "variant": "param", + "kind": 32768, "flags": {}, - "signatures": [ - { - "id": 127, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 128, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 129, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 131, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 320, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 130, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 319, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": "broadcast" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [131, 130] - } - ], - "indexSignature": { - "id": 132, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 79, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 85, + "name": "callback", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 169, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L169" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" + } + }, + { + "id": 81, + "name": "filter", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 168, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L168" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 82, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 168, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L168" + } + ], + "indexSignatures": [ + { + "id": 83, "name": "__index", + "variant": "signature", "kind": 8192, - "kindString": "Index signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 168, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L168" + } + ], "parameters": [ { - "id": 133, + "id": 84, "name": "key", + "variant": "param", "kind": 32768, "flags": {}, "type": { @@ -33321,6 +128392,2468 @@ "name": "any" } } + ] + } + } + }, + { + "id": 86, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 170, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L170" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 80, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 167, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L167" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [85, 81, 86, 80] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 166, + "character": 19, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L166" + } + ] + } + } + } + } + ] + } + }, + "defaultValue": "{}" + }, + { + "id": 94, + "name": "broadcastEndpointURL", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 180, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L180" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 89, + "name": "joinedOnce", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 175, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L175" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 90, + "name": "joinPush", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 176, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L176" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/push.ts", + "qualifiedName": "default" + }, + "name": "Push", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 98, + "name": "params", + "variant": "declaration", + "kind": 1024, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 187, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L187" + } + ], + "type": { + "type": "reference", + "target": 444, + "name": "RealtimeChannelOptions", + "package": "@supabase/realtime-js" + }, + "defaultValue": "..." + }, + { + "id": 93, + "name": "presence", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 179, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L179" + } + ], + "type": { + "type": "reference", + "target": 1, + "name": "RealtimePresence", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 96, + "name": "private", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 182, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L182" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 92, + "name": "pushBuffer", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 178, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L178" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/push.ts", + "qualifiedName": "default" + }, + "name": "Push", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + "defaultValue": "[]" + }, + { + "id": 91, + "name": "rejoinTimer", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 177, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L177" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/timer.ts", + "qualifiedName": "default" + }, + "name": "Timer", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 99, + "name": "socket", + "variant": "declaration", + "kind": 1024, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 188, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L188" + } + ], + "type": { + "type": "reference", + "target": 459, + "name": "RealtimeClient", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 88, + "name": "state", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 174, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L174" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/constants.ts", + "qualifiedName": "CHANNEL_STATES" + }, + "name": "CHANNEL_STATES", + "package": "@supabase/realtime-js" + }, + "defaultValue": "CHANNEL_STATES.closed" + }, + { + "id": 95, + "name": "subTopic", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 181, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L181" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 87, + "name": "timeout", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 173, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L173" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 97, + "name": "topic", + "variant": "declaration", + "kind": 1024, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Topic name can be any string." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 186, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L186" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 326, + "name": "httpSend", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 520, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L520" + } + ], + "signatures": [ + { + "id": 327, + "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/src/RealtimeChannel.ts", + "line": 520, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L520" + } + ], + "parameters": [ + { + "id": 328, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the broadcast event" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 329, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Payload to be sent (required)" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 330, + "name": "opts", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options including timeout" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 331, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 332, + "name": "timeout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 523, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L523" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [332] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 523, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L523" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 333, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 334, + "name": "success", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 524, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L524" + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [334] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 524, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L524" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 335, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 338, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 524, + "character": 67, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L524" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 337, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 524, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L524" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 336, + "name": "success", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 524, + "character": 35, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L524" + } + ], + "type": { + "type": "literal", + "value": false + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [338, 337, 336] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 524, + "character": 33, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L524" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 131, + "name": "on", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 387, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L387" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 392, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L392" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 397, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L397" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 402, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L402" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 407, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L407" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 412, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L412" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 417, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L417" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 428, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L428" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 441, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L441" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 454, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L454" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 463, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L463" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 472, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L472" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 481, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L481" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 490, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L490" + }, + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 495, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L495" + } + ], + "signatures": [ + { + "id": 132, + "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/src/RealtimeChannel.ts", + "line": 387, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L387" + } + ], + "parameters": [ + { + "id": 133, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "presence" + } + }, + { + "id": 134, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 135, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 136, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 389, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L389" + } + ], + "type": { + "type": "literal", + "value": "sync" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [136] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 389, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L389" + } + ] + } + } + }, + { + "id": 137, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 138, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 390, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L390" + } + ], + "signatures": [ + { + "id": 139, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 390, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L390" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 140, + "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/src/RealtimeChannel.ts", + "line": 392, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L392" + } + ], + "typeParameters": [ + { + "id": 141, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 392, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L392" + } + ], + "indexSignatures": [ + { + "id": 143, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 392, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L392" + } + ], + "parameters": [ + { + "id": 144, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 145, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "presence" + } + }, + { + "id": 146, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 147, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 148, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 394, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L394" + } + ], + "type": { + "type": "literal", + "value": "join" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [148] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 394, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L394" + } + ] + } + } + }, + { + "id": 149, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 150, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 395, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L395" + } + ], + "signatures": [ + { + "id": 151, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 395, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L395" + } + ], + "parameters": [ + { + "id": 152, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 730, + "typeArguments": [ + { + "type": "reference", + "target": 141, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimePresenceJoinPayload", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 153, + "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/src/RealtimeChannel.ts", + "line": 397, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L397" + } + ], + "typeParameters": [ + { + "id": 154, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 155, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 397, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L397" + } + ], + "indexSignatures": [ + { + "id": 156, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 397, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L397" + } + ], + "parameters": [ + { + "id": 157, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 158, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "presence" + } + }, + { + "id": 159, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 160, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 161, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 399, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L399" + } + ], + "type": { + "type": "literal", + "value": "leave" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [161] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 399, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L399" + } + ] + } + } + }, + { + "id": 162, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 163, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 400, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L400" + } + ], + "signatures": [ + { + "id": 164, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 400, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L400" + } + ], + "parameters": [ + { + "id": 165, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 740, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimePresenceLeavePayload", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 166, + "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/src/RealtimeChannel.ts", + "line": 402, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L402" + } + ], + "typeParameters": [ + { + "id": 167, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 168, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 402, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L402" + } + ], + "indexSignatures": [ + { + "id": 169, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 402, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L402" + } + ], + "parameters": [ + { + "id": 170, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 171, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "postgres_changes" + } + }, + { + "id": 172, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 689, + "typeArguments": [ + { + "type": "literal", + "value": "*" + } + ], + "name": "RealtimePostgresChangesFilter", + "package": "@supabase/realtime-js" + } + }, + { + "id": 173, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 174, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 405, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L405" + } + ], + "signatures": [ + { + "id": 175, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 405, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L405" + } + ], + "parameters": [ + { + "id": 176, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 696, + "typeArguments": [ + { + "type": "reference", + "target": 167, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimePostgresChangesPayload", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 177, + "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/src/RealtimeChannel.ts", + "line": 407, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L407" + } + ], + "typeParameters": [ + { + "id": 178, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 179, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 407, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L407" + } + ], + "indexSignatures": [ + { + "id": 180, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 407, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L407" + } + ], + "parameters": [ + { + "id": 181, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 182, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "postgres_changes" + } + }, + { + "id": 183, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 689, + "typeArguments": [ + { + "type": "literal", + "value": "INSERT" + } + ], + "name": "RealtimePostgresChangesFilter", + "package": "@supabase/realtime-js" + } + }, + { + "id": 184, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 185, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 410, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L410" + } + ], + "signatures": [ + { + "id": 186, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 410, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L410" + } + ], + "parameters": [ + { + "id": 187, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 701, + "typeArguments": [ + { + "type": "reference", + "target": 178, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimePostgresInsertPayload", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 188, + "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/src/RealtimeChannel.ts", + "line": 412, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L412" + } + ], + "typeParameters": [ + { + "id": 189, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 190, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 412, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L412" + } + ], + "indexSignatures": [ + { + "id": 191, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 412, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L412" + } + ], + "parameters": [ + { + "id": 192, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 193, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "postgres_changes" + } + }, + { + "id": 194, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 689, + "typeArguments": [ + { + "type": "literal", + "value": "UPDATE" + } + ], + "name": "RealtimePostgresChangesFilter", + "package": "@supabase/realtime-js" + } + }, + { + "id": 195, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 196, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 415, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L415" + } + ], + "signatures": [ + { + "id": 197, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 415, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L415" + } + ], + "parameters": [ + { + "id": 198, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 711, + "typeArguments": [ + { + "type": "reference", + "target": 189, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimePostgresUpdatePayload", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 199, + "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/src/RealtimeChannel.ts", + "line": 417, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L417" + } + ], + "typeParameters": [ + { + "id": 200, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 201, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 417, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L417" + } + ], + "indexSignatures": [ + { + "id": 202, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 417, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L417" + } + ], + "parameters": [ + { + "id": 203, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 204, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "postgres_changes" + } + }, + { + "id": 205, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 689, + "typeArguments": [ + { + "type": "literal", + "value": "DELETE" + } + ], + "name": "RealtimePostgresChangesFilter", + "package": "@supabase/realtime-js" + } + }, + { + "id": 206, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 207, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 420, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L420" + } + ], + "signatures": [ + { + "id": 208, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 420, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L420" + } + ], + "parameters": [ + { + "id": 209, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 720, + "typeArguments": [ + { + "type": "reference", + "target": 200, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimePostgresDeletePayload", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 210, + "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/src/RealtimeChannel.ts", + "line": 428, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L428" + } + ], + "parameters": [ + { + "id": 211, + "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": 212, + "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": 213, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 214, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 430, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L430" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [214] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 430, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L430" + } + ] + } + } + }, + { + "id": 215, + "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": 216, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 431, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L431" + } + ], + "signatures": [ + { + "id": 217, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 431, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L431" + } + ], + "parameters": [ + { + "id": 218, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 219, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 221, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 433, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L433" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 222, + "name": "meta", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 434, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L434" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 223, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 225, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 436, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L436" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 224, + "name": "replayed", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 435, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L435" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [225, 224] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 434, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L434" + } + ] + } + } + }, + { + "id": 220, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 432, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L432" + } + ], + "type": { + "type": "literal", + "value": "broadcast" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [221, 222, 220] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 431, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L431" + } + ], + "indexSignatures": [ + { + "id": 226, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 438, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L438" + } + ], + "parameters": [ + { + "id": 227, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] } } } @@ -33337,96 +130870,88 @@ ], "type": { "type": "reference", - "id": 55, - "name": "default" + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } }, { - "id": 134, + "id": 228, "name": "on", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "parameters": [ - { - "id": 135, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "presence" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates an event handler that listens to changes." } - }, + ] + }, + "sources": [ { - "id": 136, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 441, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L441" + } + ], + "typeParameters": [ + { + "id": 229, + "name": "T", + "variant": "typeParam", + "kind": 131072, "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 137, + "id": 230, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "children": [ + "sources": [ { - "id": 138, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 326, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": "sync" - } + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 441, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L441" } ], - "groups": [ + "indexSignatures": [ { - "title": "Properties", - "kind": 1024, - "children": [138] - } - ] - } - } - }, - { - "id": 139, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 140, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 141, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", + "id": 231, + "name": "__index", + "variant": "signature", + "kind": 8192, "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 441, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L441" + } + ], + "parameters": [ + { + "id": 232, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], "type": { "type": "intrinsic", - "name": "void" + "name": "any" } } ] @@ -33434,859 +130959,45 @@ } } ], - "type": { - "type": "reference", - "id": 55, - "name": "default" - } - }, - { - "id": 142, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, "parameters": [ { - "id": 143, + "id": 233, "name": "type", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "literal", - "value": "presence" + "value": "broadcast" } }, { - "id": 144, + "id": 234, "name": "filter", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 145, + "id": 235, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 146, + "id": 236, "name": "event", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 331, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": "join" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [146] - } - ] - } - } - }, - { - "id": 147, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 148, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 149, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 150, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 483, - "name": "RealtimePresenceJoinPayload" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 55, - "name": "default" - } - }, - { - "id": 151, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 152, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "presence" - } - }, - { - "id": 153, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 154, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 155, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 336, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": "leave" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [155] - } - ] - } - } - }, - { - "id": 156, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 157, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 158, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 159, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 489, - "name": "RealtimePresenceLeavePayload" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 55, - "name": "default" - } - }, - { - "id": 160, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 164, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 161, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 162, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 163, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "parameters": [ - { - "id": 165, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "postgres_changes" - } - }, - { - "id": 166, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 442, - "typeArguments": [ - { - "type": "literal", - "value": "*" - } - ], - "name": "RealtimePostgresChangesFilter" - } - }, - { - "id": 167, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 168, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 169, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 170, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 449, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "T" - } - ], - "name": "RealtimePostgresChangesPayload" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 55, - "name": "default" - } - }, - { - "id": 171, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 175, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 172, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 173, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 174, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "parameters": [ - { - "id": 176, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "postgres_changes" - } - }, - { - "id": 177, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 442, - "typeArguments": [ - { - "type": "literal", - "value": "INSERT" - } - ], - "name": "RealtimePostgresChangesFilter" - } - }, - { - "id": 178, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 179, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 180, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 181, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 454, - "typeArguments": [ - { - "type": "reference", - "id": 175, - "name": "T" - } - ], - "name": "RealtimePostgresInsertPayload" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 55, - "name": "default" - } - }, - { - "id": 182, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 186, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 183, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 184, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 185, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "parameters": [ - { - "id": 187, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "postgres_changes" - } - }, - { - "id": 188, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 442, - "typeArguments": [ - { - "type": "literal", - "value": "UPDATE" - } - ], - "name": "RealtimePostgresChangesFilter" - } - }, - { - "id": 189, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 190, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 191, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 192, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 464, - "typeArguments": [ - { - "type": "reference", - "id": 186, - "name": "T" - } - ], - "name": "RealtimePostgresUpdatePayload" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 55, - "name": "default" - } - }, - { - "id": 193, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 197, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 194, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 195, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 196, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "parameters": [ - { - "id": 198, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "postgres_changes" - } - }, - { - "id": 199, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 442, - "typeArguments": [ - { - "type": "literal", - "value": "DELETE" - } - ], - "name": "RealtimePostgresChangesFilter" - } - }, - { - "id": 200, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 201, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 202, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 203, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 473, - "typeArguments": [ - { - "type": "reference", - "id": 197, - "name": "T" - } - ], - "name": "RealtimePostgresDeletePayload" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 55, - "name": "default" - } - } - ] - }, - { - "id": 101, - "name": "presenceState", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 284, - "character": 2 - } - ], - "signatures": [ - { - "id": 102, - "name": "presenceState", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "id": 495, - "name": "RealtimePresenceState" - } - } - ] - }, - { - "id": 204, - "name": "send", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 367, - "character": 2 - } - ], - "signatures": [ - { - "id": 205, - "name": "send", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 206, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 207, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 208, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 368, - "character": 15 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 443, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L443" } ], "type": { @@ -34298,73 +131009,2049 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [208] + "children": [236] } ], - "indexSignature": { - "id": 209, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 210, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 443, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L443" } - } + ] } } }, { - "id": 211, - "name": "opts", + "id": 237, + "name": "callback", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 212, + "id": 238, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "indexSignature": { - "id": 213, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 214, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 444, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L444" } + ], + "signatures": [ + { + "id": 239, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 444, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L444" + } + ], + "parameters": [ + { + "id": 240, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 241, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 243, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 446, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L446" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 244, + "name": "meta", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 447, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L447" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 245, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 247, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 449, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L449" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 246, + "name": "replayed", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 448, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L448" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [247, 246] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 447, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L447" + } + ] + } + } + }, + { + "id": 248, + "name": "payload", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 451, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L451" + } + ], + "type": { + "type": "reference", + "target": 229, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + }, + { + "id": 242, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 445, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L445" + } + ], + "type": { + "type": "literal", + "value": "broadcast" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [243, 244, 248, 242] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 444, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L444" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 249, + "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/src/RealtimeChannel.ts", + "line": 454, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L454" + } + ], + "typeParameters": [ + { + "id": 250, + "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": 251, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "broadcast" + } + }, + { + "id": 252, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 253, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 254, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 456, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L456" + } + ], + "type": { + "type": "reference", + "target": 766, + "name": "ALL", + "package": "@supabase/realtime-js", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.ALL" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [254] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 456, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L456" + } + ] + } + } + }, + { + "id": 255, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 256, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 457, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L457" + } + ], + "signatures": [ + { + "id": 257, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 457, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L457" + } + ], + "parameters": [ + { + "id": 258, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 259, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 261, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 459, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L459" + } + ], + "type": { + "type": "reference", + "target": 766, + "name": "ALL", + "package": "@supabase/realtime-js", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.ALL" + } + }, + { + "id": 262, + "name": "payload", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 460, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L460" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimeBroadcastPayload" + }, + "typeArguments": [ + { + "type": "reference", + "target": 250, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimeBroadcastPayload", + "package": "@supabase/realtime-js" + } + }, + { + "id": 260, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 458, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L458" + } + ], + "type": { + "type": "literal", + "value": "broadcast" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [261, 262, 260] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 457, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L457" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 263, + "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/src/RealtimeChannel.ts", + "line": 463, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L463" + } + ], + "typeParameters": [ + { + "id": 264, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 265, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 463, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L463" + } + ], + "indexSignatures": [ + { + "id": 266, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 463, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L463" + } + ], + "parameters": [ + { + "id": 267, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 268, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "broadcast" + } + }, + { + "id": 269, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 270, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 271, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 465, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L465" + } + ], + "type": { + "type": "reference", + "target": 767, + "name": "INSERT", + "package": "@supabase/realtime-js", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [271] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 465, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L465" + } + ] + } + } + }, + { + "id": 272, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 273, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 466, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L466" + } + ], + "signatures": [ + { + "id": 274, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 466, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L466" + } + ], + "parameters": [ + { + "id": 275, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 276, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 278, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 468, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L468" + } + ], + "type": { + "type": "reference", + "target": 767, + "name": "INSERT", + "package": "@supabase/realtime-js", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" + } + }, + { + "id": 279, + "name": "payload", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 469, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L469" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimeBroadcastInsertPayload" + }, + "typeArguments": [ + { + "type": "reference", + "target": 264, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimeBroadcastInsertPayload", + "package": "@supabase/realtime-js" + } + }, + { + "id": 277, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 467, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L467" + } + ], + "type": { + "type": "literal", + "value": "broadcast" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [278, 279, 277] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 466, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L466" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 280, + "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/src/RealtimeChannel.ts", + "line": 472, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L472" + } + ], + "typeParameters": [ + { + "id": 281, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 282, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 472, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L472" + } + ], + "indexSignatures": [ + { + "id": 283, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 472, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L472" + } + ], + "parameters": [ + { + "id": 284, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 285, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "broadcast" + } + }, + { + "id": 286, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 287, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 288, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 474, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L474" + } + ], + "type": { + "type": "reference", + "target": 768, + "name": "UPDATE", + "package": "@supabase/realtime-js", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [288] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 474, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L474" + } + ] + } + } + }, + { + "id": 289, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 290, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 475, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L475" + } + ], + "signatures": [ + { + "id": 291, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 475, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L475" + } + ], + "parameters": [ + { + "id": 292, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 293, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 295, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 477, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L477" + } + ], + "type": { + "type": "reference", + "target": 768, + "name": "UPDATE", + "package": "@supabase/realtime-js", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" + } + }, + { + "id": 296, + "name": "payload", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 478, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L478" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimeBroadcastUpdatePayload" + }, + "typeArguments": [ + { + "type": "reference", + "target": 281, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimeBroadcastUpdatePayload", + "package": "@supabase/realtime-js" + } + }, + { + "id": 294, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 476, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L476" + } + ], + "type": { + "type": "literal", + "value": "broadcast" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [295, 296, 294] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 475, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L475" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 297, + "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/src/RealtimeChannel.ts", + "line": 481, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L481" + } + ], + "typeParameters": [ + { + "id": 298, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 299, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 481, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L481" + } + ], + "indexSignatures": [ + { + "id": 300, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 481, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L481" + } + ], + "parameters": [ + { + "id": 301, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 302, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "broadcast" + } + }, + { + "id": 303, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 304, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 305, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 483, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L483" + } + ], + "type": { + "type": "reference", + "target": 769, + "name": "DELETE", + "package": "@supabase/realtime-js", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [305] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 483, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L483" + } + ] + } + } + }, + { + "id": 306, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 307, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 484, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L484" + } + ], + "signatures": [ + { + "id": 308, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 484, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L484" + } + ], + "parameters": [ + { + "id": 309, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 310, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 312, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 486, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L486" + } + ], + "type": { + "type": "reference", + "target": 769, + "name": "DELETE", + "package": "@supabase/realtime-js", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" + } + }, + { + "id": 313, + "name": "payload", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 487, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L487" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimeBroadcastDeletePayload" + }, + "typeArguments": [ + { + "type": "reference", + "target": 298, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimeBroadcastDeletePayload", + "package": "@supabase/realtime-js" + } + }, + { + "id": 311, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 485, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L485" + } + ], + "type": { + "type": "literal", + "value": "broadcast" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [312, 313, 311] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 484, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L484" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 314, + "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/src/RealtimeChannel.ts", + "line": 490, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L490" + } + ], + "typeParameters": [ + { + "id": 315, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 316, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 490, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L490" + } + ], + "indexSignatures": [ + { + "id": 317, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 490, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L490" + } + ], + "parameters": [ + { + "id": 318, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 319, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "system" + } + }, + { + "id": 320, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 321, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + }, + { + "id": 322, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 323, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 493, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L493" + } + ], + "signatures": [ + { + "id": 324, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 493, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L493" + } + ], + "parameters": [ + { + "id": 325, + "name": "payload", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 108, + "name": "presenceState", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 356, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L356" + } + ], + "signatures": [ + { + "id": 109, + "name": "presenceState", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 356, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L356" + } + ], + "typeParameters": [ + { + "id": 110, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 111, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 356, + "character": 26, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L356" + } + ], + "indexSignatures": [ + { + "id": 112, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 356, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L356" + } + ], + "parameters": [ + { + "id": 113, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 114, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + } + ], + "type": { + "type": "reference", + "target": 750, + "typeArguments": [ + { + "type": "reference", + "target": 110, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimePresenceState", + "package": "@supabase/realtime-js" + } + } + ] + }, + { + "id": 339, + "name": "send", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 580, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L580" + } + ], + "signatures": [ + { + "id": 340, + "name": "send", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sends a message into the channel." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 580, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L580" + } + ], + "parameters": [ + { + "id": 341, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Arguments to send to channel" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 342, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 344, + "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/src/RealtimeChannel.ts", + "line": 583, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L583" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 345, + "name": "payload", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Payload to be sent" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 584, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L584" + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 343, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of event to send" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 582, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L582" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "broadcast" + }, + { + "type": "literal", + "value": "presence" + }, + { + "type": "literal", + "value": "postgres_changes" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [344, 345, 343] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 581, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L581" + } + ], + "indexSignatures": [ + { + "id": 346, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 585, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L585" + } + ], + "parameters": [ + { + "id": 347, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + }, + { + "id": 348, + "name": "opts", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options to be used during the send process" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 349, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 587, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L587" + } + ], + "indexSignatures": [ + { + "id": 350, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 587, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L587" + } + ], + "parameters": [ + { + "id": 351, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] } }, "defaultValue": "{}" @@ -34372,109 +133059,131 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 305, - "name": "RealtimeChannelSendResponse" + "target": 458, + "name": "RealtimeChannelSendResponse", + "package": "@supabase/realtime-js" } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 93, + "id": 100, "name": "subscribe", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 171, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 254, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L254" } ], "signatures": [ { - "id": 94, + "id": 101, "name": "subscribe", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Subscribe registers your client with the server" + "summary": [ + { + "kind": "text", + "text": "Subscribe registers your client with the server" + } + ] }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 254, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L254" + } + ], "parameters": [ { - "id": 95, + "id": 102, "name": "callback", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reflection", "declaration": { - "id": 96, + "id": 103, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 255, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L255" + } + ], "signatures": [ { - "id": 97, + "id": 104, "name": "__type", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 255, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L255" + } + ], "parameters": [ { - "id": 98, + "id": 105, "name": "status", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "SUBSCRIBED" - }, - { - "type": "literal", - "value": "TIMED_OUT" - }, - { - "type": "literal", - "value": "CLOSED" - }, - { - "type": "literal", - "value": "CHANNEL_ERROR" - } - ] + "type": "reference", + "target": 774, + "name": "REALTIME_SUBSCRIBE_STATES", + "package": "@supabase/realtime-js" } }, { - "id": 99, + "id": 106, "name": "err", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Error" + }, + "name": "Error", + "package": "typescript" } } ], @@ -34488,10 +133197,10 @@ } }, { - "id": 100, + "id": 107, "name": "timeout", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -34502,110 +133211,203 @@ ], "type": { "type": "reference", - "id": 55, - "name": "default" + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } } ] }, { - "id": 103, - "name": "track", + "id": 361, + "name": "teardown", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 288, - "character": 8 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 702, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L702" } ], "signatures": [ { - "id": 104, - "name": "track", + "id": 362, + "name": "teardown", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Teardown the channel.\n\nDestroys and stops related timers." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 702, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L702" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 115, + "name": "track", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 360, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L360" + } + ], + "signatures": [ + { + "id": 116, + "name": "track", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 360, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L360" + } + ], "parameters": [ { - "id": 105, + "id": 117, "name": "payload", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 118, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "indexSignature": { - "id": 107, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 108, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 361, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L361" } - } + ], + "indexSignatures": [ + { + "id": 119, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 361, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L361" + } + ], + "parameters": [ + { + "id": 120, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] } } }, { - "id": 109, + "id": 121, "name": "opts", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 110, + "id": 122, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "indexSignature": { - "id": 111, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 112, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 362, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L362" } - } + ], + "indexSignatures": [ + { + "id": 123, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 362, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L362" + } + ], + "parameters": [ + { + "id": 124, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] } }, "defaultValue": "{}" @@ -34613,50 +133415,75 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 305, - "name": "RealtimeChannelSendResponse" + "target": 458, + "name": "RealtimeChannelSendResponse", + "package": "@supabase/realtime-js" } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 221, + "id": 358, "name": "unsubscribe", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 407, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 663, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L663" } ], "signatures": [ { - "id": 222, + "id": 359, "name": "unsubscribe", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Leaves the channel.", - "text": "Unsubscribes from server events, and instructs channel to terminate on server.\nTriggers onClose() hooks.\n\nTo receive leave acknowledgements, use the a `receive` hook to bind to the server ack, ie:\nchannel.unsubscribe().receive(\"ok\", () => alert(\"left!\") )\n" + "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/src/RealtimeChannel.ts", + "line": 663, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L663" + } + ], "parameters": [ { - "id": 223, + "id": 360, "name": "timeout", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -34667,6 +133494,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -34686,71 +133517,98 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 113, + "id": 125, "name": "untrack", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 302, - "character": 8 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 374, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L374" } ], "signatures": [ { - "id": 114, + "id": 126, "name": "untrack", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 374, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L374" + } + ], "parameters": [ { - "id": 115, + "id": 127, "name": "opts", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 116, + "id": 128, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "indexSignature": { - "id": 117, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 118, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 374, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L374" } - } + ], + "indexSignatures": [ + { + "id": 129, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 374, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L374" + } + ], + "parameters": [ + { + "id": 130, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] } }, "defaultValue": "{}" @@ -34758,78 +133616,110 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "id": 305, - "name": "RealtimeChannelSendResponse" + "target": 458, + "name": "RealtimeChannelSendResponse", + "package": "@supabase/realtime-js" } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 215, + "id": 352, "name": "updateJoinPayload", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 394, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 650, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L650" } ], "signatures": [ { - "id": 216, + "id": 353, "name": "updateJoinPayload", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 650, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L650" + } + ], "parameters": [ { - "id": 217, + "id": 354, "name": "payload", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 218, + "id": 355, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "indexSignature": { - "id": 219, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 220, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 650, + "character": 29, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L650" } - } + ], + "indexSignatures": [ + { + "id": 356, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 650, + "character": 31, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L650" + } + ], + "parameters": [ + { + "id": 357, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] } } } @@ -34845,67 +133735,84 @@ "groups": [ { "title": "Constructors", - "kind": 512, - "children": [66] + "children": [70] }, { "title": "Properties", - "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [75, 94, 89, 90, 98, 93, 96, 92, 91, 99, 88, 95, 87, 97] }, { "title": "Methods", - "kind": 2048, - "children": [119, 101, 204, 93, 103, 221, 113, 215] + "children": [326, 131, 108, 339, 100, 361, 115, 358, 125, 352] } ], "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 94, - "character": 21 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 164, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L164" } ] }, { - "id": 306, + "id": 459, "name": "RealtimeClient", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 307, + "id": 460, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 88, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 163, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L163" } ], "signatures": [ { - "id": 308, - "name": "new RealtimeClient", + "id": 461, + "name": "RealtimeClient", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, "comment": { - "shortText": "Initializes the Socket." + "summary": [ + { + "kind": "text", + "text": "Initializes the Socket." + } + ] }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 163, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L163" + } + ], "parameters": [ { - "id": 309, + "id": 462, "name": "endPoint", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)" + "summary": [ + { + "kind": "text", + "text": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)" + } + ] }, "type": { "type": "intrinsic", @@ -34913,39 +133820,215 @@ } }, { - "id": 310, + "id": 463, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", - "id": 418, - "name": "RealtimeClientOptions" + "target": 652, + "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", - "id": 306, - "name": "default" + "target": 459, + "name": "RealtimeClient", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } } ] }, { - "id": 311, + "id": 511, "name": "accessToken", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 41, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 136, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L136" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 512, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 136, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L136" + } + ], + "signatures": [ + { + "id": 513, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 136, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L136" + } + ], + "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" + } + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 464, + "name": "accessTokenValue", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 99, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L99" } ], "type": { @@ -34964,39 +134047,72 @@ "defaultValue": "null" }, { - "id": 312, - "name": "channels", + "id": 465, + "name": "apiKey", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 42, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 100, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L100" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 466, + "name": "channels", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 101, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L101" } ], "type": { "type": "array", "elementType": { "type": "reference", - "id": 55, - "name": "default" + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } }, - "defaultValue": "[]" + "defaultValue": "..." }, { - "id": 333, + "id": 494, "name": "conn", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 57, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 121, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L121" } ], "type": { @@ -35008,65 +134124,74 @@ }, { "type": "reference", - "qualifiedName": "WebSocket", - "package": "typescript", - "name": "WebSocket" + "target": 797, + "name": "WebSocketLike", + "package": "@supabase/realtime-js" } ] }, "defaultValue": "null" }, { - "id": 331, + "id": 492, "name": "decode", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 55, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 119, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L119" } ], "type": { "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" } }, { - "id": 330, + "id": 491, "name": "encode", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 118, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L118" } ], "type": { "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" } }, { - "id": 313, + "id": 467, "name": "endPoint", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 43, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 102, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L102" } ], "type": { @@ -35076,104 +134201,421 @@ "defaultValue": "''" }, { - "id": 342, - "name": "eventsPerSecondLimitMs", + "id": 503, + "name": "fetch", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 71, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "100" - }, - { - "id": 314, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 44, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 135, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L135" } ], "type": { "type": "reflection", "declaration": { - "id": 315, + "id": 504, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "indexSignature": { - "id": 316, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 317, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "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": 505, + "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": 506, + "name": "input", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "RequestInfo" + }, + "name": "RequestInfo", + "package": "typescript" + } + ] + } + }, + { + "id": 507, + "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": 508, + "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": 509, + "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": "URL" + }, + "name": "URL", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "typescript" + } + ] + } + }, + { + "id": 510, + "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" + } + } + ] } - }, - "defaultValue": "DEFAULT_HEADERS" + } }, { - "id": 324, - "name": "heartbeatIntervalMs", + "id": 469, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "headers cannot be set on websocket connections" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 105, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L105" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 470, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 105, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L105" + } + ], + "indexSignatures": [ + { + "id": 471, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 105, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L105" + } + ], + "parameters": [ + { + "id": 472, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "defaultValue": "{}" + }, + { + "id": 482, + "name": "heartbeatCallback", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 48, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 112, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L112" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 483, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 112, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L112" + } + ], + "signatures": [ + { + "id": 484, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 112, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L112" + } + ], + "parameters": [ + { + "id": 485, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "HeartbeatStatus" + }, + "name": "HeartbeatStatus", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "noop" + }, + { + "id": 479, + "name": "heartbeatIntervalMs", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 109, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L109" } ], "type": { "type": "intrinsic", "name": "number" }, - "defaultValue": "30000" + "defaultValue": "CONNECTION_TIMEOUTS.HEARTBEAT_INTERVAL" }, { - "id": 325, + "id": 480, "name": "heartbeatTimer", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 49, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 110, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L110" } ], "type": { @@ -35185,115 +134627,171 @@ }, { "type": "reference", - "qualifiedName": "global.NodeJS.Timer", + "target": { + "sourceFileName": "../../../node_modules/@types/node/timers.d.ts", + "qualifiedName": "__global.NodeJS.Timeout" + }, + "name": "Timeout", "package": "@types/node", - "name": "Timer" + "qualifiedName": "__global.NodeJS.Timeout" } ] }, "defaultValue": "undefined" }, { - "id": 343, - "name": "inThrottle", + "id": 468, + "name": "httpEndpoint", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 72, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 103, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L103" } ], "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" }, - "defaultValue": "false" + "defaultValue": "''" }, { - "id": 329, + "id": 489, "name": "logger", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 53, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 116, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L116" } ], "type": { "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" }, "defaultValue": "noop" }, { - "id": 318, - "name": "params", + "id": 490, + "name": "logLevel", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 45, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 117, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L117" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "LogLevel" + }, + "name": "LogLevel", + "package": "@supabase/realtime-js" + } + }, + { + "id": 473, + "name": "params", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 106, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L106" } ], "type": { "type": "reflection", "declaration": { - "id": 319, + "id": 474, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "indexSignature": { - "id": 320, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 321, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 106, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L106" } - } + ], + "indexSignatures": [ + { + "id": 475, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 106, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L106" + } + ], + "parameters": [ + { + "id": 476, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, "defaultValue": "{}" }, { - "id": 326, + "id": 481, "name": "pendingHeartbeatRef", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 50, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 111, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L111" } ], "type": { @@ -35312,54 +134810,76 @@ "defaultValue": "null" }, { - "id": 332, + "id": 493, "name": "reconnectAfterMs", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 56, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 120, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L120" } ], "type": { "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" } }, { - "id": 328, + "id": 487, "name": "reconnectTimer", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 52, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 114, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L114" } ], "type": { - "type": "reference", - "name": "default" - } + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/timer.ts", + "qualifiedName": "default" + }, + "name": "Timer", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + ] + }, + "defaultValue": "null" }, { - "id": 327, + "id": 486, "name": "ref", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 113, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L113" } ], "type": { @@ -35369,159 +134889,187 @@ "defaultValue": "0" }, { - "id": 334, + "id": 495, "name": "sendBuffer", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 58, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 122, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L122" } ], "type": { "type": "array", "elementType": { "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" } }, "defaultValue": "[]" }, { - "id": 335, + "id": 496, "name": "serializer", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 123, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L123" } ], "type": { "type": "reference", - "name": "default" + "target": { + "sourceFileName": "src/lib/serializer.ts", + "qualifiedName": "default" + }, + "name": "Serializer", + "package": "@supabase/realtime-js", + "qualifiedName": "default" }, "defaultValue": "..." }, { - "id": 336, + "id": 497, "name": "stateChangeCallbacks", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 60, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 124, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L124" } ], "type": { "type": "reflection", "declaration": { - "id": 337, + "id": 498, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 339, + "id": 500, "name": "close", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 126, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L126" } ], "type": { "type": "array", "elementType": { "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" } } }, { - "id": 340, + "id": 501, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 63, - "character": 4 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 127, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L127" } ], "type": { "type": "array", "elementType": { "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" } } }, { - "id": 341, + "id": 502, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 64, - "character": 4 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 128, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L128" } ], "type": { "type": "array", "elementType": { "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" } } }, { - "id": 338, + "id": 499, "name": "open", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 61, - "character": 4 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 125, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L125" } ], "type": { "type": "array", "elementType": { "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" } } } @@ -35529,8 +135077,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [339, 340, 341, 338] + "children": [500, 501, 502, 499] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 124, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L124" } ] } @@ -35538,16 +135093,17 @@ "defaultValue": "..." }, { - "id": 322, + "id": 477, "name": "timeout", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 107, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L107" } ], "type": { @@ -35557,50 +135113,159 @@ "defaultValue": "DEFAULT_TIMEOUT" }, { - "id": 323, + "id": 478, "name": "transport", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 47, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 108, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L108" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 847, + "name": "WebSocketLikeConstructor", + "package": "@supabase/realtime-js" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 488, + "name": "vsn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 115, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L115" } ], "type": { "type": "intrinsic", - "name": "any" + "name": "string" }, - "defaultValue": "w3cwebsocket" + "defaultValue": "DEFAULT_VSN" }, { - "id": 366, + "id": 514, + "name": "worker", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 137, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L137" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 516, + "name": "workerRef", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 139, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L139" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Worker" + }, + "name": "Worker", + "package": "typescript" + } + }, + { + "id": 515, + "name": "workerUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 138, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L138" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 548, "name": "channel", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 218, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 358, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L358" } ], "signatures": [ { - "id": 367, + "id": 549, "name": "channel", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 358, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L358" + } + ], "parameters": [ { - "id": 368, + "id": 550, "name": "topic", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -35608,50 +135273,67 @@ } }, { - "id": 369, + "id": 551, "name": "params", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 294, - "name": "RealtimeChannelOptions" + "target": 444, + "name": "RealtimeChannelOptions", + "package": "@supabase/realtime-js" }, "defaultValue": "..." } ], "type": { "type": "reference", - "id": 55, - "name": "default" + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } } ] }, { - "id": 344, + "id": 520, "name": "connect", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 125, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 182, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L182" } ], "signatures": [ { - "id": 345, + "id": 521, "name": "connect", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Connects the socket, unless already connected." + "summary": [ + { + "kind": "text", + "text": "Connects the socket, unless already connected." + } + ] }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 182, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L182" + } + ], "type": { "type": "intrinsic", "name": "void" @@ -35660,69 +135342,107 @@ ] }, { - "id": 362, + "id": 540, "name": "connectionState", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 198, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 324, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L324" } ], "signatures": [ { - "id": 363, + "id": 541, "name": "connectionState", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Returns the current state of the socket." + "summary": [ + { + "kind": "text", + "text": "Returns the current state of the socket." + } + ] }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 324, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L324" + } + ], "type": { "type": "reference", - "name": "CONNECTION_STATE" + "target": { + "sourceFileName": "src/lib/constants.ts", + "qualifiedName": "CONNECTION_STATE" + }, + "name": "CONNECTION_STATE", + "package": "@supabase/realtime-js" } } ] }, { - "id": 346, + "id": 524, "name": "disconnect", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 147, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 248, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L248" } ], "signatures": [ { - "id": 347, + "id": 525, "name": "disconnect", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Disconnects the socket." + "summary": [ + { + "kind": "text", + "text": "Disconnects the socket." + } + ] }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 248, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L248" + } + ], "parameters": [ { - "id": 348, + "id": 526, "name": "code", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "comment": { - "shortText": "A numeric status code to send on disconnect." + "summary": [ + { + "kind": "text", + "text": "A numeric status code to send on disconnect." + } + ] }, "type": { "type": "intrinsic", @@ -35730,15 +135450,20 @@ } }, { - "id": 349, + "id": 527, "name": "reason", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "comment": { - "shortText": "A custom reason for the disconnect.\n" + "summary": [ + { + "kind": "text", + "text": "A custom reason for the disconnect." + } + ] }, "type": { "type": "intrinsic", @@ -35754,59 +135479,199 @@ ] }, { - "id": 350, - "name": "getChannels", + "id": 522, + "name": "endpointURL", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 162, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 238, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L238" } ], "signatures": [ { - "id": 351, - "name": "getChannels", + "id": 523, + "name": "endpointURL", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "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/src/RealtimeClient.ts", + "line": 238, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L238" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 566, + "name": "flushSendBuffer", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 467, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L467" + } + ], + "signatures": [ + { + "id": 567, + "name": "flushSendBuffer", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Flushes send buffer" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 467, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L467" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 528, + "name": "getChannels", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 284, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L284" + } + ], + "signatures": [ + { + "id": 529, + "name": "getChannels", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Returns all created channels" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 284, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L284" + } + ], "type": { "type": "array", "elementType": { "type": "reference", - "id": 55, - "name": "default" + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } } } ] }, { - "id": 364, + "id": 542, "name": "isConnected", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 214, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 340, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L340" } ], "signatures": [ { - "id": 365, + "id": 543, "name": "isConnected", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Returns `true` is the connection is open." + "summary": [ + { + "kind": "text", + "text": "Returns " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " is the connection is open." + } + ] }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 340, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L340" + } + ], "type": { "type": "intrinsic", "name": "boolean" @@ -35815,35 +135680,160 @@ ] }, { - "id": 357, - "name": "log", + "id": 544, + "name": "isConnecting", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 191, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 347, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L347" } ], "signatures": [ { - "id": 358, - "name": "log", + "id": 545, + "name": "isConnecting", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Logs the message.", - "text": "For customized logging, `this.logger` can be overridden.\n" + "summary": [ + { + "kind": "text", + "text": "Returns " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " if the connection is currently connecting." + } + ] }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 347, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L347" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 546, + "name": "isDisconnecting", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 354, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L354" + } + ], + "signatures": [ + { + "id": 547, + "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/src/RealtimeClient.ts", + "line": 354, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L354" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 535, + "name": "log", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 317, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L317" + } + ], + "signatures": [ + { + "id": 536, + "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/src/RealtimeClient.ts", + "line": 317, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L317" + } + ], "parameters": [ { - "id": 359, + "id": 537, "name": "kind", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -35851,10 +135841,10 @@ } }, { - "id": 360, + "id": 538, "name": "msg", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -35862,10 +135852,10 @@ } }, { - "id": 361, + "id": 539, "name": "data", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, @@ -35883,180 +135873,421 @@ ] }, { - "id": 370, - "name": "push", + "id": 560, + "name": "onHeartbeat", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 236, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 461, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L461" } ], "signatures": [ { - "id": 371, - "name": "push", + "id": 561, + "name": "onHeartbeat", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, - "comment": { - "shortText": "Push out a message if the socket is connected.", - "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n" - }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 461, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L461" + } + ], "parameters": [ { - "id": 372, - "name": "data", + "id": 562, + "name": "callback", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 435, - "name": "RealtimeMessage" + "type": "reflection", + "declaration": { + "id": 563, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 461, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L461" + } + ], + "signatures": [ + { + "id": 564, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 461, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L461" + } + ], + "parameters": [ + { + "id": 565, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "HeartbeatStatus" + }, + "name": "HeartbeatStatus", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } } } ], "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "literal", - "value": "rate limited" - } - ] + "type": "intrinsic", + "name": "void" } } ] }, { - "id": 355, - "name": "removeAllChannels", + "id": 552, + "name": "push", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 177, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 377, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L377" } ], "signatures": [ { - "id": 356, - "name": "removeAllChannels", + "id": 553, + "name": "push", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "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/src/RealtimeClient.ts", + "line": 377, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L377" + } + ], + "parameters": [ + { + "id": 554, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 682, + "name": "RealtimeMessage", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 533, + "name": "removeAllChannels", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 305, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L305" + } + ], + "signatures": [ + { + "id": 534, + "name": "removeAllChannels", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unsubscribes and removes all channels" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 305, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L305" + } + ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "array", "elementType": { "type": "reference", - "id": 499, - "name": "RealtimeRemoveChannelResponse" + "target": 759, + "name": "RealtimeRemoveChannelResponse", + "package": "@supabase/realtime-js" } } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 352, + "id": 530, "name": "removeChannel", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 166, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 292, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L292" } ], "signatures": [ { - "id": 353, + "id": 531, "name": "removeChannel", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unsubscribes and removes a single channel" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 292, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L292" + } + ], "parameters": [ { - "id": 354, + "id": 532, "name": "channel", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A RealtimeChannel instance" + } + ] + }, "type": { "type": "reference", - "id": 55, - "name": "default" + "target": 59, + "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": 499, - "name": "RealtimeRemoveChannelResponse" + "target": 759, + "name": "RealtimeRemoveChannelResponse", + "package": "@supabase/realtime-js" } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 373, - "name": "setAuth", + "id": 558, + "name": "sendHeartbeat", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 263, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 412, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L412" } ], "signatures": [ { - "id": 374, - "name": "setAuth", + "id": 559, + "name": "sendHeartbeat", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS." + "summary": [ + { + "kind": "text", + "text": "Sends a heartbeat message if the socket is connected." + } + ] }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 412, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L412" + } + ], + "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": 555, + "name": "setAuth", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 401, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L401" + } + ], + "signatures": [ + { + "id": 556, + "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/src/RealtimeClient.ts", + "line": 401, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L401" + } + ], "parameters": [ { - "id": 375, + "id": 557, "name": "token", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "A JWT string.\n" + "summary": [ + { + "kind": "text", + "text": "A JWT string to override the token set on the client." + } + ] }, "type": { "type": "union", @@ -36070,12 +136301,24 @@ "name": "string" } ] - } + }, + "defaultValue": "null" } ], "type": { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" } } ] @@ -36084,204 +136327,277 @@ "groups": [ { "title": "Constructors", - "kind": 512, - "children": [307] + "children": [460] }, { "title": "Properties", - "kind": 1024, "children": [ - 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318, 326, 332, 328, 327, - 334, 335, 336, 322, 323 + 511, 464, 465, 466, 494, 492, 491, 467, 503, 469, 482, 479, 480, 468, 489, 490, 473, + 481, 493, 487, 486, 495, 496, 497, 477, 478, 488, 514, 516, 515 ] }, { "title": "Methods", - "kind": 2048, - "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373] + "children": [ + 548, 520, 540, 524, 522, 566, 528, 542, 544, 546, 535, 560, 552, 533, 530, 558, 555 + ] } ], "sources": [ { - "fileName": "RealtimeClient.ts", - "line": 40, - "character": 21 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 98, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L98" } ] }, { "id": 1, "name": "RealtimePresence", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 28, + "id": 30, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "RealtimePresence.ts", - "line": 83, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 81, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L81" } ], "signatures": [ { - "id": 29, - "name": "new RealtimePresence", + "id": 31, + "name": "RealtimePresence", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, "comment": { - "shortText": "Initializes the Presence." + "summary": [ + { + "kind": "text", + "text": "Initializes the Presence." + } + ] }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 81, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L81" + } + ], "parameters": [ { - "id": 30, + "id": 32, "name": "channel", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The RealtimeChannel" + "summary": [ + { + "kind": "text", + "text": "The RealtimeChannel" + } + ] }, "type": { "type": "reference", - "id": 55, - "name": "default" + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } }, { - "id": 31, + "id": 33, "name": "opts", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "comment": { - "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n" + "summary": [ + { + "kind": "text", + "text": "The options,\n for example " + }, + { + "kind": "code", + "text": "`{events: {state: 'state', diff: 'diff'}}`" + } + ] }, "type": { "type": "reference", - "qualifiedName": "PresenceOpts", - "package": "@types/phoenix", - "name": "PresenceOpts" + "target": { + "sourceFileName": "../../../node_modules/@types/phoenix/index.d.ts", + "qualifiedName": "PresenceOpts" + }, + "name": "PresenceOpts", + "package": "@types/phoenix" } } ], "type": { "type": "reference", - "id": 1, - "name": "default" + "target": 1, + "name": "RealtimePresence", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } } ] }, { - "id": 35, + "id": 38, "name": "caller", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimePresence.ts", - "line": 66, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 64, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L64" } ], "type": { "type": "reflection", "declaration": { - "id": 36, + "id": 39, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 37, + "id": 40, "name": "onJoin", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimePresence.ts", - "line": 67, - "character": 4 + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 65, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L65" } ], "type": { "type": "reference", - "qualifiedName": "PresenceOnJoinCallback", - "package": "@types/phoenix", - "name": "PresenceOnJoinCallback" + "target": { + "sourceFileName": "../../../node_modules/@types/phoenix/index.d.ts", + "qualifiedName": "PresenceOnJoinCallback" + }, + "name": "PresenceOnJoinCallback", + "package": "@types/phoenix" } }, { - "id": 38, + "id": 41, "name": "onLeave", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimePresence.ts", - "line": 68, - "character": 4 + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 66, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L66" } ], "type": { "type": "reference", - "qualifiedName": "PresenceOnLeaveCallback", - "package": "@types/phoenix", - "name": "PresenceOnLeaveCallback" + "target": { + "sourceFileName": "../../../node_modules/@types/phoenix/index.d.ts", + "qualifiedName": "PresenceOnLeaveCallback" + }, + "name": "PresenceOnLeaveCallback", + "package": "@types/phoenix" } }, { - "id": 39, + "id": 42, "name": "onSync", - "kind": 2048, - "kindString": "Method", + "variant": "declaration", + "kind": 1024, "flags": {}, "sources": [ { - "fileName": "RealtimePresence.ts", - "line": 69, - "character": 4 + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 67, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L67" } ], - "signatures": [ - { - "id": 40, - "name": "onSync", - "kind": 4096, - "kindString": "Call signature", + "type": { + "type": "reflection", + "declaration": { + "id": 43, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 67, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L67" + } + ], + "signatures": [ + { + "id": 44, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 67, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L67" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] } - ] + } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [37, 38] - }, + "children": [40, 41, 42] + } + ], + "sources": [ { - "title": "Methods", - "kind": 2048, - "children": [39] + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 64, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L64" } ] } @@ -36289,30 +136605,69 @@ "defaultValue": "..." }, { - "id": 41, + "id": 45, "name": "channel", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isPublic": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The RealtimeChannel" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 82, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L82" + } + ], "type": { "type": "reference", - "id": 55, - "name": "default" + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" } }, { - "id": 34, - "name": "joinRef", + "id": 37, + "name": "enabled", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimePresence.ts", - "line": 65, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 63, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L63" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 36, + "name": "joinRef", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 62, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L62" } ], "type": { @@ -36331,44 +136686,52 @@ "defaultValue": "null" }, { - "id": 33, + "id": 35, "name": "pendingDiffs", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimePresence.ts", - "line": 64, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 61, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L61" } ], "type": { "type": "array", "elementType": { "type": "reference", - "name": "RawPresenceDiff" + "target": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "RawPresenceDiff" + }, + "name": "RawPresenceDiff", + "package": "@supabase/realtime-js" } }, "defaultValue": "[]" }, { - "id": 32, + "id": 34, "name": "state", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "RealtimePresence.ts", - "line": 63, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 60, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L60" } ], "type": { "type": "reference", - "id": 495, - "name": "RealtimePresenceState" + "target": 750, + "name": "RealtimePresenceState", + "package": "@supabase/realtime-js" }, "defaultValue": "{}" } @@ -36376,107 +136739,1539 @@ "groups": [ { "title": "Constructors", - "kind": 512, - "children": [28] + "children": [30] }, { "title": "Properties", - "kind": 1024, - "children": [35, 41, 34, 33, 32] + "children": [38, 45, 37, 36, 35, 34] } ], "sources": [ { - "fileName": "RealtimePresence.ts", - "line": 62, - "character": 21 + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 59, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L59" } ] }, { - "id": 294, - "name": "RealtimeChannelOptions", - "kind": 4194304, - "kindString": "Type alias", + "id": 780, + "name": "WebSocketFactory", + "variant": "declaration", + "kind": 128, "flags": {}, - "sources": [ + "children": [ { - "fileName": "RealtimeChannel.ts", - "line": 13, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 295, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "id": 795, + "name": "constructor", + "variant": "declaration", + "kind": 512, "flags": {}, - "children": [ + "signatures": [ { - "id": 296, - "name": "config", - "kind": 1024, - "kindString": "Property", + "id": 796, + "name": "WebSocketFactory", + "variant": "signature", + "kind": 16384, + "flags": {}, + "type": { + "type": "reference", + "target": 780, + "name": "WebSocketFactory", + "package": "@supabase/realtime-js" + } + } + ] + }, + { + "id": 789, + "name": "createWebSocket", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true, + "isStatic": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 130, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L130" + } + ], + "signatures": [ + { + "id": 790, + "name": "createWebSocket", + "variant": "signature", + "kind": 4096, "flags": {}, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 14, - "character": 2 + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 130, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L130" + } + ], + "parameters": [ + { + "id": 791, + "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": 792, + "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": 797, + "name": "WebSocketLike", + "package": "@supabase/realtime-js" + } + } + ] + }, + { + "id": 783, + "name": "getWebSocketConstructor", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true, + "isStatic": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 118, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L118" + } + ], + "signatures": [ + { + "id": 784, + "name": "getWebSocketConstructor", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 118, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L118" } ], "type": { "type": "reflection", "declaration": { - "id": 297, + "id": 785, "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 26772, + "character": 23 + } + ], + "signatures": [ + { + "id": 786, + "name": "getWebSocketConstructor", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 26774, + "character": 4 + } + ], + "parameters": [ + { + "id": 787, + "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": 788, + "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": 793, + "name": "isWebSocketSupported", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true, + "isStatic": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 135, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L135" + } + ], + "signatures": [ + { + "id": 794, + "name": "isWebSocketSupported", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 135, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L135" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [795] + }, + { + "title": "Methods", + "children": [789, 783, 793] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 35, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L35" + } + ] + }, + { + "id": 797, + "name": "WebSocketLike", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 840, + "name": "binaryType", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 22, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L22" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 841, + "name": "bufferedAmount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 23, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L23" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 801, + "name": "CLOSED", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 5, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L5" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 800, + "name": "CLOSING", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 4, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L4" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 798, + "name": "CONNECTING", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 2, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L2" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 843, + "name": "dispatchEvent", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 25, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L25" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 844, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 25, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L25" + } + ], + "signatures": [ + { + "id": 845, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 25, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L25" + } + ], + "parameters": [ + { + "id": 846, + "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": 842, + "name": "extensions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 24, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L24" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 822, + "name": "onclose", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 15, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L15" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 823, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 15, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L15" + } + ], + "signatures": [ + { + "id": 824, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 15, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L15" + } + ], + "parameters": [ + { + "id": 825, + "name": "this", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 826, + "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": 827, + "name": "onerror", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 16, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L16" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 828, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 16, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L16" + } + ], + "signatures": [ + { + "id": 829, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 16, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L16" + } + ], + "parameters": [ + { + "id": 830, + "name": "this", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 831, + "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": 817, + "name": "onmessage", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L14" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 818, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 14, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L14" + } + ], + "signatures": [ + { + "id": 819, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 14, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L14" + } + ], + "parameters": [ + { + "id": 820, + "name": "this", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 821, + "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": 812, + "name": "onopen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 13, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L13" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 813, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 13, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L13" + } + ], + "signatures": [ + { + "id": 814, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 13, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L13" + } + ], + "parameters": [ + { + "id": 815, + "name": "this", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 816, + "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": 799, + "name": "OPEN", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 3, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L3" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 804, + "name": "protocol", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 8, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L8" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 802, + "name": "readyState", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 6, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L6" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 803, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 7, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L7" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 832, + "name": "addEventListener", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L18" + } + ], + "signatures": [ + { + "id": 833, + "name": "addEventListener", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L18" + } + ], + "parameters": [ + { + "id": 834, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 835, + "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": 805, + "name": "close", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 10, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L10" + } + ], + "signatures": [ + { + "id": 806, + "name": "close", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 10, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L10" + } + ], + "parameters": [ + { + "id": 807, + "name": "code", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 808, + "name": "reason", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 836, + "name": "removeEventListener", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 19, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L19" + } + ], + "signatures": [ + { + "id": 837, + "name": "removeEventListener", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 19, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L19" + } + ], + "parameters": [ + { + "id": 838, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 839, + "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": 809, + "name": "send", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L11" + } + ], + "signatures": [ + { + "id": 810, + "name": "send", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L11" + } + ], + "parameters": [ + { + "id": 811, + "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.dom.d.ts", + "qualifiedName": "Blob" + }, + "name": "Blob", + "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": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 840, 841, 801, 800, 798, 843, 842, 822, 827, 817, 812, 799, 804, 802, 803 + ] + }, + { + "title": "Methods", + "children": [832, 805, 836, 809] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/lib/websocket-factory.ts", + "line": 1, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/lib/websocket-factory.ts#L1" + } + ] + }, + { + "id": 847, + "name": "WebSocketLikeConstructor", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 848, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 58, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L58" + } + ], + "signatures": [ + { + "id": 849, + "name": "WebSocketLikeConstructor", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 59, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L59" + } + ], + "parameters": [ + { + "id": 850, + "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": 851, + "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": 797, + "name": "WebSocketLike", + "package": "@supabase/realtime-js" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [848] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 58, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L58" + } + ], + "indexSignatures": [ + { + "id": 852, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 61, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L61" + } + ], + "parameters": [ + { + "id": 853, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 444, + "name": "RealtimeChannelOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 19, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 445, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 446, + "name": "config", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 20, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L20" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 447, + "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 298, + "id": 448, "name": "broadcast", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "comment": { - "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received" + "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": "RealtimeChannel.ts", - "line": 19, - "character": 4 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 26, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L26" } ], "type": { "type": "reflection", "declaration": { - "id": 299, + "id": 449, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 301, + "id": 451, "name": "ack", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 19, - "character": 34 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 26, + "character": 34, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L26" } ], "type": { @@ -36485,18 +138280,45 @@ } }, { - "id": 300, - "name": "self", + "id": 452, + "name": "replay", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 19, - "character": 18 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 26, + "character": 49, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L26" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "ReplayOption" + }, + "name": "ReplayOption", + "package": "@supabase/realtime-js" + } + }, + { + "id": 450, + "name": "self", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 26, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L26" } ], "type": { @@ -36508,60 +138330,88 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [301, 300] + "children": [451, 452, 450] } ], "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 19, - "character": 16 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 26, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L26" } ] } } }, { - "id": 302, + "id": 453, "name": "presence", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "comment": { - "shortText": "key option is used to track presence payload across clients" + "summary": [ + { + "kind": "text", + "text": "key option is used to track presence payload across clients" + } + ] }, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 23, - "character": 4 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 30, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L30" } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 454, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, - "name": "key", + "id": 456, + "name": "enabled", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 23, - "character": 17 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 30, + "character": 31, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L30" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 455, + "name": "key", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 30, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L30" } ], "type": { @@ -36573,33 +138423,62 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [304] + "children": [456, 455] } ], "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 23, - "character": 15 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 30, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L30" } ] } } + }, + { + "id": 457, + "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/src/RealtimeChannel.ts", + "line": 34, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L34" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [298, 302] + "children": [448, 453, 457] } ], "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 14, - "character": 10 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 20, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L20" } ] } @@ -36609,1575 +138488,32 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [296] + "children": [446] } ], "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 13, - "character": 37 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 19, + "character": 37, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L19" } ] } } }, { - "id": 305, + "id": 458, "name": "RealtimeChannelSendResponse", - "kind": 4194304, - "kindString": "Type alias", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "RealtimeChannel.ts", - "line": 67, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - }, - { - "type": "literal", - "value": "rate limited" - } - ] - } - }, - { - "id": 418, - "name": "RealtimeClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 16, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 419, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 425, - "name": "decode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 424, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 427, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 428, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 429, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 430, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 422, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 423, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 431, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 432, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 11 - } - ], - "indexSignature": { - "id": 433, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 434, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 426, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 23, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 421, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 420, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 17, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "WebSocket", - "package": "typescript", - "name": "WebSocket" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [425, 424, 427, 422, 423, 431, 426, 421, 420] - } - ], - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 16, - "character": 36 - } - ] - } - } - }, - { - "id": 435, - "name": "RealtimeMessage", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 28, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 438, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 30, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 441, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 439, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 440, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 437, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [438, 441, 439, 440, 437] - } - ], - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 28, - "character": 30 - } - ] - } - } - }, - { - "id": 442, - "name": "RealtimePostgresChangesFilter", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 448, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 443, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 444, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 61, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 448, - "name": "T" - } - }, - { - "id": 447, - "name": "filter", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 64, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 62, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 446, - "name": "table", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 63, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [444, 447, 445, 446] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 62 - } - ] - } - } - }, - { - "id": 449, - "name": "RealtimePostgresChangesPayload", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 55, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 453, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 450, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 55, - "character": 53 - } - ], - "indexSignature": { - "id": 451, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 452, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 454, - "typeArguments": [ - { - "type": "reference", - "id": 453, - "name": "T" - } - ], - "name": "RealtimePostgresInsertPayload" - }, - { - "type": "reference", - "id": 464, - "typeArguments": [ - { - "type": "reference", - "id": 453, - "name": "T" - } - ], - "name": "RealtimePostgresUpdatePayload" - }, - { - "type": "reference", - "id": 473, - "typeArguments": [ - { - "type": "reference", - "id": 453, - "name": "T" - } - ], - "name": "RealtimePostgresDeletePayload" - } - ] - } - }, - { - "id": 473, - "name": "RealtimePostgresDeletePayload", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 48, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 482, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 479, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 48, - "character": 52 - } - ], - "indexSignature": { - "id": 480, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 481, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "name": "RealtimePostgresChangesPayloadBase" - }, - { - "type": "reflection", - "declaration": { - "id": 474, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 475, - "name": "eventType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 50, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 508, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" - }, - "" - ] - ] - } - }, - { - "id": 476, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 477, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 9 - } - ] - } - } - }, - { - "id": 478, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 52, - "character": 4 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 482, - "name": "T" - } - ], - "qualifiedName": "Partial", - "package": "typescript", - "name": "Partial" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [475, 476, 478] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 49, - "character": 39 - } - ] - } - } - ] - } - }, - { - "id": 454, - "name": "RealtimePostgresInsertPayload", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 34, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 463, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 460, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 34, - "character": 52 - } - ], - "indexSignature": { - "id": 461, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 462, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "name": "RealtimePostgresChangesPayloadBase" - }, - { - "type": "reflection", - "declaration": { - "id": 455, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 456, - "name": "eventType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 36, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 506, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" - }, - "" - ] - ] - } - }, - { - "id": 457, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 37, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 463, - "name": "T" - } - }, - { - "id": 458, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 38, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 459, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 38, - "character": 9 - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [456, 457, 458] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 35, - "character": 39 - } - ] - } - } - ] - } - }, - { - "id": 464, - "name": "RealtimePostgresUpdatePayload", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 41, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 472, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 469, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 41, - "character": 52 - } - ], - "indexSignature": { - "id": 470, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 471, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "name": "RealtimePostgresChangesPayloadBase" - }, - { - "type": "reflection", - "declaration": { - "id": 465, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 466, - "name": "eventType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 43, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 507, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" - }, - "" - ] - ] - } - }, - { - "id": 467, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 44, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 472, - "name": "T" - } - }, - { - "id": 468, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 45, - "character": 4 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 472, - "name": "T" - } - ], - "qualifiedName": "Partial", - "package": "typescript", - "name": "Partial" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [466, 467, 468] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 42, - "character": 39 - } - ] - } - } - ] - } - }, - { - "id": 483, - "name": "RealtimePresenceJoinPayload", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 20, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 484, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 487, - "name": "currentPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 23, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Presence" - } - } - }, - { - "id": 485, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 511, - "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN" - }, - "" - ] - ] - } - }, - { - "id": 486, - "name": "key", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 488, - "name": "newPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Presence" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [487, 485, 486, 488] - } - ], - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 20, - "character": 42 - } - ] - } - } - }, - { - "id": 489, - "name": "RealtimePresenceLeavePayload", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 27, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 490, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 493, - "name": "currentPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 30, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Presence" - } - } - }, - { - "id": 491, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 28, - "character": 2 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 512, - "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE" - }, - "" - ] - ] - } - }, - { - "id": 492, - "name": "key", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 494, - "name": "leftPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Presence" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [493, 491, 492, 494] - } - ], - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 27, - "character": 43 - } - ] - } - } - }, - { - "id": 495, - "name": "RealtimePresenceState", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 18, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 496, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 18, - "character": 36 - } - ], - "indexSignature": { - "id": 497, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 498, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Presence" - } - } - } - } - } - }, - { - "id": 499, - "name": "RealtimeRemoveChannelResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 36, - "character": 12 + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 125, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L125" } ], "type": { @@ -38197,127 +138533,325 @@ } ] } - } - ], - "groups": [ - { - "title": "Enumerations", - "kind": 8, - "children": [500, 504, 509, 513] }, { - "title": "Classes", - "kind": 128, - "children": [55, 306, 1] - }, - { - "title": "Type Aliases", - "kind": 4194304, - "children": [294, 305, 418, 435, 442, 449, 473, 454, 464, 483, 489, 495, 499] - } - ], - "sources": [ - { - "fileName": "index.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 0, - "name": "@supabase/storage-js", - "kind": 1, - "flags": {}, - "originalName": "", - "children": [ - { - "id": 1, - "name": "index", - "kind": 2, - "kindString": "Module", + "id": 652, + "name": "RealtimeClientOptions", + "variant": "declaration", + "kind": 2097152, "flags": {}, - "children": [ + "sources": [ { - "id": 390, - "name": "StorageApiError", - "kind": 128, - "kindString": "Class", + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 70, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L70" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 653, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, "children": [ { - "id": 391, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, + "id": 679, + "name": "accessToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "sources": [ { - "fileName": "src/lib/errors.ts", - "line": 17, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 88, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L88" } ], - "signatures": [ - { - "id": 392, - "name": "new StorageApiError", - "kind": 16384, - "kindString": "Constructor signature", + "type": { + "type": "reflection", + "declaration": { + "id": 680, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "parameters": [ + "sources": [ { - "id": 393, - "name": "message", - "kind": 32768, - "kindString": "Parameter", + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 88, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L88" + } + ], + "signatures": [ + { + "id": 681, + "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": 664, + "name": "decode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 78, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L78" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" + } + }, + { + "id": 663, + "name": "encode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 77, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L77" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" + } + }, + { + "id": 676, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 85, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L85" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "Fetch" + }, + "name": "Fetch", + "package": "@supabase/realtime-js" + } + }, + { + "id": 666, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 80, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L80" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 667, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 80, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L80" + } + ], + "indexSignatures": [ + { + "id": 668, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 80, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L80" + } + ], + "parameters": [ + { + "id": 669, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], "type": { "type": "intrinsic", "name": "string" } - }, - { - "id": 394, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } } - ], - "type": { - "type": "reference", - "id": 390, - "name": "StorageApiError" - }, - "overwrites": { - "type": "reference", - "id": 387, - "name": "StorageError.constructor" - } + ] } - ], - "overwrites": { - "type": "reference", - "id": 386, - "name": "StorageError.constructor" } }, { - "id": 395, - "name": "status", + "id": 657, + "name": "heartbeatCallback", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { - "fileName": "src/lib/errors.ts", - "line": 15, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 74, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L74" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 658, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 74, + "character": 22, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L74" + } + ], + "signatures": [ + { + "id": 659, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 660, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "HeartbeatStatus" + }, + "name": "HeartbeatStatus", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 656, + "name": "heartbeatIntervalMs", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 73, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L73" } ], "type": { @@ -38326,45 +138860,5124 @@ } }, { - "id": 396, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", + "id": 674, + "name": "log_level", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 83, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L83" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "LogLevel" + }, + "name": "LogLevel", + "package": "@supabase/realtime-js" + } + }, + { + "id": 662, + "name": "logger", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 76, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L76" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" + } + }, + { + "id": 675, + "name": "logLevel", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 84, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L84" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "LogLevel" + }, + "name": "LogLevel", + "package": "@supabase/realtime-js" + } + }, + { + "id": 670, + "name": "params", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 81, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L81" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 671, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 81, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L81" + } + ], + "indexSignatures": [ + { + "id": 672, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 81, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L81" + } + ], + "parameters": [ + { + "id": 673, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + }, + { + "id": 665, + "name": "reconnectAfterMs", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 79, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L79" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" + } + }, + { + "id": 655, + "name": "timeout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 72, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L72" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 654, + "name": "transport", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 71, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L71" + } + ], + "type": { + "type": "reference", + "target": 847, + "name": "WebSocketLikeConstructor", + "package": "@supabase/realtime-js" + } + }, + { + "id": 661, + "name": "vsn", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 75, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L75" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 677, + "name": "worker", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 86, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L86" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 678, + "name": "workerUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 87, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L87" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 679, 664, 663, 676, 666, 657, 656, 674, 662, 675, 670, 665, 655, 654, 661, 677, + 678 + ] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 70, + "character": 36, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L70" + } + ] + } + } + }, + { + "id": 682, + "name": "RealtimeMessage", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 33, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L33" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 683, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 685, + "name": "event", + "variant": "declaration", + "kind": 1024, "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", - "line": 23, - "character": 2 + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 35, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L35" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 688, + "name": "join_ref", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 38, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L38" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 686, + "name": "payload", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 36, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L36" + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 687, + "name": "ref", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 37, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L37" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 684, + "name": "topic", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 34, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L34" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [685, 688, 686, 687, 684] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 33, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L33" + } + ] + } + } + }, + { + "id": 689, + "name": "RealtimePostgresChangesFilter", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 106, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L106" + } + ], + "typeParameters": [ + { + "id": 695, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": 765, + "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", + "package": "@supabase/realtime-js" + }, + "" + ] + ] + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 690, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 691, + "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/src/RealtimeChannel.ts", + "line": 110, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L110" + } + ], + "type": { + "type": "reference", + "target": 695, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + }, + { + "id": 694, + "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/src/RealtimeChannel.ts", + "line": 122, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L122" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 692, + "name": "schema", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The database schema to listen to." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 114, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L114" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 693, + "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/src/RealtimeChannel.ts", + "line": 118, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L118" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [691, 694, 692, 693] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 106, + "character": 99, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L106" + } + ] + } + } + }, + { + "id": 696, + "name": "RealtimePostgresChangesPayload", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 101, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L101" + } + ], + "typeParameters": [ + { + "id": 697, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 698, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 101, + "character": 53, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L101" + } + ], + "indexSignatures": [ + { + "id": 699, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 101, + "character": 55, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L101" + } + ], + "parameters": [ + { + "id": 700, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 701, + "typeArguments": [ + { + "type": "reference", + "target": 697, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimePostgresInsertPayload", + "package": "@supabase/realtime-js" + }, + { + "type": "reference", + "target": 711, + "typeArguments": [ + { + "type": "reference", + "target": 697, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimePostgresUpdatePayload", + "package": "@supabase/realtime-js" + }, + { + "type": "reference", + "target": 720, + "typeArguments": [ + { + "type": "reference", + "target": 697, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "RealtimePostgresDeletePayload", + "package": "@supabase/realtime-js" + } + ] + } + }, + { + "id": 720, + "name": "RealtimePostgresDeletePayload", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 94, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L94" + } + ], + "typeParameters": [ + { + "id": 726, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 727, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 94, + "character": 52, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L94" + } + ], + "indexSignatures": [ + { + "id": 728, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 94, + "character": 54, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L94" + } + ], + "parameters": [ + { + "id": 729, + "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": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresChangesPayloadBase" + }, + "name": "RealtimePostgresChangesPayloadBase", + "package": "@supabase/realtime-js" + }, + { + "type": "reflection", + "declaration": { + "id": 721, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 722, + "name": "eventType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 96, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L96" + } + ], + "type": { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": 769, + "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE", + "package": "@supabase/realtime-js" + }, + "" + ] + ] + } + }, + { + "id": 723, + "name": "new", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 97, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L97" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 724, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 97, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L97" + } + ] + } + } + }, + { + "id": 725, + "name": "old", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 98, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L98" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 726, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [722, 723, 725] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 95, + "character": 39, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L95" + } + ] + } + } + ] + } + }, + { + "id": 701, + "name": "RealtimePostgresInsertPayload", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 80, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L80" + } + ], + "typeParameters": [ + { + "id": 707, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 708, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 80, + "character": 52, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L80" + } + ], + "indexSignatures": [ + { + "id": 709, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 80, + "character": 54, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L80" + } + ], + "parameters": [ + { + "id": 710, + "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": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresChangesPayloadBase" + }, + "name": "RealtimePostgresChangesPayloadBase", + "package": "@supabase/realtime-js" + }, + { + "type": "reflection", + "declaration": { + "id": 702, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 703, + "name": "eventType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 82, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L82" + } + ], + "type": { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": 767, + "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT", + "package": "@supabase/realtime-js" + }, + "" + ] + ] + } + }, + { + "id": 704, + "name": "new", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 83, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L83" + } + ], + "type": { + "type": "reference", + "target": 707, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + }, + { + "id": 705, + "name": "old", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 84, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L84" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 706, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 84, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L84" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [703, 704, 705] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 81, + "character": 39, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L81" + } + ] + } + } + ] + } + }, + { + "id": 711, + "name": "RealtimePostgresUpdatePayload", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 87, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L87" + } + ], + "typeParameters": [ + { + "id": 716, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 717, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 87, + "character": 52, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L87" + } + ], + "indexSignatures": [ + { + "id": 718, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 87, + "character": 54, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L87" + } + ], + "parameters": [ + { + "id": 719, + "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": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresChangesPayloadBase" + }, + "name": "RealtimePostgresChangesPayloadBase", + "package": "@supabase/realtime-js" + }, + { + "type": "reflection", + "declaration": { + "id": 712, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 713, + "name": "eventType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 89, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L89" + } + ], + "type": { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": 768, + "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE", + "package": "@supabase/realtime-js" + }, + "" + ] + ] + } + }, + { + "id": 714, + "name": "new", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 90, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L90" + } + ], + "type": { + "type": "reference", + "target": 716, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + }, + { + "id": 715, + "name": "old", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 91, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L91" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 716, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [713, 714, 715] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 88, + "character": 39, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L88" + } + ] + } + } + ] + } + }, + { + "id": 730, + "name": "RealtimePresenceJoinPayload", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 17, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L17" + } + ], + "typeParameters": [ + { + "id": 736, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 737, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 17, + "character": 50, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L17" + } + ], + "indexSignatures": [ + { + "id": 738, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 17, + "character": 52, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L17" + } + ], + "parameters": [ + { + "id": 739, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 731, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 734, + "name": "currentPresences", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 20, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L20" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "Presence" + }, + "typeArguments": [ + { + "type": "reference", + "target": 736, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "Presence", + "package": "@supabase/realtime-js" + } + } + }, + { + "id": 732, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L18" + } + ], + "type": { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": 772, + "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN", + "package": "@supabase/realtime-js" + }, + "" + ] + ] + } + }, + { + "id": 733, + "name": "key", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 19, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 735, + "name": "newPresences", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 21, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L21" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "Presence" + }, + "typeArguments": [ + { + "type": "reference", + "target": 736, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "Presence", + "package": "@supabase/realtime-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [734, 732, 733, 735] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 17, + "character": 76, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L17" + } + ] + } + } + }, + { + "id": 740, + "name": "RealtimePresenceLeavePayload", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 24, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L24" + } + ], + "typeParameters": [ + { + "id": 746, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 747, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 24, + "character": 51, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L24" + } + ], + "indexSignatures": [ + { + "id": 748, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 24, + "character": 53, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L24" + } + ], + "parameters": [ + { + "id": 749, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 741, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 744, + "name": "currentPresences", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 27, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L27" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "Presence" + }, + "typeArguments": [ + { + "type": "reference", + "target": 746, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "Presence", + "package": "@supabase/realtime-js" + } + } + }, + { + "id": 742, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 25, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L25" + } + ], + "type": { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": 773, + "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE", + "package": "@supabase/realtime-js" + }, + "" + ] + ] + } + }, + { + "id": 743, + "name": "key", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 26, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L26" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 745, + "name": "leftPresences", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 28, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L28" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "Presence" + }, + "typeArguments": [ + { + "type": "reference", + "target": 746, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "Presence", + "package": "@supabase/realtime-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [744, 742, 743, 745] + } + ], + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 24, + "character": 77, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L24" + } + ] + } + } + }, + { + "id": 750, + "name": "RealtimePresenceState", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 13, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L13" + } + ], + "typeParameters": [ + { + "id": 754, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 755, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 13, + "character": 44, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L13" + } + ], + "indexSignatures": [ + { + "id": 756, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 13, + "character": 46, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L13" + } + ], + "parameters": [ + { + "id": 757, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 758, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 13, + "character": 69, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L13" + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 751, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 13, + "character": 75, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L13" + } + ], + "indexSignatures": [ + { + "id": 752, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimePresence.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimePresence.ts#L14" + } + ], + "parameters": [ + { + "id": 753, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "Presence" + }, + "typeArguments": [ + { + "type": "reference", + "target": 754, + "name": "T", + "package": "@supabase/realtime-js", + "refersToTypeParameter": true + } + ], + "name": "Presence", + "package": "@supabase/realtime-js" + } + } + } + ] + } + } + }, + { + "id": 759, + "name": "RealtimeRemoveChannelResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeClient.ts", + "line": 41, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeClient.ts#L41" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + }, + { + "type": "literal", + "value": "error" + } + ] + } + }, + { + "id": 779, + "name": "REALTIME_CHANNEL_STATES", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/core/realtime-js/src/RealtimeChannel.ts", + "line": 148, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/realtime-js/src/RealtimeChannel.ts#L148" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/constants.ts", + "qualifiedName": "CHANNEL_STATES" + }, + "name": "CHANNEL_STATES", + "package": "@supabase/realtime-js", + "preferValues": true + } + }, + "defaultValue": "CHANNEL_STATES" + } + ], + "groups": [ + { + "title": "Enumerations", + "children": [760, 765, 770, 774] + }, + { + "title": "Classes", + "children": [59, 459, 1, 780] + }, + { + "title": "Interfaces", + "children": [797, 847] + }, + { + "title": "Type Aliases", + "children": [444, 458, 652, 682, 689, 696, 720, 701, 711, 730, 740, 750, 759] + }, + { + "title": "Variables", + "children": [779] + } + ], + "packageName": "@supabase/realtime-js", + "readme": [ + { + "kind": "text", + "text": "
\n

\n \n \n \n \n \"Supabase\n \n \n\n

Supabase Realtime JS SDK

\n\n

Send ephemeral messages with Broadcast, track and synchronize state with Presence, and listen to database changes with Postgres Change Data Capture (CDC).

\n\n

\n Guides\n ·\n Reference Docs\n ·\n Multiplayer Demo\n

\n

\n\n
\n\n[![Build](https://github.com/supabase/supabase-js/workflows/CI/badge.svg)](https://github.com/supabase/supabase-js/actions?query=branch%3Amaster)\n[![Package](https://img.shields.io/npm/v/@supabase/realtime-js)](https://www.npmjs.com/package/@supabase/realtime-js)\n[![License: MIT](https://img.shields.io/npm/l/@supabase/supabase-js)](#license)\n[![pkg.pr.new](https://pkg.pr.new/badge/supabase/realtime-js)](https://pkg.pr.new/~/supabase/realtime-js)\n\n
\n\n# Overview\n\nThis SDK enables you to use the following Supabase Realtime's features:\n\n- **Broadcast**: send ephemeral messages from client to clients with minimal latency. Use cases include sharing cursor positions between users.\n- **Presence**: track and synchronize shared state across clients with the help of CRDTs. Use cases include tracking which users are currently viewing a specific webpage.\n- **Postgres Change Data Capture (CDC)**: listen for changes in your PostgreSQL database and send them to clients.\n\n# Usage\n\n## Installing the Package\n\n" + }, + { + "kind": "code", + "text": "```bash\nnpm install @supabase/realtime-js\n```" + }, + { + "kind": "text", + "text": "\n\n## Creating a Channel\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { RealtimeClient } from '@supabase/realtime-js'\n\nconst client = new RealtimeClient(REALTIME_URL, {\n params: {\n apikey: API_KEY,\n },\n})\n\nconst channel = client.channel('test-channel', {})\n\nchannel.subscribe((status, err) => {\n if (status === 'SUBSCRIBED') {\n console.log('Connected!')\n }\n\n if (status === 'CHANNEL_ERROR') {\n console.log(`There was an error subscribing to channel: ${err.message}`)\n }\n\n if (status === 'TIMED_OUT') {\n console.log('Realtime server did not respond in time.')\n }\n\n if (status === 'CLOSED') {\n console.log('Realtime channel was unexpectedly closed.')\n }\n})\n```" + }, + { + "kind": "text", + "text": "\n\n### Notes:\n\n- " + }, + { + "kind": "code", + "text": "`REALTIME_URL`" + }, + { + "kind": "text", + "text": " is " + }, + { + "kind": "code", + "text": "`'ws://localhost:4000/socket'`" + }, + { + "kind": "text", + "text": " when developing locally and " + }, + { + "kind": "code", + "text": "`'wss://.supabase.co/realtime/v1'`" + }, + { + "kind": "text", + "text": " when connecting to your Supabase project.\n- " + }, + { + "kind": "code", + "text": "`API_KEY`" + }, + { + "kind": "text", + "text": " is a JWT whose claims must contain " + }, + { + "kind": "code", + "text": "`exp`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`role`" + }, + { + "kind": "text", + "text": " (existing database role).\n- Channel name can be any " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": ".\n- Setting " + }, + { + "kind": "code", + "text": "`private`" + }, + { + "kind": "text", + "text": " to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " means that the client will use RLS to determine if the user can connect or not to a given channel.\n\n## Broadcast\n\nYour client can send and receive messages based on the " + }, + { + "kind": "code", + "text": "`event`" + }, + { + "kind": "text", + "text": ".\n\n" + }, + { + "kind": "code", + "text": "```js\n// Setup...\n\nconst channel = client.channel('broadcast-test', { broadcast: { ack: false, self: false } })\n\nchannel.on('broadcast', { event: 'some-event' }, (payload) => console.log(payload))\n\nchannel.subscribe(async (status) => {\n if (status === 'SUBSCRIBED') {\n // Send message to other clients listening to 'broadcast-test' channel\n await channel.send({\n type: 'broadcast',\n event: 'some-event',\n payload: { hello: 'world' },\n })\n }\n})\n```" + }, + { + "kind": "text", + "text": "\n\n### Notes:\n\n- Setting " + }, + { + "kind": "code", + "text": "`ack`" + }, + { + "kind": "text", + "text": " to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " means that the " + }, + { + "kind": "code", + "text": "`channel.send`" + }, + { + "kind": "text", + "text": " promise will resolve once server replies with acknowledgment that it received the broadcast message request.\n- Setting " + }, + { + "kind": "code", + "text": "`self`" + }, + { + "kind": "text", + "text": " to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " means that the client will receive the broadcast message it sent out.\n\n### Broadcast Replay\n\nBroadcast Replay enables **private** channels to access messages that were sent earlier. Only messages published via [Broadcast From the Database](https://supabase.com/docs/guides/realtime/broadcast#trigger-broadcast-messages-from-your-database) are available for replay.\n\nYou can configure replay with the following options:\n\n- **" + }, + { + "kind": "code", + "text": "`since`" + }, + { + "kind": "text", + "text": "** (Required): The epoch timestamp in milliseconds, specifying the earliest point from which messages should be retrieved.\n- **" + }, + { + "kind": "code", + "text": "`limit`" + }, + { + "kind": "text", + "text": "** (Optional): The number of messages to return. This must be a positive integer, with a maximum value of 25.\n\nExample:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst twelveHours = 12 * 60 * 60 * 1000\nconst twelveHoursAgo = Date.now() - twelveHours\n\nconst config = { private: true, broadcast: { replay: { since: twelveHoursAgo, limit: 10 } } }\n\nsupabase\n .channel('main:room', { config })\n .on('broadcast', { event: 'my_event' }, (payload) => {\n if (payload?.meta?.replayed) {\n console.log('This message was sent earlier:', payload)\n } else {\n console.log('This is a new message', payload)\n }\n // ...\n })\n .subscribe()\n```" + }, + { + "kind": "text", + "text": "\n\n## Presence\n\nYour client can track and sync state that's stored in the channel.\n\n" + }, + { + "kind": "code", + "text": "```js\n// Setup...\n\nconst channel = client.channel('presence-test', {\n config: {\n presence: {\n key: '',\n },\n },\n})\n\nchannel.on('presence', { event: 'sync' }, () => {\n console.log('Online users: ', channel.presenceState())\n})\n\nchannel.on('presence', { event: 'join' }, ({ newPresences }) => {\n console.log('New users have joined: ', newPresences)\n})\n\nchannel.on('presence', { event: 'leave' }, ({ leftPresences }) => {\n console.log('Users have left: ', leftPresences)\n})\n\nchannel.subscribe(async (status) => {\n if (status === 'SUBSCRIBED') {\n const status = await channel.track({ user_id: 1 })\n console.log(status)\n }\n})\n```" + }, + { + "kind": "text", + "text": "\n\n## Postgres CDC\n\nReceive database changes on the client.\n\n" + }, + { + "kind": "code", + "text": "```js\n// Setup...\n\nconst channel = client.channel('db-changes')\n\nchannel.on('postgres_changes', { event: '*', schema: 'public' }, (payload) => {\n console.log('All changes in public schema: ', payload)\n})\n\nchannel.on(\n 'postgres_changes',\n { event: 'INSERT', schema: 'public', table: 'messages' },\n (payload) => {\n console.log('All inserts in messages table: ', payload)\n }\n)\n\nchannel.on(\n 'postgres_changes',\n { event: 'UPDATE', schema: 'public', table: 'users', filter: 'username=eq.Realtime' },\n (payload) => {\n console.log('All updates on users table when username is Realtime: ', payload)\n }\n)\n\nchannel.subscribe(async (status) => {\n if (status === 'SUBSCRIBED') {\n console.log('Ready to receive database changes!')\n }\n})\n```" + }, + { + "kind": "text", + "text": "\n\n## Get All Channels\n\nYou can see all the channels that your client has instantiatied.\n\n" + }, + { + "kind": "code", + "text": "```js\n// Setup...\n\nclient.getChannels()\n```" + }, + { + "kind": "text", + "text": "\n\n## Cleanup\n\nIt is highly recommended that you clean up your channels after you're done with them.\n\n- Remove a single channel\n\n" + }, + { + "kind": "code", + "text": "```js\n// Setup...\n\nconst channel = client.channel('some-channel-to-remove')\n\nchannel.unsubscribe()\nclient.removeChannel(channel)\n```" + }, + { + "kind": "text", + "text": "\n\n- Remove all channels and close the connection\n\n" + }, + { + "kind": "code", + "text": "```js\n// Setup...\n\nclient.removeAllChannels()\nclient.disconnect()\n```" + }, + { + "kind": "text", + "text": "\n\n## Development\n\nThis package is part of the [Supabase JavaScript monorepo](https://github.com/supabase/supabase-js). To work on this package:\n\n### Building\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Complete build (from monorepo root)\nnpx nx build realtime-js\n\n# Build with watch mode for development\nnpx nx build realtime-js --watch\n\n# Individual build targets\nnpx nx build:main realtime-js # CommonJS build (dist/main/)\nnpx nx build:module realtime-js # ES Modules build (dist/module/)\n\n# Other useful commands\nnpx nx clean realtime-js # Clean build artifacts\nnpx nx lint realtime-js # Run ESLint\nnpx nx typecheck realtime-js # TypeScript type checking\n```" + }, + { + "kind": "text", + "text": "\n\n#### Build Outputs\n\n- **CommonJS (" + }, + { + "kind": "code", + "text": "`dist/main/`" + }, + { + "kind": "text", + "text": ")** - For Node.js environments\n- **ES Modules (" + }, + { + "kind": "code", + "text": "`dist/module/`" + }, + { + "kind": "text", + "text": ")** - For modern bundlers (Webpack, Vite, Rollup)\n- **TypeScript definitions (" + }, + { + "kind": "code", + "text": "`dist/module/index.d.ts`" + }, + { + "kind": "text", + "text": ")** - Type definitions for TypeScript projects\n\nNote: Unlike some other packages, realtime-js doesn't include a UMD build since it's primarily used in Node.js or bundled applications.\n\n#### Validating Package Exports\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Check if package exports are correctly configured\nnpx nx check-exports realtime-js\n```" + }, + { + "kind": "text", + "text": "\n\nThis command uses [\"Are the types wrong?\"](https://github.com/arethetypeswrong/arethetypeswrong.github.io) to verify that the package exports work correctly in different environments. Run this before publishing to ensure your package can be imported correctly by all consumers.\n\n### Testing\n\n**No Docker or Supabase instance required!** The realtime-js tests use mocked WebSocket connections, so they're completely self-contained.\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Run unit tests (from monorepo root)\nnpx nx test realtime-js\n\n# Run tests with coverage report\nnpx nx test:coverage realtime-js\n\n# Run tests in watch mode during development\nnpx nx test:watch realtime-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Test Scripts Explained\n\n- **test** - Runs all unit tests once using Vitest\n- **test:coverage** - Runs tests and generates coverage report with terminal output\n- **test:watch** - Runs tests in interactive watch mode for development\n\nThe tests mock WebSocket connections using " + }, + { + "kind": "code", + "text": "`mock-socket`" + }, + { + "kind": "text", + "text": ", so you can run them anytime without any external dependencies.\n\n### Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](" + }, + { + "kind": "relative-link", + "text": "../../../CONTRIBUTING.md", + "target": 2 + }, + { + "kind": "text", + "text": ") for details on how to get started.\n\nFor major changes or if you're unsure about something, please open an issue first to discuss your proposed changes.\n\n## Credits\n\nThis repo draws heavily from [phoenix-js](https://github.com/phoenixframework/phoenix/tree/master/assets/js/phoenix).\n\n## License\n\nMIT." + } + ], + "symbolIdMap": { + "0": { + "sourceFileName": "src/index.ts", + "qualifiedName": "" + }, + "1": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "default" + }, + "30": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "default.__constructor" + }, + "31": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "default" + }, + "32": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "channel" + }, + "33": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "opts" + }, + "34": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "default.state" + }, + "35": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "default.pendingDiffs" + }, + "36": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "default.joinRef" + }, + "37": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "default.enabled" + }, + "38": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "default.caller" + }, + "39": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "40": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.onJoin" + }, + "41": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.onLeave" + }, + "42": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.onSync" + }, + "43": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "44": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "45": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "default.channel" + }, + "59": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default" + }, + "70": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.__constructor" + }, + "71": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default" + }, + "72": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "topic" + }, + "73": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "params" + }, + "74": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "socket" + }, + "75": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.bindings" + }, + "76": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "77": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "79": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "80": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "81": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.filter" + }, + "82": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "83": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "85": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.callback" + }, + "86": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.id" + }, + "87": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.timeout" + }, + "88": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.state" + }, + "89": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.joinedOnce" + }, + "90": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.joinPush" + }, + "91": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.rejoinTimer" + }, + "92": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.pushBuffer" + }, + "93": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.presence" + }, + "94": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.broadcastEndpointURL" + }, + "95": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.subTopic" + }, + "96": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.private" + }, + "97": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.topic" + }, + "98": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.params" + }, + "99": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.socket" + }, + "100": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.subscribe" + }, + "101": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.subscribe" + }, + "102": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "103": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "104": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "105": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "status" + }, + "106": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "err" + }, + "107": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "timeout" + }, + "108": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.presenceState" + }, + "109": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.presenceState" + }, + "110": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "111": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "112": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "114": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "115": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.track" + }, + "116": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.track" + }, + "117": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "118": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "119": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "121": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "opts" + }, + "122": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "123": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "125": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.untrack" + }, + "126": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.untrack" + }, + "127": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "opts" + }, + "128": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "129": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "131": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "132": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "133": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "134": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "135": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "136": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "137": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "138": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "139": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "140": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "141": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "142": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "143": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "145": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "146": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "147": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "148": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "149": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "150": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "151": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "152": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "153": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "154": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "155": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "156": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "158": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "159": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "160": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "161": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "162": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "163": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "164": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "165": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "166": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "167": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "168": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "169": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "171": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "172": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "173": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "174": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "175": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "176": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "177": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "178": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "179": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "180": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "182": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "183": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "184": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "185": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "186": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "187": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "188": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "189": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "190": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "191": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "193": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "194": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "195": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "196": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "197": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "198": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "199": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "200": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "201": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "202": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "204": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "205": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "206": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "207": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "208": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "209": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "210": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "211": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "212": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "213": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "214": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "215": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "216": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "217": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "218": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "219": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "220": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "221": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "222": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.meta" + }, + "223": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "224": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.replayed" + }, + "225": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.id" + }, + "226": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "228": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "229": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "230": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "231": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "233": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "234": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "235": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "236": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "237": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "238": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "239": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "240": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "241": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "242": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "243": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "244": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.meta" + }, + "245": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "246": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.replayed" + }, + "247": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.id" + }, + "248": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.payload" + }, + "249": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "250": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "251": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "252": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "253": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "254": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "255": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "256": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "257": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "258": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "259": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "260": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "261": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "262": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.payload" + }, + "263": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "264": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "265": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "266": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "268": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "269": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "270": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "271": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "272": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "273": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "274": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "275": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "276": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "277": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "278": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "279": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.payload" + }, + "280": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "281": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "282": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "283": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "285": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "286": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "287": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "288": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "289": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "290": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "291": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "292": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "293": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "294": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "295": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "296": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.payload" + }, + "297": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "298": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "299": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "300": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "302": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "303": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "304": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "305": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "306": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "307": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "308": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "309": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "310": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "311": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "312": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "313": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.payload" + }, + "314": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.on" + }, + "315": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "316": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "317": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "319": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "320": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "321": { + "sourceFileName": "", + "qualifiedName": "__type" + }, + "322": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "323": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "324": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "325": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "326": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.httpSend" + }, + "327": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.httpSend" + }, + "328": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "event" + }, + "329": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "330": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "opts" + }, + "331": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "332": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.timeout" + }, + "333": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "334": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.success" + }, + "335": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "336": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.success" + }, + "337": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.status" + }, + "338": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.error" + }, + "339": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.send" + }, + "340": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.send" + }, + "341": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "args" + }, + "342": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "343": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "344": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "345": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.payload" + }, + "346": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "348": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "opts" + }, + "349": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "350": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "352": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.updateJoinPayload" + }, + "353": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.updateJoinPayload" + }, + "354": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "355": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "356": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "358": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.unsubscribe" + }, + "359": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.unsubscribe" + }, + "360": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "timeout" + }, + "361": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.teardown" + }, + "362": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.teardown" + }, + "444": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimeChannelOptions" + }, + "445": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "446": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.config" + }, + "447": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "448": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.broadcast" + }, + "449": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "450": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.self" + }, + "451": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.ack" + }, + "452": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.replay" + }, + "453": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.presence" + }, + "454": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "455": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.key" + }, + "456": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.enabled" + }, + "457": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.private" + }, + "458": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimeChannelSendResponse" + }, + "459": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default" + }, + "460": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.__constructor" + }, + "461": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default" + }, + "462": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "endPoint" + }, + "463": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "options" + }, + "464": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.accessTokenValue" + }, + "465": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.apiKey" + }, + "466": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.channels" + }, + "467": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.endPoint" + }, + "468": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.httpEndpoint" + }, + "469": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.headers" + }, + "470": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "471": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.__index" + }, + "473": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.params" + }, + "474": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "475": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.__index" + }, + "477": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.timeout" + }, + "478": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.transport" + }, + "479": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.heartbeatIntervalMs" + }, + "480": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.heartbeatTimer" + }, + "481": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.pendingHeartbeatRef" + }, + "482": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.heartbeatCallback" + }, + "483": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "484": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "485": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "status" + }, + "486": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.ref" + }, + "487": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.reconnectTimer" + }, + "488": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.vsn" + }, + "489": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.logger" + }, + "490": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.logLevel" + }, + "491": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.encode" + }, + "492": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.decode" + }, + "493": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.reconnectAfterMs" + }, + "494": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.conn" + }, + "495": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.sendBuffer" + }, + "496": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.serializer" + }, + "497": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.stateChangeCallbacks" + }, + "498": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "499": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.open" + }, + "500": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.close" + }, + "501": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.error" + }, + "502": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.message" + }, + "503": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.fetch" + }, + "504": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "505": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "fetch" + }, + "506": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "input" + }, + "507": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" + }, + "508": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "fetch" + }, + "509": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "input" + }, + "510": { + "sourceFileName": "../../../node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" + }, + "511": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.accessToken" + }, + "512": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "513": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "514": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.worker" + }, + "515": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.workerUrl" + }, + "516": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.workerRef" + }, + "520": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.connect" + }, + "521": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.connect" + }, + "522": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.endpointURL" + }, + "523": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.endpointURL" + }, + "524": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.disconnect" + }, + "525": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.disconnect" + }, + "526": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "code" + }, + "527": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "reason" + }, + "528": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.getChannels" + }, + "529": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.getChannels" + }, + "530": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.removeChannel" + }, + "531": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.removeChannel" + }, + "532": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "channel" + }, + "533": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.removeAllChannels" + }, + "534": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.removeAllChannels" + }, + "535": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.log" + }, + "536": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.log" + }, + "537": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "kind" + }, + "538": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "msg" + }, + "539": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "data" + }, + "540": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.connectionState" + }, + "541": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.connectionState" + }, + "542": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.isConnected" + }, + "543": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.isConnected" + }, + "544": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.isConnecting" + }, + "545": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.isConnecting" + }, + "546": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.isDisconnecting" + }, + "547": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.isDisconnecting" + }, + "548": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.channel" + }, + "549": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.channel" + }, + "550": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "topic" + }, + "551": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "params" + }, + "552": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.push" + }, + "553": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.push" + }, + "554": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "data" + }, + "555": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.setAuth" + }, + "556": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.setAuth" + }, + "557": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "token" + }, + "558": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.sendHeartbeat" + }, + "559": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.sendHeartbeat" + }, + "560": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.onHeartbeat" + }, + "561": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.onHeartbeat" + }, + "562": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "callback" + }, + "563": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "564": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "565": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "status" + }, + "566": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.flushSendBuffer" + }, + "567": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.flushSendBuffer" + }, + "652": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "RealtimeClientOptions" + }, + "653": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "654": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.transport" + }, + "655": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.timeout" + }, + "656": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.heartbeatIntervalMs" + }, + "657": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.heartbeatCallback" + }, + "658": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "659": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "660": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "status" + }, + "661": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.vsn" + }, + "662": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.logger" + }, + "663": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.encode" + }, + "664": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.decode" + }, + "665": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.reconnectAfterMs" + }, + "666": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.headers" + }, + "667": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "668": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.__index" + }, + "670": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.params" + }, + "671": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "672": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.__index" + }, + "674": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.log_level" + }, + "675": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.logLevel" + }, + "676": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.fetch" + }, + "677": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.worker" + }, + "678": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.workerUrl" + }, + "679": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.accessToken" + }, + "680": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "681": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "682": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "RealtimeMessage" + }, + "683": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "684": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.topic" + }, + "685": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.event" + }, + "686": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.payload" + }, + "687": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.ref" + }, + "688": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.join_ref" + }, + "689": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresChangesFilter" + }, + "690": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "691": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "692": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.schema" + }, + "693": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.table" + }, + "694": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.filter" + }, + "695": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "696": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresChangesPayload" + }, + "697": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "698": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "699": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "701": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresInsertPayload" + }, + "702": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "703": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.eventType" + }, + "704": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.new" + }, + "705": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.old" + }, + "706": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "707": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "708": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "709": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "711": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresUpdatePayload" + }, + "712": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "713": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.eventType" + }, + "714": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.new" + }, + "715": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.old" + }, + "716": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "717": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "718": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "720": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresDeletePayload" + }, + "721": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "722": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.eventType" + }, + "723": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.new" + }, + "724": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "725": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.old" + }, + "726": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "727": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "728": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "730": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "RealtimePresenceJoinPayload" + }, + "731": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "732": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.event" + }, + "733": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.key" + }, + "734": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.currentPresences" + }, + "735": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.newPresences" + }, + "736": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "T" + }, + "737": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "738": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "740": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "RealtimePresenceLeavePayload" + }, + "741": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "742": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.event" + }, + "743": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.key" + }, + "744": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.currentPresences" + }, + "745": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.leftPresences" + }, + "746": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "T" + }, + "747": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "748": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "750": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "RealtimePresenceState" + }, + "751": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "752": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "754": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "T" + }, + "755": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "756": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "758": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "759": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "RealtimeRemoveChannelResponse" + }, + "760": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_LISTEN_TYPES" + }, + "761": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_LISTEN_TYPES.BROADCAST" + }, + "762": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_LISTEN_TYPES.PRESENCE" + }, + "763": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_LISTEN_TYPES.POSTGRES_CHANGES" + }, + "764": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_LISTEN_TYPES.SYSTEM" + }, + "765": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" + }, + "766": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.ALL" + }, + "767": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" + }, + "768": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" + }, + "769": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" + }, + "770": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS" + }, + "771": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.SYNC" + }, + "772": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN" + }, + "773": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE" + }, + "774": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_SUBSCRIBE_STATES" + }, + "775": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_SUBSCRIBE_STATES.SUBSCRIBED" + }, + "776": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_SUBSCRIBE_STATES.TIMED_OUT" + }, + "777": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_SUBSCRIBE_STATES.CLOSED" + }, + "778": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_SUBSCRIBE_STATES.CHANNEL_ERROR" + }, + "779": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "REALTIME_CHANNEL_STATES" + }, + "780": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory" + }, + "783": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory.getWebSocketConstructor" + }, + "784": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory.getWebSocketConstructor" + }, + "785": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "__type" + }, + "786": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "__type" + }, + "787": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "url" + }, + "788": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "protocols" + }, + "789": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory.createWebSocket" + }, + "790": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory.createWebSocket" + }, + "791": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "url" + }, + "792": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "protocols" + }, + "793": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory.isWebSocketSupported" + }, + "794": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketFactory.isWebSocketSupported" + }, + "797": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike" + }, + "798": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.CONNECTING" + }, + "799": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.OPEN" + }, + "800": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.CLOSING" + }, + "801": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.CLOSED" + }, + "802": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.readyState" + }, + "803": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.url" + }, + "804": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.protocol" + }, + "805": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.close" + }, + "806": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.close" + }, + "807": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "code" + }, + "808": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "reason" + }, + "809": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.send" + }, + "810": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.send" + }, + "811": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "data" + }, + "812": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.onopen" + }, + "813": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "814": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "815": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "this" + }, + "816": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "ev" + }, + "817": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.onmessage" + }, + "818": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "819": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "820": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "this" + }, + "821": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "ev" + }, + "822": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.onclose" + }, + "823": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "824": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "825": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "this" + }, + "826": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "ev" + }, + "827": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.onerror" + }, + "828": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "829": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "830": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "this" + }, + "831": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "ev" + }, + "832": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.addEventListener" + }, + "833": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.addEventListener" + }, + "834": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "type" + }, + "835": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "listener" + }, + "836": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.removeEventListener" + }, + "837": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.removeEventListener" + }, + "838": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "type" + }, + "839": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "listener" + }, + "840": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.binaryType" + }, + "841": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.bufferedAmount" + }, + "842": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.extensions" + }, + "843": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "WebSocketLike.dispatchEvent" + }, + "844": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "845": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "__type" + }, + "846": { + "sourceFileName": "src/lib/websocket-factory.ts", + "qualifiedName": "event" + }, + "847": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "WebSocketLikeConstructor" + }, + "848": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "WebSocketLikeConstructor" + }, + "849": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "WebSocketLikeConstructor" + }, + "850": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "address" + }, + "851": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "subprotocols" + }, + "852": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "WebSocketLikeConstructor.__index" + } + }, + "files": { + "entries": { + "1": "src/index.ts", + "2": "../../../CONTRIBUTING.md" + }, + "reflections": { + "1": 0 + } + } + }, + { + "id": 0, + "name": "@supabase/storage-js", + "variant": "project", + "kind": 1, + "flags": {}, + "children": [ + { + "id": 1, + "name": "index", + "variant": "declaration", + "kind": 2, + "flags": {}, + "children": [ + { + "id": 1181, + "name": "StorageVectorsErrorCode", + "variant": "declaration", + "kind": 8, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Error codes specific to S3 Vectors API\nMaps AWS service errors to application-friendly error codes" + } + ] + }, + "children": [ + { + "id": 1182, + "name": "InternalError", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Internal server fault (HTTP 500)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L67" + } + ], + "type": { + "type": "literal", + "value": "InternalError" + } + }, + { + "id": 1185, + "name": "S3VectorBucketNotEmpty", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Delete bucket while not empty (HTTP 400)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 73, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L73" + } + ], + "type": { + "type": "literal", + "value": "S3VectorBucketNotEmpty" + } + }, + { + "id": 1183, + "name": "S3VectorConflictException", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Resource already exists / conflict (HTTP 409)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 69, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L69" + } + ], + "type": { + "type": "literal", + "value": "S3VectorConflictException" + } + }, + { + "id": 1186, + "name": "S3VectorMaxBucketsExceeded", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Exceeds bucket quota/limit (HTTP 400)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 75, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L75" + } + ], + "type": { + "type": "literal", + "value": "S3VectorMaxBucketsExceeded" + } + }, + { + "id": 1187, + "name": "S3VectorMaxIndexesExceeded", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Exceeds index quota/limit (HTTP 400)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 77, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L77" + } + ], + "type": { + "type": "literal", + "value": "S3VectorMaxIndexesExceeded" + } + }, + { + "id": 1184, + "name": "S3VectorNotFoundException", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Resource not found (HTTP 404)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 71, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L71" + } + ], + "type": { + "type": "literal", + "value": "S3VectorNotFoundException" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [1182, 1185, 1183, 1186, 1187, 1184] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 65, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L65" + } + ] + }, + { + "id": 729, + "name": "StorageApiError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 730, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L18" } ], "signatures": [ { - "id": 397, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", + "id": 731, + "name": "StorageApiError", + "variant": "signature", + "kind": 16384, "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L18" + } + ], + "parameters": [ + { + "id": 732, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 733, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 734, + "name": "statusCode", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": 729, + "name": "StorageApiError", + "package": "@supabase/storage-js" + }, + "overwrites": { + "type": "reference", + "target": 726, + "name": "StorageError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 725, + "name": "StorageError.constructor" + } + }, + { + "id": 735, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 15, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L15" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 736, + "name": "statusCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 16, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L16" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 737, + "name": "toJSON", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 25, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L25" + } + ], + "signatures": [ + { + "id": 738, + "name": "toJSON", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 25, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L25" + } + ], "type": { "type": "reflection", "declaration": { - "id": 398, + "id": 739, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 400, + "id": 741, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", - "line": 26, - "character": 6 + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 28, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L28" } ], "type": { @@ -38374,16 +143987,17 @@ "defaultValue": "..." }, { - "id": 399, + "id": 740, "name": "name", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", - "line": 25, - "character": 6 + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 27, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L27" } ], "type": { @@ -38393,16 +144007,17 @@ "defaultValue": "..." }, { - "id": 401, + "id": 742, "name": "status", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", - "line": 27, - "character": 6 + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 29, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L29" } ], "type": { @@ -38410,13 +144025,40 @@ "name": "number" }, "defaultValue": "..." + }, + { + "id": 743, + "name": "statusCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 30, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L30" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [400, 399, 401] + "children": [741, 740, 742, 743] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 26, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L26" } ] } @@ -38428,68 +144070,76 @@ "groups": [ { "title": "Constructors", - "kind": 512, - "children": [391] + "children": [730] }, { "title": "Properties", - "kind": 1024, - "children": [395] + "children": [735, 736] }, { "title": "Methods", - "kind": 2048, - "children": [396] + "children": [737] } ], "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 14, - "character": 13 + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L14" } ], "extendedTypes": [ { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } ] }, { - "id": 258, + "id": 500, "name": "StorageClient", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 259, + "id": 501, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/StorageClient.ts", - "line": 6, - "character": 2 + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 12, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L12" } ], "signatures": [ { - "id": 260, - "name": "new StorageClient", + "id": 502, + "name": "StorageClient", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 12, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L12" + } + ], "parameters": [ { - "id": 261, + "id": 503, "name": "url", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -38497,170 +144147,507 @@ } }, { - "id": 262, + "id": 504, "name": "headers", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 263, + "id": 505, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, - "indexSignature": { - "id": 264, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 265, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 14, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L14" } - } + ], + "indexSignatures": [ + { + "id": 506, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 14, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L14" + } + ], + "parameters": [ + { + "id": 507, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, "defaultValue": "{}" }, { - "id": 266, + "id": 508, "name": "fetch", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reflection", "declaration": { - "id": 267, + "id": 509, "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": 268, + "id": 510, "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": 269, + "id": 511, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "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": 270, + "id": 512, "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": 513, + "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": 514, + "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": 515, + "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": 516, + "name": "opts", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 611, + "name": "StorageClientOptions", + "package": "@supabase/storage-js" + } } ], "type": { "type": "reference", - "id": 258, - "name": "StorageClient" + "target": 500, + "name": "StorageClient", + "package": "@supabase/storage-js" }, "overwrites": { "type": "reference", - "id": 5, + "target": 117, "name": "default.constructor" } } ], "overwrites": { "type": "reference", - "id": 4, + "target": 116, "name": "default.constructor" } }, { - "id": 301, - "name": "createBucket", - "kind": 2048, - "kindString": "Method", + "id": 522, + "name": "analytics", + "variant": "declaration", + "kind": 262144, "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 79, - "character": 8 + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 61, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L61" + } + ], + "getSignature": { + "id": 523, + "name": "analytics", + "variant": "signature", + "kind": 524288, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Access analytics storage operations using Iceberg tables." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A StorageAnalyticsApi instance configured with the current storage settings." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst client = createClient(url, key)\nconst analytics = client.storage.analytics\n\n// Create an analytics bucket\nawait analytics.createBucket('my-analytics-bucket')\n\n// List all analytics buckets\nconst { data: buckets } = await analytics.listBuckets()\n\n// Delete an analytics bucket\nawait analytics.deleteBucket('old-analytics-bucket')\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 61, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L61" + } + ], + "type": { + "type": "reference", + "target": 47, + "name": "StorageAnalyticsApi", + "package": "@supabase/storage-js", + "qualifiedName": "default" + } + } + }, + { + "id": 520, + "name": "vectors", + "variant": "declaration", + "kind": 262144, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 35, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L35" + } + ], + "getSignature": { + "id": 521, + "name": "vectors", + "variant": "signature", + "kind": 524288, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Access vector storage operations." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A StorageVectorsClient instance configured with the current storage settings." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 35, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L35" + } + ], + "type": { + "type": "reference", + "target": 752, + "name": "StorageVectorsClient", + "package": "@supabase/storage-js" + } + } + }, + { + "id": 558, + "name": "createBucket", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 120, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L120" } ], "signatures": [ { - "id": 302, + "id": 559, "name": "createBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\n" + "flags": { + "isInherited": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new Storage bucket" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "newly created bucket id" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 120, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L120" + } + ], "parameters": [ { - "id": 303, + "id": 560, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "A unique identifier for the bucket you are creating." + "summary": [ + { + "kind": "text", + "text": "A unique identifier for the bucket you are creating." + } + ] }, "type": { "type": "intrinsic", @@ -38668,47 +144655,186 @@ } }, { - "id": 304, + "id": 561, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 562, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, - "name": "public", + "id": 565, + "name": "allowedMimeTypes", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { - "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private." + "summary": [ + { + "kind": "text", + "text": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png." + } + ] }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 81, - "character": 15 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 125, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L125" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 564, + "name": "fileSizeLimit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 124, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L124" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 563, + "name": "public", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 123, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L123" } ], "type": { "type": "intrinsic", "name": "boolean" } + }, + { + "id": 566, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "(private-beta) specifies the bucket type. see " + }, + { + "kind": "code", + "text": "`BucketType`" + }, + { + "kind": "text", + "text": " for more details.\n - default bucket type is " + }, + { + "kind": "code", + "text": "`STANDARD`" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 126, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L126" + } + ], + "type": { + "type": "reference", + "target": 614, + "name": "BucketType", + "package": "@supabase/storage-js" + } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [306] + "children": [565, 564, 563, 566] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 122, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L122" } ] } @@ -38718,6 +144844,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -38725,54 +144855,60 @@ { "type": "reflection", "declaration": { - "id": 307, + "id": 567, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 308, + "id": 568, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 84, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 132, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L132" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, "typeArguments": [ { "type": "reference", - "id": 349, - "name": "Bucket" + "target": 615, + "name": "Bucket", + "package": "@supabase/storage-js" }, { "type": "literal", "value": "name" } ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" + "name": "Pick", + "package": "typescript" } }, { - "id": 309, + "id": 569, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 85, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 133, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L133" } ], "type": { @@ -38784,8 +144920,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [308, 309] + "children": [568, 569] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 131, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L131" } ] } @@ -38793,23 +144936,24 @@ { "type": "reflection", "declaration": { - "id": 310, + "id": 570, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 311, + "id": 571, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 88, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 136, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L136" } ], "type": { @@ -38818,30 +144962,39 @@ } }, { - "id": 312, + "id": 572, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 89, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 137, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L137" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [311, 312] + "children": [571, 572] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 135, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L135" } ] } @@ -38849,55 +145002,85 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 44, + "target": 167, "name": "default.createBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 43, + "target": 166, "name": "default.createBucket" } }, { - "id": 338, + "id": 600, "name": "deleteBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 185, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 263, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L263" } ], "signatures": [ { - "id": 339, + "id": 601, "name": "deleteBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket." + "flags": { + "isInherited": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first " + }, + { + "kind": "code", + "text": "`empty()`" + }, + { + "kind": "text", + "text": " the bucket." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 263, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L263" + } + ], "parameters": [ { - "id": 340, + "id": 602, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The unique identifier of the bucket you would like to delete.\n" + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to delete." + } + ] }, "type": { "type": "intrinsic", @@ -38907,6 +145090,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -38914,45 +145101,47 @@ { "type": "reflection", "declaration": { - "id": 341, + "id": 603, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 604, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 265, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L265" } ], "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 605, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 344, + "id": 606, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, - "character": 16 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 265, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L265" } ], "type": { @@ -38964,24 +145153,32 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [344] + "children": [606] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 265, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L265" } ] } } }, { - "id": 345, + "id": 607, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 190, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 266, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L266" } ], "type": { @@ -38993,8 +145190,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [342, 345] + "children": [604, 607] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 264, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L264" } ] } @@ -39002,23 +145206,24 @@ { "type": "reflection", "declaration": { - "id": 346, + "id": 608, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 609, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 193, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 269, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L269" } ], "type": { @@ -39027,30 +145232,39 @@ } }, { - "id": 348, + "id": 610, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 194, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 270, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L270" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [347, 348] + "children": [609, 610] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 268, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L268" } ] } @@ -39058,55 +145272,77 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 81, + "target": 209, "name": "default.deleteBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 80, + "target": 208, "name": "default.deleteBucket" } }, { - "id": 327, + "id": 589, "name": "emptyBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 150, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 227, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L227" } ], "signatures": [ { - "id": 328, + "id": 590, "name": "emptyBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Removes all objects inside a single bucket." + "flags": { + "isInherited": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Removes all objects inside a single bucket." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 227, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L227" + } + ], "parameters": [ { - "id": 329, + "id": 591, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The unique identifier of the bucket you would like to empty.\n" + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to empty." + } + ] }, "type": { "type": "intrinsic", @@ -39116,6 +145352,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -39123,45 +145363,47 @@ { "type": "reflection", "declaration": { - "id": 330, + "id": 592, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 331, + "id": 593, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 154, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 229, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L229" } ], "type": { "type": "reflection", "declaration": { - "id": 332, + "id": 594, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 333, + "id": 595, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 154, - "character": 16 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 229, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L229" } ], "type": { @@ -39173,24 +145415,32 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [333] + "children": [595] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 229, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L229" } ] } } }, { - "id": 334, + "id": 596, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 155, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 230, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L230" } ], "type": { @@ -39202,8 +145452,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [331, 334] + "children": [593, 596] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 228, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L228" } ] } @@ -39211,23 +145468,24 @@ { "type": "reflection", "declaration": { - "id": 335, + "id": 597, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 336, + "id": 598, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 158, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 233, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L233" } ], "type": { @@ -39236,30 +145494,39 @@ } }, { - "id": 337, + "id": 599, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 159, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 234, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L234" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [336, 337] + "children": [598, 599] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 232, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L232" } ] } @@ -39267,55 +145534,73 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 70, + "target": 198, "name": "default.emptyBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 69, + "target": 197, "name": "default.emptyBucket" } }, { - "id": 271, + "id": 517, "name": "from", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/StorageClient.ts", - "line": 15, - "character": 2 + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 26, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L26" } ], "signatures": [ { - "id": 272, + "id": 518, "name": "from", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Perform file operation in a bucket." + "summary": [ + { + "kind": "text", + "text": "Perform file operation in a bucket." + } + ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 26, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L26" + } + ], "parameters": [ { - "id": 273, + "id": 519, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The bucket id to operate on.\n" + "summary": [ + { + "kind": "text", + "text": "The bucket id to operate on." + } + ] }, "type": { "type": "intrinsic", @@ -39325,44 +145610,69 @@ ], "type": { "type": "reference", - "id": 92, - "name": "default" + "target": 223, + "name": "StorageFileApi", + "package": "@supabase/storage-js", + "qualifiedName": "default" } } ] }, { - "id": 292, + "id": 549, "name": "getBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 48, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 80, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L80" } ], "signatures": [ { - "id": 293, + "id": 550, "name": "getBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves the details of an existing Storage bucket." + "flags": { + "isInherited": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves the details of an existing Storage bucket." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 80, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L80" + } + ], "parameters": [ { - "id": 294, + "id": 551, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The unique identifier of the bucket you would like to retrieve.\n" + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to retrieve." + } + ] }, "type": { "type": "intrinsic", @@ -39372,6 +145682,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -39379,42 +145693,45 @@ { "type": "reflection", "declaration": { - "id": 295, + "id": 552, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 296, + "id": 553, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 52, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 82, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L82" } ], "type": { "type": "reference", - "id": 349, - "name": "Bucket" + "target": 615, + "name": "Bucket", + "package": "@supabase/storage-js" } }, { - "id": 297, + "id": 554, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 53, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 83, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L83" } ], "type": { @@ -39426,8 +145743,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [296, 297] + "children": [553, 554] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 81, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L81" } ] } @@ -39435,23 +145759,24 @@ { "type": "reflection", "declaration": { - "id": 298, + "id": 555, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 299, + "id": 556, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 56, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 86, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L86" } ], "type": { @@ -39460,30 +145785,39 @@ } }, { - "id": 300, + "id": 557, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 57, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 87, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L87" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [299, 300] + "children": [556, 557] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 85, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L85" } ] } @@ -39491,48 +145825,86 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 35, + "target": 158, "name": "default.getBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 34, + "target": 157, "name": "default.getBucket" } }, { - "id": 284, + "id": 540, "name": "listBuckets", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isInherited": true + }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 21, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 47, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L47" } ], "signatures": [ { - "id": 285, + "id": 541, "name": "listBuckets", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves the details of all Storage buckets within an existing project." + "flags": { + "isInherited": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves the details of all Storage buckets within an existing project." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 47, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L47" + } + ], + "parameters": [ + { + "id": 542, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 625, + "name": "ListBucketOptions", + "package": "@supabase/storage-js" + } + } + ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -39540,45 +145912,48 @@ { "type": "reflection", "declaration": { - "id": 286, + "id": 543, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 287, + "id": 544, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 23, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 49, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L49" } ], "type": { "type": "array", "elementType": { "type": "reference", - "id": 349, - "name": "Bucket" + "target": 615, + "name": "Bucket", + "package": "@supabase/storage-js" } } }, { - "id": 288, + "id": 545, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 24, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 50, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L50" } ], "type": { @@ -39590,8 +145965,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [287, 288] + "children": [544, 545] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 48, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L48" } ] } @@ -39599,23 +145981,24 @@ { "type": "reflection", "declaration": { - "id": 289, + "id": 546, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 290, + "id": 547, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 27, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 53, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L53" } ], "type": { @@ -39624,30 +146007,39 @@ } }, { - "id": 291, + "id": 548, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 28, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 54, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L54" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [290, 291] + "children": [547, 548] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 52, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L52" } ] } @@ -39655,55 +146047,136 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 27, + "target": 149, "name": "default.listBuckets" } } ], "inheritedFrom": { "type": "reference", - "id": 26, + "target": 148, "name": "default.listBuckets" } }, { - "id": 313, - "name": "updateBucket", + "id": 538, + "name": "throwOnError", + "variant": "declaration", "kind": 2048, - "kindString": "Method", - "flags": {}, + "flags": { + "isPublic": true, + "isInherited": true + }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 115, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 39, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L39" } ], "signatures": [ { - "id": 314, - "name": "updateBucket", + "id": 539, + "name": "throwOnError", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Updates a Storage bucket" + "flags": { + "isInherited": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable throwing errors instead of returning them." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 39, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L39" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": 147, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 146, + "name": "default.throwOnError" + } + }, + { + "id": 573, + "name": "updateBucket", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 179, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L179" + } + ], + "signatures": [ + { + "id": 574, + "name": "updateBucket", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updates a Storage bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 179, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L179" + } + ], "parameters": [ { - "id": 315, + "id": 575, "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "A unique identifier for the bucket you are updating." + "summary": [ + { + "kind": "text", + "text": "A unique identifier for the bucket you are updating." + } + ] }, "type": { "type": "intrinsic", @@ -39711,34 +146184,123 @@ } }, { - "id": 316, + "id": 576, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 577, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 318, - "name": "public", + "id": 580, + "name": "allowedMimeTypes", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { - "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations.\n" + "summary": [ + { + "kind": "text", + "text": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png." + } + ] }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 117, - "character": 15 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 184, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L184" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 579, + "name": "fileSizeLimit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 183, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L183" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 578, + "name": "public", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 182, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L182" } ], "type": { @@ -39750,8 +146312,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [318] + "children": [580, 579, 578] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 181, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L181" } ] } @@ -39760,6 +146329,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -39767,45 +146340,47 @@ { "type": "reflection", "declaration": { - "id": 319, + "id": 581, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 320, + "id": 582, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 120, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 188, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L188" } ], "type": { "type": "reflection", "declaration": { - "id": 321, + "id": 583, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 322, + "id": 584, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 120, - "character": 16 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 188, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L188" } ], "type": { @@ -39817,24 +146392,32 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [322] + "children": [584] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 188, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L188" } ] } } }, { - "id": 323, + "id": 585, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 121, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 189, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L189" } ], "type": { @@ -39846,8 +146429,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [320, 323] + "children": [582, 585] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 187, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L187" } ] } @@ -39855,23 +146445,24 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 586, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 325, + "id": 587, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 124, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 192, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L192" } ], "type": { @@ -39880,30 +146471,39 @@ } }, { - "id": 326, + "id": 588, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 125, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 193, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L193" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [325, 326] + "children": [587, 588] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 191, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L191" } ] } @@ -39911,20 +146511,19 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" }, "inheritedFrom": { "type": "reference", - "id": 56, + "target": 182, "name": "default.updateBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 55, + "target": 181, "name": "default.updateBucket" } } @@ -39932,63 +146531,76 @@ "groups": [ { "title": "Constructors", - "kind": 512, - "children": [259] + "children": [501] + }, + { + "title": "Accessors", + "children": [522, 520] }, { "title": "Methods", - "kind": 2048, - "children": [301, 338, 327, 271, 292, 284, 313] + "children": [558, 600, 589, 517, 549, 540, 538, 573] } ], "sources": [ { - "fileName": "src/StorageClient.ts", - "line": 5, - "character": 13 + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 11, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L11" } ], "extendedTypes": [ { "type": "reference", - "id": 3, - "name": "default" + "target": 115, + "name": "default", + "package": "@supabase/storage-js" } ] }, { - "id": 385, + "id": 724, "name": "StorageError", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 386, + "id": 725, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 4, - "character": 2 + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L4" } ], "signatures": [ { - "id": 387, - "name": "new StorageError", + "id": 726, + "name": "StorageError", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 4, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L4" + } + ], "parameters": [ { - "id": 388, + "id": 727, "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -39998,17 +146610,20 @@ ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" }, "overwrites": { "type": "reference", + "target": -1, "name": "Error.constructor" } } ], "overwrites": { "type": "reference", + "target": -1, "name": "Error.constructor" } } @@ -40016,71 +146631,83 @@ "groups": [ { "title": "Constructors", - "kind": 512, - "children": [386] + "children": [725] } ], "sources": [ { - "fileName": "src/lib/errors.ts", + "fileName": "packages/core/storage-js/src/lib/errors.ts", "line": 1, - "character": 13 + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L1" } ], "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": 390, + "target": 729, "name": "StorageApiError" }, { "type": "reference", - "id": 403, + "target": 745, "name": "StorageUnknownError" } ] }, { - "id": 403, + "id": 745, "name": "StorageUnknownError", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, "children": [ { - "id": 404, + "id": 746, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", - "line": 35, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 38, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L38" } ], "signatures": [ { - "id": 405, - "name": "new StorageUnknownError", + "id": 747, + "name": "StorageUnknownError", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 38, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L38" + } + ], "parameters": [ { - "id": 406, + "id": 748, "name": "message", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -40088,10 +146715,10 @@ } }, { - "id": 407, + "id": 749, "name": "originalError", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -40101,33 +146728,35 @@ ], "type": { "type": "reference", - "id": 403, - "name": "StorageUnknownError" + "target": 745, + "name": "StorageUnknownError", + "package": "@supabase/storage-js" }, "overwrites": { "type": "reference", - "id": 387, + "target": 726, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 386, + "target": 725, "name": "StorageError.constructor" } }, { - "id": 408, + "id": 750, "name": "originalError", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", - "line": 33, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 36, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L36" } ], "type": { @@ -40139,48 +146768,7492 @@ "groups": [ { "title": "Constructors", - "kind": 512, - "children": [404] + "children": [746] }, { "title": "Properties", - "kind": 1024, - "children": [408] + "children": [750] } ], "sources": [ { - "fileName": "src/lib/errors.ts", - "line": 32, - "character": 13 + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 35, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L35" } ], "extendedTypes": [ { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } ] }, { - "id": 349, + "id": 1158, + "name": "StorageVectorsApiError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "API error returned from S3 Vectors service\nIncludes HTTP status code and service-specific error code" + } + ] + }, + "children": [ + { + "id": 1159, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 30, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L30" + } + ], + "signatures": [ + { + "id": 1160, + "name": "StorageVectorsApiError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 30, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L30" + } + ], + "parameters": [ + { + "id": 1161, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1162, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1163, + "name": "statusCode", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": 1158, + "name": "StorageVectorsApiError", + "package": "@supabase/storage-js" + }, + "overwrites": { + "type": "reference", + "target": 1155, + "name": "StorageVectorsError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1154, + "name": "StorageVectorsError.constructor" + } + }, + { + "id": 1164, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 27, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L27" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1165, + "name": "statusCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 28, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L28" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1166, + "name": "toJSON", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 37, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L37" + } + ], + "signatures": [ + { + "id": 1167, + "name": "toJSON", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 37, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L37" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1168, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1170, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 40, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L40" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1169, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 39, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L39" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1171, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 41, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L41" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + }, + { + "id": 1172, + "name": "statusCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 42, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L42" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "children": [1170, 1169, 1171, 1172] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 38, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L38" + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1159] + }, + { + "title": "Properties", + "children": [1164, 1165] + }, + { + "title": "Methods", + "children": [1166] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 26, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L26" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1153, + "name": "StorageVectorsError", + "package": "@supabase/storage-js" + } + ] + }, + { + "id": 752, + "name": "StorageVectorsClient", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Main client for interacting with S3 Vectors API\nProvides access to bucket, index, and vector data operations\n\n**Usage Patterns:**\n\n1. **Via StorageClient (recommended for most use cases):**\n" + }, + { + "kind": "code", + "text": "```typescript\nimport { StorageClient } from '@supabase/storage-js'\n\nconst storageClient = new StorageClient(url, headers)\nconst vectors = storageClient.vectors\n\n// Use vector operations\nawait vectors.createBucket('embeddings-prod')\nconst bucket = vectors.from('embeddings-prod')\nawait bucket.createIndex({ ... })\n```" + }, + { + "kind": "text", + "text": "\n\n2. **Standalone (for vector-only applications):**\n" + }, + { + "kind": "code", + "text": "```typescript\nimport { StorageVectorsClient } from '@supabase/storage-js'\n\nconst vectorsClient = new StorageVectorsClient('https://api.example.com', {\n headers: { 'Authorization': 'Bearer token' }\n})\n\n// Access bucket operations\nawait vectorsClient.createBucket('embeddings-prod')\n\n// Access index operations via buckets\nconst bucket = vectorsClient.from('embeddings-prod')\nawait bucket.createIndex({\n indexName: 'documents',\n dataType: 'float32',\n dimension: 1536,\n distanceMetric: 'cosine'\n})\n\n// Access vector operations via index\nconst index = bucket.index('documents')\nawait index.putVectors({\n vectors: [\n { key: 'doc-1', data: { float32: [...] }, metadata: { title: 'Intro' } }\n ]\n})\n\n// Query similar vectors\nconst { data } = await index.queryVectors({\n queryVector: { float32: [...] },\n topK: 5,\n returnDistance: true\n})\n```" + } + ] + }, + "children": [ + { + "id": 753, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 85, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L85" + } + ], + "signatures": [ + { + "id": 754, + "name": "StorageVectorsClient", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 85, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L85" + } + ], + "parameters": [ + { + "id": 755, + "name": "url", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 756, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 892, + "name": "StorageVectorsClientOptions", + "package": "@supabase/storage-js" + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": 752, + "name": "StorageVectorsClient", + "package": "@supabase/storage-js" + }, + "overwrites": { + "type": "reference", + "target": 907, + "name": "default.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 906, + "name": "default.constructor" + } + }, + { + "id": 776, + "name": "createBucket", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 71, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L71" + } + ], + "signatures": [ + { + "id": 777, + "name": "createBucket", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new vector bucket\nVector buckets are containers for vector indexes and their data" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with empty response on success or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorConflictException`" + }, + { + "kind": "text", + "text": " if bucket already exists (HTTP 409)\n- " + }, + { + "kind": "code", + "text": "`S3VectorMaxBucketsExceeded`" + }, + { + "kind": "text", + "text": " if quota exceeded (HTTP 400)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await client.createBucket('embeddings-prod')\nif (error) {\n console.error('Failed to create bucket:', error.message)\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 71, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L71" + } + ], + "parameters": [ + { + "id": 778, + "name": "vectorBucketName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unique name for the vector bucket" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 938, + "name": "default.createBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 937, + "name": "default.createBucket" + } + }, + { + "id": 787, + "name": "deleteBucket", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 198, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L198" + } + ], + "signatures": [ + { + "id": 788, + "name": "deleteBucket", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes a vector bucket\nBucket must be empty before deletion (all indexes must be removed first)" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with empty response on success or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorBucketNotEmpty`" + }, + { + "kind": "text", + "text": " if bucket contains indexes (HTTP 400)\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if bucket doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// Delete all indexes first, then delete bucket\nconst { error } = await client.deleteBucket('old-bucket')\nif (error?.statusCode === 'S3VectorBucketNotEmpty') {\n console.error('Must delete all indexes first')\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 198, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L198" + } + ], + "parameters": [ + { + "id": 789, + "name": "vectorBucketName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the vector bucket to delete" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 949, + "name": "default.deleteBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 948, + "name": "default.deleteBucket" + } + }, + { + "id": 757, + "name": "from", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 112, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L112" + } + ], + "signatures": [ + { + "id": 758, + "name": "from", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Access operations for a specific vector bucket\nReturns a scoped client for index and vector operations within the bucket" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Bucket-scoped client with index and vector operations" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst bucket = client.bucket('embeddings-prod')\n\n// Create an index in this bucket\nawait bucket.createIndex({\n indexName: 'documents-openai',\n dataType: 'float32',\n dimension: 1536,\n distanceMetric: 'cosine'\n})\n\n// List indexes in this bucket\nconst { data } = await bucket.listIndexes()\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 112, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L112" + } + ], + "parameters": [ + { + "id": 759, + "name": "vectorBucketName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the vector bucket" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": 790, + "name": "VectorBucketScope", + "package": "@supabase/storage-js" + } + } + ] + }, + { + "id": 779, + "name": "getBucket", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 110, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L110" + } + ], + "signatures": [ + { + "id": 780, + "name": "getBucket", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves metadata for a specific vector bucket\nReturns bucket configuration including encryption settings and creation time" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with bucket metadata or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if bucket doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await client.getBucket('embeddings-prod')\nif (data) {\n console.log('Bucket created at:', new Date(data.vectorBucket.creationTime! * 1000))\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 110, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L110" + } + ], + "parameters": [ + { + "id": 781, + "name": "vectorBucketName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the vector bucket to retrieve" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 782, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 783, + "name": "vectorBucket", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 112, + "character": 27, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L112" + } + ], + "type": { + "type": "reference", + "target": 1053, + "name": "VectorBucket", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [783] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 112, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L112" + } + ] + } + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 941, + "name": "default.getBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 940, + "name": "default.getBucket" + } + }, + { + "id": 784, + "name": "listBuckets", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 158, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L158" + } + ], + "signatures": [ + { + "id": 785, + "name": "listBuckets", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Lists vector buckets with optional filtering and pagination\nSupports prefix-based filtering and paginated results" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with list of buckets and pagination token" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// List all buckets with prefix 'prod-'\nconst { data, error } = await client.listBuckets({ prefix: 'prod-' })\nif (data) {\n console.log('Found buckets:', data.buckets.length)\n // Fetch next page if available\n if (data.nextToken) {\n const next = await client.listBuckets({ nextToken: data.nextToken })\n }\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 158, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L158" + } + ], + "parameters": [ + { + "id": 786, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Listing options" + } + ] + }, + "type": { + "type": "reference", + "target": 1085, + "name": "ListVectorBucketsOptions", + "package": "@supabase/storage-js", + "highlightedProperties": { + "prefix": [ + { + "kind": "text", + "text": "Filter buckets by name prefix" + } + ], + "maxResults": [ + { + "kind": "text", + "text": "Maximum results per page (default: 100)" + } + ], + "nextToken": [ + { + "kind": "text", + "text": "Pagination token from previous response" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reference", + "target": 1089, + "name": "ListVectorBucketsResponse", + "package": "@supabase/storage-js" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 946, + "name": "default.listBuckets" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 945, + "name": "default.listBuckets" + } + }, + { + "id": 774, + "name": "throwOnError", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 46, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L46" + } + ], + "signatures": [ + { + "id": 775, + "name": "throwOnError", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable throwing errors instead of returning them in the response\nWhen enabled, failed operations will throw instead of returning { data: null, error }" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "This instance for method chaining" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst client = new VectorBucketApi(url, headers)\nclient.throwOnError()\nconst { data } = await client.createBucket('my-bucket') // throws on error\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 46, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L46" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": 936, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 935, + "name": "default.throwOnError" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [753] + }, + { + "title": "Methods", + "children": [776, 787, 757, 779, 784, 774] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 84, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L84" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 905, + "name": "default", + "package": "@supabase/storage-js" + } + ] + }, + { + "id": 1153, + "name": "StorageVectorsError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Base error class for all Storage Vectors errors" + } + ] + }, + "children": [ + { + "id": 1154, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 7, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L7" + } + ], + "signatures": [ + { + "id": 1155, + "name": "StorageVectorsError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 7, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L7" + } + ], + "parameters": [ + { + "id": 1156, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": 1153, + "name": "StorageVectorsError", + "package": "@supabase/storage-js" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": -1, + "name": "Error.constructor" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1154] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 4, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L4" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Error" + }, + "name": "Error", + "package": "typescript" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 1158, + "name": "StorageVectorsApiError" + }, + { + "type": "reference", + "target": 1174, + "name": "StorageVectorsUnknownError" + } + ] + }, + { + "id": 1174, + "name": "StorageVectorsUnknownError", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unknown error that doesn't match expected error patterns\nWraps the original error for debugging" + } + ] + }, + "children": [ + { + "id": 1175, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 54, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L54" + } + ], + "signatures": [ + { + "id": 1176, + "name": "StorageVectorsUnknownError", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 54, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L54" + } + ], + "parameters": [ + { + "id": 1177, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1178, + "name": "originalError", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "target": 1174, + "name": "StorageVectorsUnknownError", + "package": "@supabase/storage-js" + }, + "overwrites": { + "type": "reference", + "target": 1155, + "name": "StorageVectorsError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1154, + "name": "StorageVectorsError.constructor" + } + }, + { + "id": 1179, + "name": "originalError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 52, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L52" + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1175] + }, + { + "title": "Properties", + "children": [1179] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 51, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L51" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1153, + "name": "StorageVectorsError", + "package": "@supabase/storage-js" + } + ] + }, + { + "id": 905, + "name": "VectorBucketApi", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "API class for managing Vector Buckets\nProvides methods for creating, reading, listing, and deleting vector buckets" + } + ] + }, + "children": [ + { + "id": 906, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 28, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L28" + } + ], + "signatures": [ + { + "id": 907, + "name": "VectorBucketApi", + "variant": "signature", + "kind": 16384, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new VectorBucketApi instance" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 28, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L28" + } + ], + "parameters": [ + { + "id": 908, + "name": "url", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The base URL for the storage vectors API" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 909, + "name": "headers", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP headers to include in requests" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 910, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 28, + "character": 36, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L28" + } + ], + "indexSignatures": [ + { + "id": 911, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 28, + "character": 38, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L28" + } + ], + "parameters": [ + { + "id": 912, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "defaultValue": "{}" + }, + { + "id": 913, + "name": "fetch", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional custom fetch implementation" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 914, + "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": 915, + "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": 916, + "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": 917, + "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": 918, + "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": 919, + "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": 920, + "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" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 905, + "name": "VectorBucketApi", + "package": "@supabase/storage-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 937, + "name": "createBucket", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 71, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L71" + } + ], + "signatures": [ + { + "id": 938, + "name": "createBucket", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new vector bucket\nVector buckets are containers for vector indexes and their data" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with empty response on success or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorConflictException`" + }, + { + "kind": "text", + "text": " if bucket already exists (HTTP 409)\n- " + }, + { + "kind": "code", + "text": "`S3VectorMaxBucketsExceeded`" + }, + { + "kind": "text", + "text": " if quota exceeded (HTTP 400)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await client.createBucket('embeddings-prod')\nif (error) {\n console.error('Failed to create bucket:', error.message)\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 71, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L71" + } + ], + "parameters": [ + { + "id": 939, + "name": "vectorBucketName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unique name for the vector bucket" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 948, + "name": "deleteBucket", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 198, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L198" + } + ], + "signatures": [ + { + "id": 949, + "name": "deleteBucket", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes a vector bucket\nBucket must be empty before deletion (all indexes must be removed first)" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with empty response on success or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorBucketNotEmpty`" + }, + { + "kind": "text", + "text": " if bucket contains indexes (HTTP 400)\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if bucket doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// Delete all indexes first, then delete bucket\nconst { error } = await client.deleteBucket('old-bucket')\nif (error?.statusCode === 'S3VectorBucketNotEmpty') {\n console.error('Must delete all indexes first')\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 198, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L198" + } + ], + "parameters": [ + { + "id": 950, + "name": "vectorBucketName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the vector bucket to delete" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 940, + "name": "getBucket", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 110, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L110" + } + ], + "signatures": [ + { + "id": 941, + "name": "getBucket", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves metadata for a specific vector bucket\nReturns bucket configuration including encryption settings and creation time" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with bucket metadata or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if bucket doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await client.getBucket('embeddings-prod')\nif (data) {\n console.log('Bucket created at:', new Date(data.vectorBucket.creationTime! * 1000))\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 110, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L110" + } + ], + "parameters": [ + { + "id": 942, + "name": "vectorBucketName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the vector bucket to retrieve" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 943, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 944, + "name": "vectorBucket", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 112, + "character": 27, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L112" + } + ], + "type": { + "type": "reference", + "target": 1053, + "name": "VectorBucket", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [944] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 112, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L112" + } + ] + } + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 945, + "name": "listBuckets", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 158, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L158" + } + ], + "signatures": [ + { + "id": 946, + "name": "listBuckets", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Lists vector buckets with optional filtering and pagination\nSupports prefix-based filtering and paginated results" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with list of buckets and pagination token" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// List all buckets with prefix 'prod-'\nconst { data, error } = await client.listBuckets({ prefix: 'prod-' })\nif (data) {\n console.log('Found buckets:', data.buckets.length)\n // Fetch next page if available\n if (data.nextToken) {\n const next = await client.listBuckets({ nextToken: data.nextToken })\n }\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 158, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L158" + } + ], + "parameters": [ + { + "id": 947, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Listing options" + } + ] + }, + "type": { + "type": "reference", + "target": 1085, + "name": "ListVectorBucketsOptions", + "package": "@supabase/storage-js", + "highlightedProperties": { + "prefix": [ + { + "kind": "text", + "text": "Filter buckets by name prefix" + } + ], + "maxResults": [ + { + "kind": "text", + "text": "Maximum results per page (default: 100)" + } + ], + "nextToken": [ + { + "kind": "text", + "text": "Pagination token from previous response" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reference", + "target": 1089, + "name": "ListVectorBucketsResponse", + "package": "@supabase/storage-js" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 935, + "name": "throwOnError", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 46, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L46" + } + ], + "signatures": [ + { + "id": 936, + "name": "throwOnError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable throwing errors instead of returning them in the response\nWhen enabled, failed operations will throw instead of returning { data: null, error }" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "This instance for method chaining" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst client = new VectorBucketApi(url, headers)\nclient.throwOnError()\nconst { data } = await client.createBucket('my-bucket') // throws on error\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 46, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L46" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [906] + }, + { + "title": "Methods", + "children": [937, 948, 940, 945, 935] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts", + "line": 16, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorBucketApi.ts#L16" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 752, + "name": "StorageVectorsClient" + } + ] + }, + { + "id": 790, + "name": "VectorBucketScope", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Scoped client for operations within a specific vector bucket\nProvides index management and access to vector operations" + } + ] + }, + "children": [ + { + "id": 791, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 124, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L124" + } + ], + "signatures": [ + { + "id": 792, + "name": "VectorBucketScope", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 124, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L124" + } + ], + "parameters": [ + { + "id": 793, + "name": "url", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 794, + "name": "headers", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 795, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 126, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L126" + } + ], + "indexSignatures": [ + { + "id": 796, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 126, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L126" + } + ], + "parameters": [ + { + "id": 797, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + }, + { + "id": 798, + "name": "vectorBucketName", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 799, + "name": "fetch", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 800, + "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": 801, + "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": 802, + "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": 803, + "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": 804, + "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": 805, + "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": 806, + "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" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 790, + "name": "VectorBucketScope", + "package": "@supabase/storage-js" + }, + "overwrites": { + "type": "reference", + "target": 953, + "name": "default.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 952, + "name": "default.constructor" + } + }, + { + "id": 808, + "name": "createIndex", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 155, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L155" + } + ], + "signatures": [ + { + "id": 809, + "name": "createIndex", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new vector index in this bucket\nConvenience method that automatically includes the bucket name" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with empty response on success or error" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst bucket = client.bucket('embeddings-prod')\nawait bucket.createIndex({\n indexName: 'documents-openai',\n dataType: 'float32',\n dimension: 1536,\n distanceMetric: 'cosine',\n metadataConfiguration: {\n nonFilterableMetadataKeys: ['raw_text']\n }\n})\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 155, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L155" + } + ], + "parameters": [ + { + "id": 810, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Index configuration (vectorBucketName is automatically set)" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1046, + "name": "CreateIndexOptions", + "package": "@supabase/storage-js" + }, + { + "type": "literal", + "value": "vectorBucketName" + } + ], + "name": "Omit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "overwrites": { + "type": "reference", + "target": 984, + "name": "default.createIndex" + } + } + ], + "overwrites": { + "type": "reference", + "target": 983, + "name": "default.createIndex" + } + }, + { + "id": 819, + "name": "deleteIndex", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 213, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L213" + } + ], + "signatures": [ + { + "id": 820, + "name": "deleteIndex", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes an index from this bucket\nConvenience method that automatically includes the bucket name" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with empty response on success or error" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst bucket = client.bucket('embeddings-prod')\nawait bucket.deleteIndex('old-index')\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 213, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L213" + } + ], + "parameters": [ + { + "id": 821, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the index to delete" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "overwrites": { + "type": "reference", + "target": 996, + "name": "default.deleteIndex" + } + } + ], + "overwrites": { + "type": "reference", + "target": 995, + "name": "default.deleteIndex" + } + }, + { + "id": 814, + "name": "getIndex", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 196, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L196" + } + ], + "signatures": [ + { + "id": 815, + "name": "getIndex", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves metadata for a specific index in this bucket\nConvenience method that automatically includes the bucket name" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with index metadata or error" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst bucket = client.bucket('embeddings-prod')\nconst { data } = await bucket.getIndex('documents-openai')\nconsole.log('Dimension:', data?.index.dimension)\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 196, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L196" + } + ], + "parameters": [ + { + "id": 816, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the index to retrieve" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 817, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 818, + "name": "index", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 134, + "character": 27, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L134" + } + ], + "type": { + "type": "reference", + "target": 1057, + "name": "VectorIndex", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [818] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 134, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L134" + } + ] + } + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "overwrites": { + "type": "reference", + "target": 987, + "name": "default.getIndex" + } + } + ], + "overwrites": { + "type": "reference", + "target": 986, + "name": "default.getIndex" + } + }, + { + "id": 822, + "name": "index", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 242, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L242" + } + ], + "signatures": [ + { + "id": 823, + "name": "index", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Access operations for a specific index within this bucket\nReturns a scoped client for vector data operations" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Index-scoped client with vector data operations" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst index = client.bucket('embeddings-prod').index('documents-openai')\n\n// Insert vectors\nawait index.putVectors({\n vectors: [\n { key: 'doc-1', data: { float32: [...] }, metadata: { title: 'Intro' } }\n ]\n})\n\n// Query similar vectors\nconst { data } = await index.queryVectors({\n queryVector: { float32: [...] },\n topK: 5\n})\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 242, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L242" + } + ], + "parameters": [ + { + "id": 824, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the index" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": 841, + "name": "VectorIndexScope", + "package": "@supabase/storage-js" + } + } + ] + }, + { + "id": 811, + "name": "listIndexes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 175, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L175" + } + ], + "signatures": [ + { + "id": 812, + "name": "listIndexes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Lists indexes in this bucket\nConvenience method that automatically includes the bucket name" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with list of indexes or error" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst bucket = client.bucket('embeddings-prod')\nconst { data } = await bucket.listIndexes({ prefix: 'documents-' })\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 175, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L175" + } + ], + "parameters": [ + { + "id": 813, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Listing options (vectorBucketName is automatically set)" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1094, + "name": "ListIndexesOptions", + "package": "@supabase/storage-js" + }, + { + "type": "literal", + "value": "vectorBucketName" + } + ], + "name": "Omit", + "package": "typescript" + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reference", + "target": 1099, + "name": "ListIndexesResponse", + "package": "@supabase/storage-js" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "overwrites": { + "type": "reference", + "target": 993, + "name": "default.listIndexes" + } + } + ], + "overwrites": { + "type": "reference", + "target": 992, + "name": "default.listIndexes" + } + }, + { + "id": 839, + "name": "throwOnError", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 55, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L55" + } + ], + "signatures": [ + { + "id": 840, + "name": "throwOnError", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable throwing errors instead of returning them in the response\nWhen enabled, failed operations will throw instead of returning { data: null, error }" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "This instance for method chaining" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst client = new VectorIndexApi(url, headers)\nclient.throwOnError()\nconst { data } = await client.createIndex(options) // throws on error\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 55, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L55" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": 982, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 981, + "name": "default.throwOnError" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [791] + }, + { + "title": "Methods", + "children": [808, 819, 814, 822, 811, 839] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 121, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L121" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 951, + "name": "default", + "package": "@supabase/storage-js" + } + ] + }, + { + "id": 999, + "name": "VectorDataApi", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "API class for managing Vector Data within Vector Indexes\nProvides methods for inserting, querying, listing, and deleting vector embeddings" + } + ] + }, + "children": [ + { + "id": 1000, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 27, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L27" + } + ], + "signatures": [ + { + "id": 1001, + "name": "VectorDataApi", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 27, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L27" + } + ], + "parameters": [ + { + "id": 1002, + "name": "url", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1003, + "name": "headers", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1004, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 27, + "character": 36, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L27" + } + ], + "indexSignatures": [ + { + "id": 1005, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 27, + "character": 38, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L27" + } + ], + "parameters": [ + { + "id": 1006, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "defaultValue": "{}" + }, + { + "id": 1007, + "name": "fetch", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1008, + "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": 1009, + "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": 1010, + "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": 1011, + "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": 1012, + "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": 1013, + "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": 1014, + "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" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 999, + "name": "VectorDataApi", + "package": "@supabase/storage-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 1043, + "name": "deleteVectors", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 320, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L320" + } + ], + "signatures": [ + { + "id": 1044, + "name": "deleteVectors", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes vectors by their keys in batch\nAccepts 1-500 keys per request" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with empty response on success or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if bucket or index doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst { error } = await client.deleteVectors({\n vectorBucketName: 'embeddings-prod',\n indexName: 'documents-openai-small',\n keys: ['doc-1', 'doc-2', 'doc-3']\n})\nif (!error) {\n console.log('Vectors deleted successfully')\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 320, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L320" + } + ], + "parameters": [ + { + "id": 1045, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector deletion options" + } + ] + }, + "type": { + "type": "reference", + "target": 1116, + "name": "DeleteVectorsOptions", + "package": "@supabase/storage-js", + "highlightedProperties": { + "vectorBucketName": [ + { + "kind": "text", + "text": "Name of the parent vector bucket" + } + ], + "indexName": [ + { + "kind": "text", + "text": "Name of the index" + } + ], + "keys": [ + { + "kind": "text", + "text": "Array of vector keys to delete (1-500 items)" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1034, + "name": "getVectors", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 138, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L138" + } + ], + "signatures": [ + { + "id": 1035, + "name": "getVectors", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves vectors by their keys in batch\nOptionally includes vector data and/or metadata in response\nAdditional permissions required when returning data or metadata" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with array of vectors or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if bucket or index doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await client.getVectors({\n vectorBucketName: 'embeddings-prod',\n indexName: 'documents-openai-small',\n keys: ['doc-1', 'doc-2', 'doc-3'],\n returnData: false, // Don't return embeddings\n returnMetadata: true // Return metadata only\n})\nif (data) {\n data.vectors.forEach(v => console.log(v.key, v.metadata))\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 138, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L138" + } + ], + "parameters": [ + { + "id": 1036, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector retrieval options" + } + ] + }, + "type": { + "type": "reference", + "target": 1108, + "name": "GetVectorsOptions", + "package": "@supabase/storage-js", + "highlightedProperties": { + "vectorBucketName": [ + { + "kind": "text", + "text": "Name of the parent vector bucket" + } + ], + "indexName": [ + { + "kind": "text", + "text": "Name of the index" + } + ], + "keys": [ + { + "kind": "text", + "text": "Array of vector keys to retrieve" + } + ], + "returnData": [ + { + "kind": "text", + "text": "Whether to include vector embeddings (requires permission)" + } + ], + "returnMetadata": [ + { + "kind": "text", + "text": "Whether to include metadata (requires permission)" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reference", + "target": 1114, + "name": "GetVectorsResponse", + "package": "@supabase/storage-js" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1037, + "name": "listVectors", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 206, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L206" + } + ], + "signatures": [ + { + "id": 1038, + "name": "listVectors", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Lists/scans vectors in an index with pagination\nSupports parallel scanning via segment configuration for high-throughput scenarios\nAdditional permissions required when returning data or metadata" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with array of vectors, pagination token, or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if bucket or index doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// Simple pagination\nlet nextToken: string | undefined\ndo {\n const { data, error } = await client.listVectors({\n vectorBucketName: 'embeddings-prod',\n indexName: 'documents-openai-small',\n maxResults: 500,\n nextToken,\n returnMetadata: true\n })\n if (error) break\n console.log('Batch:', data.vectors.length)\n nextToken = data.nextToken\n} while (nextToken)\n\n// Parallel scanning (4 concurrent workers)\nconst workers = [0, 1, 2, 3].map(async (segmentIndex) => {\n const { data } = await client.listVectors({\n vectorBucketName: 'embeddings-prod',\n indexName: 'documents-openai-small',\n segmentCount: 4,\n segmentIndex,\n returnMetadata: true\n })\n return data?.vectors || []\n})\nconst results = await Promise.all(workers)\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 206, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L206" + } + ], + "parameters": [ + { + "id": 1039, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector listing options" + } + ] + }, + "type": { + "type": "reference", + "target": 1120, + "name": "ListVectorsOptions", + "package": "@supabase/storage-js", + "highlightedProperties": { + "vectorBucketName": [ + { + "kind": "text", + "text": "Name of the parent vector bucket" + } + ], + "indexName": [ + { + "kind": "text", + "text": "Name of the index" + } + ], + "maxResults": [ + { + "kind": "text", + "text": "Maximum results per page (default: 500, max: 1000)" + } + ], + "nextToken": [ + { + "kind": "text", + "text": "Pagination token from previous response" + } + ], + "returnData": [ + { + "kind": "text", + "text": "Whether to include vector embeddings (requires permission)" + } + ], + "returnMetadata": [ + { + "kind": "text", + "text": "Whether to include metadata (requires permission)" + } + ], + "segmentCount": [ + { + "kind": "text", + "text": "Total parallel segments (1-16) for distributed scanning" + } + ], + "segmentIndex": [ + { + "kind": "text", + "text": "Zero-based segment index (0 to segmentCount-1)" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reference", + "target": 1129, + "name": "ListVectorsResponse", + "package": "@supabase/storage-js" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1031, + "name": "putVectors", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 85, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L85" + } + ], + "signatures": [ + { + "id": 1032, + "name": "putVectors", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Inserts or updates vectors in batch (upsert operation)\nAccepts 1-500 vectors per request. Larger batches should be split" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with empty response on success or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorConflictException`" + }, + { + "kind": "text", + "text": " if duplicate key conflict occurs (HTTP 409)\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if bucket or index doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await client.putVectors({\n vectorBucketName: 'embeddings-prod',\n indexName: 'documents-openai-small',\n vectors: [\n {\n key: 'doc-1',\n data: { float32: [0.1, 0.2, 0.3, ...] }, // 1536 dimensions\n metadata: { title: 'Introduction', page: 1 }\n },\n {\n key: 'doc-2',\n data: { float32: [0.4, 0.5, 0.6, ...] },\n metadata: { title: 'Conclusion', page: 42 }\n }\n ]\n})\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 85, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L85" + } + ], + "parameters": [ + { + "id": 1033, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector insertion options" + } + ] + }, + "type": { + "type": "reference", + "target": 1104, + "name": "PutVectorsOptions", + "package": "@supabase/storage-js", + "highlightedProperties": { + "vectorBucketName": [ + { + "kind": "text", + "text": "Name of the parent vector bucket" + } + ], + "indexName": [ + { + "kind": "text", + "text": "Name of the target index" + } + ], + "vectors": [ + { + "kind": "text", + "text": "Array of vectors to insert/update (1-500 items)" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1040, + "name": "queryVectors", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 277, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L277" + } + ], + "signatures": [ + { + "id": 1041, + "name": "queryVectors", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Queries for similar vectors using approximate nearest neighbor (ANN) search\nReturns top-K most similar vectors based on the configured distance metric\nSupports optional metadata filtering (requires GetVectors permission)" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with array of similar vectors ordered by distance" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if bucket or index doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// Semantic search with filtering\nconst { data, error } = await client.queryVectors({\n vectorBucketName: 'embeddings-prod',\n indexName: 'documents-openai-small',\n queryVector: { float32: [0.1, 0.2, 0.3, ...] }, // 1536 dimensions\n topK: 5,\n filter: {\n category: 'technical',\n published: true\n },\n returnDistance: true,\n returnMetadata: true\n})\nif (data) {\n data.matches.forEach(match => {\n console.log(`${match.key}: distance=${match.distance}`)\n console.log('Metadata:', match.metadata)\n })\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 277, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L277" + } + ], + "parameters": [ + { + "id": 1042, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Query options" + } + ] + }, + "type": { + "type": "reference", + "target": 1132, + "name": "QueryVectorsOptions", + "package": "@supabase/storage-js", + "highlightedProperties": { + "vectorBucketName": [ + { + "kind": "text", + "text": "Name of the parent vector bucket" + } + ], + "indexName": [ + { + "kind": "text", + "text": "Name of the index" + } + ], + "queryVector": [ + { + "kind": "text", + "text": "Query embedding to find similar vectors" + } + ], + "topK": [ + { + "kind": "text", + "text": "Number of nearest neighbors to return (default: 10)" + } + ], + "filter": [ + { + "kind": "text", + "text": "Optional JSON filter for metadata (requires GetVectors permission)" + } + ], + "returnDistance": [ + { + "kind": "text", + "text": "Whether to include similarity distances" + } + ], + "returnMetadata": [ + { + "kind": "text", + "text": "Whether to include metadata (requires GetVectors permission)" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reference", + "target": 1140, + "name": "QueryVectorsResponse", + "package": "@supabase/storage-js" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1029, + "name": "throwOnError", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 45, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L45" + } + ], + "signatures": [ + { + "id": 1030, + "name": "throwOnError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable throwing errors instead of returning them in the response\nWhen enabled, failed operations will throw instead of returning { data: null, error }" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "This instance for method chaining" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst client = new VectorDataApi(url, headers)\nclient.throwOnError()\nconst { data } = await client.putVectors(options) // throws on error\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 45, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L45" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [1000] + }, + { + "title": "Methods", + "children": [1043, 1034, 1037, 1031, 1040, 1029] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 21, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L21" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 841, + "name": "VectorIndexScope" + } + ] + }, + { + "id": 951, + "name": "VectorIndexApi", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "API class for managing Vector Indexes within Vector Buckets\nProvides methods for creating, reading, listing, and deleting vector indexes" + } + ] + }, + "children": [ + { + "id": 952, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 37, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L37" + } + ], + "signatures": [ + { + "id": 953, + "name": "VectorIndexApi", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 37, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L37" + } + ], + "parameters": [ + { + "id": 954, + "name": "url", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 955, + "name": "headers", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 956, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 37, + "character": 36, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L37" + } + ], + "indexSignatures": [ + { + "id": 957, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 37, + "character": 38, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L37" + } + ], + "parameters": [ + { + "id": 958, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "defaultValue": "{}" + }, + { + "id": 959, + "name": "fetch", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 960, + "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": 961, + "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": 962, + "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": 963, + "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": 964, + "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": 965, + "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": 966, + "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" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 951, + "name": "VectorIndexApi", + "package": "@supabase/storage-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 983, + "name": "createIndex", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 93, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L93" + } + ], + "signatures": [ + { + "id": 984, + "name": "createIndex", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new vector index within a bucket\nDefines the schema for vectors including dimensionality, distance metric, and metadata config" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with empty response on success or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorConflictException`" + }, + { + "kind": "text", + "text": " if index already exists (HTTP 409)\n- " + }, + { + "kind": "code", + "text": "`S3VectorMaxIndexesExceeded`" + }, + { + "kind": "text", + "text": " if quota exceeded (HTTP 400)\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if bucket doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await client.createIndex({\n vectorBucketName: 'embeddings-prod',\n indexName: 'documents-openai-small',\n dataType: 'float32',\n dimension: 1536,\n distanceMetric: 'cosine',\n metadataConfiguration: {\n nonFilterableMetadataKeys: ['raw_text', 'internal_id']\n }\n})\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 93, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L93" + } + ], + "parameters": [ + { + "id": 985, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Index configuration" + } + ] + }, + "type": { + "type": "reference", + "target": 1046, + "name": "CreateIndexOptions", + "package": "@supabase/storage-js", + "highlightedProperties": { + "vectorBucketName": [ + { + "kind": "text", + "text": "Name of the parent vector bucket" + } + ], + "indexName": [ + { + "kind": "text", + "text": "Unique name for the index within the bucket" + } + ], + "dataType": [ + { + "kind": "text", + "text": "Data type for vector components (currently only 'float32')" + } + ], + "dimension": [ + { + "kind": "text", + "text": "Dimensionality of vectors (e.g., 384, 768, 1536)" + } + ], + "distanceMetric": [ + { + "kind": "text", + "text": "Similarity metric ('cosine', 'euclidean', 'dotproduct')" + } + ], + "metadataConfiguration": [ + { + "kind": "text", + "text": "Optional config for non-filterable metadata keys" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 995, + "name": "deleteIndex", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 226, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L226" + } + ], + "signatures": [ + { + "id": 996, + "name": "deleteIndex", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes a vector index and all its data\nThis operation removes the index schema and all vectors stored in the index" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with empty response on success or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if index or bucket doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// Delete an index and all its vectors\nconst { error } = await client.deleteIndex('embeddings-prod', 'old-index')\nif (!error) {\n console.log('Index deleted successfully')\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 226, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L226" + } + ], + "parameters": [ + { + "id": 997, + "name": "vectorBucketName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the parent vector bucket" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 998, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the index to delete" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 986, + "name": "getIndex", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 131, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L131" + } + ], + "signatures": [ + { + "id": 987, + "name": "getIndex", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves metadata for a specific vector index\nReturns index configuration including dimension, distance metric, and metadata settings" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with index metadata or error" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if index or bucket doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await client.getIndex('embeddings-prod', 'documents-openai-small')\nif (data) {\n console.log('Index dimension:', data.index.dimension)\n console.log('Distance metric:', data.index.distanceMetric)\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 131, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L131" + } + ], + "parameters": [ + { + "id": 988, + "name": "vectorBucketName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the parent vector bucket" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 989, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the index to retrieve" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 990, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 991, + "name": "index", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 134, + "character": 27, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L134" + } + ], + "type": { + "type": "reference", + "target": 1057, + "name": "VectorIndex", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [991] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 134, + "character": 25, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L134" + } + ] + } + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 992, + "name": "listIndexes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 188, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L188" + } + ], + "signatures": [ + { + "id": 993, + "name": "listIndexes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Lists vector indexes within a bucket with optional filtering and pagination\nSupports prefix-based filtering and paginated results" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with list of indexes and pagination token" + } + ] + }, + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "With code:\n- " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " if bucket doesn't exist (HTTP 404)\n- " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " for server errors (HTTP 500)" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// List all indexes in a bucket\nconst { data, error } = await client.listIndexes({\n vectorBucketName: 'embeddings-prod',\n prefix: 'documents-'\n})\nif (data) {\n console.log('Found indexes:', data.indexes.map(i => i.indexName))\n // Fetch next page if available\n if (data.nextToken) {\n const next = await client.listIndexes({\n vectorBucketName: 'embeddings-prod',\n nextToken: data.nextToken\n })\n }\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 188, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L188" + } + ], + "parameters": [ + { + "id": 994, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Listing options" + } + ] + }, + "type": { + "type": "reference", + "target": 1094, + "name": "ListIndexesOptions", + "package": "@supabase/storage-js", + "highlightedProperties": { + "vectorBucketName": [ + { + "kind": "text", + "text": "Name of the parent vector bucket" + } + ], + "prefix": [ + { + "kind": "text", + "text": "Filter indexes by name prefix" + } + ], + "maxResults": [ + { + "kind": "text", + "text": "Maximum results per page (default: 100)" + } + ], + "nextToken": [ + { + "kind": "text", + "text": "Pagination token from previous response" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reference", + "target": 1099, + "name": "ListIndexesResponse", + "package": "@supabase/storage-js" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 981, + "name": "throwOnError", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 55, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L55" + } + ], + "signatures": [ + { + "id": 982, + "name": "throwOnError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable throwing errors instead of returning them in the response\nWhen enabled, failed operations will throw instead of returning { data: null, error }" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "This instance for method chaining" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst client = new VectorIndexApi(url, headers)\nclient.throwOnError()\nconst { data } = await client.createIndex(options) // throws on error\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 55, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L55" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [952] + }, + { + "title": "Methods", + "children": [983, 995, 986, 992, 981] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 31, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L31" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 790, + "name": "VectorBucketScope" + } + ] + }, + { + "id": 841, + "name": "VectorIndexScope", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Scoped client for operations within a specific vector index\nProvides vector data operations (put, get, list, query, delete)" + } + ] + }, + "children": [ + { + "id": 842, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 261, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L261" + } + ], + "signatures": [ + { + "id": 843, + "name": "VectorIndexScope", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 261, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L261" + } + ], + "parameters": [ + { + "id": 844, + "name": "url", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 845, + "name": "headers", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 846, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 263, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L263" + } + ], + "indexSignatures": [ + { + "id": 847, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 263, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L263" + } + ], + "parameters": [ + { + "id": 848, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + }, + { + "id": 849, + "name": "vectorBucketName", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 850, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 851, + "name": "fetch", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 852, + "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": 853, + "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": 854, + "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": 855, + "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": 856, + "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": 857, + "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": 858, + "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" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 841, + "name": "VectorIndexScope", + "package": "@supabase/storage-js" + }, + "overwrites": { + "type": "reference", + "target": 1001, + "name": "default.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1000, + "name": "default.constructor" + } + }, + { + "id": 873, + "name": "deleteVectors", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 396, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L396" + } + ], + "signatures": [ + { + "id": 874, + "name": "deleteVectors", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes vectors by keys from this index\nConvenience method that automatically includes bucket and index names" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with empty response on success or error" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst index = client.bucket('embeddings-prod').index('documents-openai')\nawait index.deleteVectors({\n keys: ['doc-1', 'doc-2', 'doc-3']\n})\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 396, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L396" + } + ], + "parameters": [ + { + "id": 875, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletion options (bucket and index names automatically set)" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1116, + "name": "DeleteVectorsOptions", + "package": "@supabase/storage-js" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "vectorBucketName" + }, + { + "type": "literal", + "value": "indexName" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "overwrites": { + "type": "reference", + "target": 1044, + "name": "default.deleteVectors" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1043, + "name": "default.deleteVectors" + } + }, + { + "id": 864, + "name": "getVectors", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 318, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L318" + } + ], + "signatures": [ + { + "id": 865, + "name": "getVectors", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves vectors by keys from this index\nConvenience method that automatically includes bucket and index names" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with array of vectors or error" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst index = client.bucket('embeddings-prod').index('documents-openai')\nconst { data } = await index.getVectors({\n keys: ['doc-1', 'doc-2'],\n returnMetadata: true\n})\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 318, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L318" + } + ], + "parameters": [ + { + "id": 866, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector retrieval options (bucket and index names automatically set)" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1108, + "name": "GetVectorsOptions", + "package": "@supabase/storage-js" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "vectorBucketName" + }, + { + "type": "literal", + "value": "indexName" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reference", + "target": 1114, + "name": "GetVectorsResponse", + "package": "@supabase/storage-js" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "overwrites": { + "type": "reference", + "target": 1035, + "name": "default.getVectors" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1034, + "name": "default.getVectors" + } + }, + { + "id": 867, + "name": "listVectors", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 342, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L342" + } + ], + "signatures": [ + { + "id": 868, + "name": "listVectors", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Lists vectors in this index with pagination\nConvenience method that automatically includes bucket and index names" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with array of vectors and pagination token" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst index = client.bucket('embeddings-prod').index('documents-openai')\nconst { data } = await index.listVectors({\n maxResults: 500,\n returnMetadata: true\n})\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 342, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L342" + } + ], + "parameters": [ + { + "id": 869, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Listing options (bucket and index names automatically set)" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1120, + "name": "ListVectorsOptions", + "package": "@supabase/storage-js" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "vectorBucketName" + }, + { + "type": "literal", + "value": "indexName" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reference", + "target": 1129, + "name": "ListVectorsResponse", + "package": "@supabase/storage-js" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "overwrites": { + "type": "reference", + "target": 1038, + "name": "default.listVectors" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1037, + "name": "default.listVectors" + } + }, + { + "id": 861, + "name": "putVectors", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 294, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L294" + } + ], + "signatures": [ + { + "id": 862, + "name": "putVectors", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Inserts or updates vectors in this index\nConvenience method that automatically includes bucket and index names" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with empty response on success or error" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst index = client.bucket('embeddings-prod').index('documents-openai')\nawait index.putVectors({\n vectors: [\n {\n key: 'doc-1',\n data: { float32: [0.1, 0.2, ...] },\n metadata: { title: 'Introduction', page: 1 }\n }\n ]\n})\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 294, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L294" + } + ], + "parameters": [ + { + "id": 863, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector insertion options (bucket and index names automatically set)" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1104, + "name": "PutVectorsOptions", + "package": "@supabase/storage-js" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "vectorBucketName" + }, + { + "type": "literal", + "value": "indexName" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "overwrites": { + "type": "reference", + "target": 1032, + "name": "default.putVectors" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1031, + "name": "default.putVectors" + } + }, + { + "id": 870, + "name": "queryVectors", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 371, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L371" + } + ], + "signatures": [ + { + "id": 871, + "name": "queryVectors", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Queries for similar vectors in this index\nConvenience method that automatically includes bucket and index names" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with array of similar vectors ordered by distance" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst index = client.bucket('embeddings-prod').index('documents-openai')\nconst { data } = await index.queryVectors({\n queryVector: { float32: [0.1, 0.2, ...] },\n topK: 5,\n filter: { category: 'technical' },\n returnDistance: true,\n returnMetadata: true\n})\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 371, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L371" + } + ], + "parameters": [ + { + "id": 872, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Query options (bucket and index names automatically set)" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1132, + "name": "QueryVectorsOptions", + "package": "@supabase/storage-js" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "vectorBucketName" + }, + { + "type": "literal", + "value": "indexName" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1142, + "typeArguments": [ + { + "type": "reference", + "target": 1140, + "name": "QueryVectorsResponse", + "package": "@supabase/storage-js" + } + ], + "name": "ApiResponse", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "overwrites": { + "type": "reference", + "target": 1041, + "name": "default.queryVectors" + } + } + ], + "overwrites": { + "type": "reference", + "target": 1040, + "name": "default.queryVectors" + } + }, + { + "id": 890, + "name": "throwOnError", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 45, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L45" + } + ], + "signatures": [ + { + "id": 891, + "name": "throwOnError", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable throwing errors instead of returning them in the response\nWhen enabled, failed operations will throw instead of returning { data: null, error }" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "This instance for method chaining" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst client = new VectorDataApi(url, headers)\nclient.throwOnError()\nconst { data } = await client.putVectors(options) // throws on error\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorDataApi.ts", + "line": 45, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorDataApi.ts#L45" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": 1030, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 1029, + "name": "default.throwOnError" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [842] + }, + { + "title": "Methods", + "children": [873, 864, 867, 861, 870, 890] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 257, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L257" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 999, + "name": "default", + "package": "@supabase/storage-js" + } + ] + }, + { + "id": 631, + "name": "AnalyticBucket", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Represents an Analytics Bucket using Apache Iceberg table format.\nAnalytics buckets are optimized for analytical queries and data processing." + } + ] + }, + "children": [ + { + "id": 635, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ISO 8601 timestamp of bucket creation" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 42, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L42" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 634, + "name": "format", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Storage format used (e.g., 'iceberg')" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 40, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L40" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 632, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unique identifier for the bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 36, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L36" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 633, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Bucket type - always 'ANALYTICS' for analytics buckets" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 38, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L38" + } + ], + "type": { + "type": "literal", + "value": "ANALYTICS" + } + }, + { + "id": 636, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ISO 8601 timestamp of last update" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 44, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L44" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [635, 634, 632, 633, 636] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 34, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L34" + } + ] + }, + { + "id": 615, "name": "Bucket", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 353, + "id": 621, + "name": "allowed_mime_types", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 16, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L16" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 622, "name": "created_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 5, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 17, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L17" } ], "type": { @@ -40189,16 +154262,38 @@ } }, { - "id": 350, + "id": 620, + "name": "file_size_limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 15, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L15" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 616, "name": "id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 2, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L11" } ], "type": { @@ -40207,16 +154302,17 @@ } }, { - "id": 351, + "id": 618, "name": "name", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 3, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 13, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L13" } ], "type": { @@ -40225,16 +154321,17 @@ } }, { - "id": 352, + "id": 619, "name": "owner", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 4, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L14" } ], "type": { @@ -40243,16 +154340,17 @@ } }, { - "id": 355, + "id": 624, "name": "public", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 7, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 19, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L19" } ], "type": { @@ -40261,16 +154359,40 @@ } }, { - "id": 354, + "id": 617, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 12, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L12" + } + ], + "type": { + "type": "reference", + "target": 614, + "name": "BucketType", + "package": "@supabase/storage-js" + } + }, + { + "id": 623, "name": "updated_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 6, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L18" } ], "type": { @@ -40282,84 +154404,717 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [353, 350, 351, 352, 355, 354] + "children": [621, 622, 620, 616, 618, 619, 624, 617, 623] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 1, - "character": 17 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 10, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L10" } ] }, { - "id": 378, - "name": "FetchParameters", + "id": 1046, + "name": "CreateIndexOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for creating a vector index" + } + ] + }, + "children": [ + { + "id": 1049, + "name": "dataType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 21, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L21" + } + ], + "type": { + "type": "literal", + "value": "float32" + } + }, + { + "id": 1050, + "name": "dimension", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 22, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L22" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1051, + "name": "distanceMetric", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 23, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L23" + } + ], + "type": { + "type": "reference", + "target": 1083, + "name": "DistanceMetric", + "package": "@supabase/storage-js" + } + }, + { + "id": 1048, + "name": "indexName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 20, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L20" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1052, + "name": "metadataConfiguration", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 24, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L24" + } + ], + "type": { + "type": "reference", + "target": 1080, + "name": "MetadataConfiguration", + "package": "@supabase/storage-js" + } + }, + { + "id": 1047, + "name": "vectorBucketName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 19, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1049, 1050, 1051, 1048, 1052, 1047] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts", + "line": 18, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/VectorIndexApi.ts#L18" + } + ] + }, + { + "id": 1116, + "name": "DeleteVectorsOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for batch deleting vectors" + } + ] + }, + "children": [ + { + "id": 1118, + "name": "indexName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the index" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 196, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L196" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1119, + "name": "keys", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of vector keys to delete (1-500 items)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 197, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L197" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1117, + "name": "vectorBucketName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the vector bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 195, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L195" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1118, 1119, 1117] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 194, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L194" + } + ] + }, + { + "id": 671, + "name": "DestinationOptions", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 379, - "name": "signal", + "id": 672, + "name": "destinationBucket", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 112, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L112" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [672] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 111, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L111" + } + ] + }, + { + "id": 1077, + "name": "EncryptionConfiguration", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configuration for encryption at rest" + } + ] + }, + "children": [ + { + "id": 1078, + "name": "kmsKeyArn", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "comment": { - "shortText": "Pass in an AbortController's signal to cancel the request." + "summary": [ + { + "kind": "text", + "text": "ARN of the KMS key used for encryption" + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 9, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L9" } ], "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1079, + "name": "sseType", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Server-side encryption type (e.g., 'KMS')" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 10, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L10" + } + ], + "type": { + "type": "intrinsic", + "name": "string" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [379] + "children": [1078, 1079] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 64, - "character": 17 + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 8, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L8" } ] }, { - "id": 356, - "name": "FileObject", + "id": 1148, + "name": "ErrorResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Standard response wrapper for failed operations" + } + ] + }, + "children": [ + { + "id": 1149, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Null on error" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 291, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L291" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1150, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "StorageVectorsError with details" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 292, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L292" + } + ], + "type": { + "type": "reference", + "target": 1153, + "name": "StorageVectorsError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1149, 1150] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 290, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L290" + } + ] + }, + { + "id": 1192, + "name": "FetchOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for fetch requests" + } + ] + }, + "children": [ + { + "id": 1193, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom HTTP headers" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/fetch.ts", + "line": 13, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/fetch.ts#L13" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1194, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/fetch.ts", + "line": 13, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/fetch.ts#L13" + } + ], + "indexSignatures": [ + { + "id": 1195, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/fetch.ts", + "line": 14, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/fetch.ts#L14" + } + ], + "parameters": [ + { + "id": 1196, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + }, + { + "id": 1197, + "name": "noResolveJson", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, return raw Response instead of parsing JSON" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/fetch.ts", + "line": 16, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/fetch.ts#L16" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1193, 1197] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/fetch.ts", + "line": 12, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/fetch.ts#L12" + } + ] + }, + { + "id": 701, + "name": "FetchParameters", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 358, + "id": 702, + "name": "signal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Pass in an AbortController's signal to cancel the request." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 204, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L204" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, + "name": "AbortSignal", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [702] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 200, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L200" + } + ] + }, + { + "id": 637, + "name": "FileObject", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 639, "name": "bucket_id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 49, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L49" } ], "type": { @@ -40368,35 +155123,38 @@ } }, { - "id": 365, + "id": 646, "name": "buckets", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 19, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L57" } ], "type": { "type": "reference", - "id": 349, - "name": "Bucket" + "target": 615, + "name": "Bucket", + "package": "@supabase/storage-js" } }, { - "id": 362, + "id": 643, "name": "created_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 53, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L53" } ], "type": { @@ -40405,16 +155163,17 @@ } }, { - "id": 360, + "id": 641, "name": "id", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 14, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 51, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L51" } ], "type": { @@ -40423,16 +155182,26 @@ } }, { - "id": 363, + "id": 644, "name": "last_accessed_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 55, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L55" } ], "type": { @@ -40441,20 +155210,25 @@ } }, { - "id": 364, + "id": 645, "name": "metadata", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 18, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L56" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", @@ -40465,22 +155239,22 @@ "name": "any" } ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" + "name": "Record", + "package": "typescript" } }, { - "id": 357, + "id": 638, "name": "name", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 11, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 48, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L48" } ], "type": { @@ -40489,16 +155263,17 @@ } }, { - "id": 359, + "id": 640, "name": "owner", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 13, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 50, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L50" } ], "type": { @@ -40507,16 +155282,17 @@ } }, { - "id": 361, + "id": 642, "name": "updated_at", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 15, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 52, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L52" } ], "type": { @@ -40528,41 +155304,361 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [358, 365, 362, 360, 363, 364, 357, 359, 361] + "children": [639, 646, 643, 641, 644, 645, 638, 640, 642] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 17 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 47, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L47" } ] }, { - "id": 369, - "name": "FileOptions", + "id": 647, + "name": "FileObjectV2", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 370, + "id": 651, + "name": "bucket_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 64, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L64" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 656, + "name": "cache_control", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 70, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L70" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 657, + "name": "content_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 71, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L71" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 653, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 66, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L66" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 658, + "name": "etag", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 72, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L72" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 648, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 61, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L61" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 654, + "name": "last_accessed_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 68, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L68" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 659, + "name": "last_modified", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 73, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L73" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 660, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 74, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L74" + } + ], + "type": { + "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" + } + }, + { + "id": 650, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 63, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L63" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 655, + "name": "size", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 69, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L69" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 652, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 65, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L65" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 649, + "name": "version", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 62, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L62" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [651, 656, 657, 653, 658, 648, 654, 659, 660, 650, 655, 652, 649] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 60, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L60" + } + ] + }, + { + "id": 664, + "name": "FileOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 665, "name": "cacheControl", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "comment": { - "shortText": "The number of seconds the asset is cached in the browser and in the Supabase CDN. This is set in the `Cache-Control: max-age=` header. Defaults to 3600 seconds." + "summary": [ + { + "kind": "text", + "text": "The number of seconds the asset is cached in the browser and in the Supabase CDN. This is set in the " + }, + { + "kind": "code", + "text": "`Cache-Control: max-age=`" + }, + { + "kind": "text", + "text": " header. Defaults to 3600 seconds." + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 31, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 86, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L86" } ], "type": { @@ -40571,21 +155667,75 @@ } }, { - "id": 371, + "id": 666, "name": "contentType", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "comment": { - "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`." + "summary": [ + { + "kind": "text", + "text": "the " + }, + { + "kind": "code", + "text": "`Content-Type`" + }, + { + "kind": "text", + "text": " header value. Should be specified if using a " + }, + { + "kind": "code", + "text": "`fileBody`" + }, + { + "kind": "text", + "text": " that is neither " + }, + { + "kind": "code", + "text": "`Blob`" + }, + { + "kind": "text", + "text": " nor " + }, + { + "kind": "code", + "text": "`File`" + }, + { + "kind": "text", + "text": " nor " + }, + { + "kind": "code", + "text": "`FormData`" + }, + { + "kind": "text", + "text": ", otherwise will default to " + }, + { + "kind": "code", + "text": "`text/plain;charset=UTF-8`" + }, + { + "kind": "text", + "text": "." + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 35, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 90, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L90" } ], "type": { @@ -40594,21 +155744,144 @@ } }, { - "id": 372, - "name": "upsert", + "id": 668, + "name": "duplex", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "comment": { - "shortText": "When upsert is set to true, the file is overwritten if it exists. When set to false, an error is thrown if the object already exists. Defaults to false." + "summary": [ + { + "kind": "text", + "text": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method." + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 39, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 98, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L98" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 670, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optionally add extra headers" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 108, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L108" + } + ], + "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" + } + }, + { + "id": 669, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The metadata option is an object that allows you to store additional information about the file. This information can be used to filter and search for files. The metadata object can contain any key-value pairs you want to store." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 103, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L103" + } + ], + "type": { + "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" + } + }, + { + "id": 667, + "name": "upsert", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When upsert is set to true, the file is overwritten if it exists. When set to false, an error is thrown if the object already exists. Defaults to false." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 94, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L94" } ], "type": { @@ -40620,36 +155893,168 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [370, 371, 372] + "children": [665, 666, 668, 670, 669, 667] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 27, - "character": 17 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 82, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L82" } ] }, { - "id": 380, - "name": "Metadata", + "id": 1108, + "name": "GetVectorsOptions", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for batch reading vectors" + } + ] + }, "children": [ { - "id": 381, - "name": "name", + "id": 1110, + "name": "indexName", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the index" + } + ] + }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 162, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L162" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1111, + "name": "keys", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of vector keys to retrieve" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 163, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L163" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1112, + "name": "returnData", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to include vector data in response" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 164, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L164" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1113, + "name": "returnMetadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to include metadata in response" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 165, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L165" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1109, + "name": "vectorBucketName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the vector bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 161, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L161" } ], "type": { @@ -40661,41 +156066,102 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [381] + "children": [1110, 1111, 1112, 1113, 1109] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 72, - "character": 17 + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 160, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L160" } ] }, { - "id": 373, - "name": "SearchOptions", + "id": 1114, + "name": "GetVectorsResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Response from getting vectors" + } + ] + }, + "children": [ + { + "id": 1115, + "name": "vectors", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of retrieved vector objects" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 173, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L173" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1072, + "name": "VectorMatch", + "package": "@supabase/storage-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1115] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 172, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L172" + } + ] + }, + { + "id": 625, + "name": "ListBucketOptions", + "variant": "declaration", "kind": 256, - "kindString": "Interface", "flags": {}, "children": [ { - "id": 374, + "id": 626, "name": "limit", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "shortText": " The number of files you want to be returned." - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 46, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 23, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L23" } ], "type": { @@ -40704,21 +156170,19 @@ } }, { - "id": 375, + "id": 627, "name": "offset", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "shortText": "The starting position." - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 51, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 24, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L24" } ], "type": { @@ -40727,21 +156191,19 @@ } }, { - "id": 377, + "id": 630, "name": "search", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "shortText": "The search string to filter files by." - }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 61, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 27, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L27" } ], "type": { @@ -40750,65 +156212,1253 @@ } }, { - "id": 376, - "name": "sortBy", + "id": 628, + "name": "sortColumn", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 25, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L25" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "created_at" + }, + { + "type": "literal", + "value": "updated_at" + } + ] + } + }, + { + "id": 629, + "name": "sortOrder", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 26, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L26" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "asc" + }, + { + "type": "literal", + "value": "desc" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [626, 627, 630, 628, 629] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 22, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L22" + } + ] + }, + { + "id": 1094, + "name": "ListIndexesOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for listing indexes within a bucket" + } + ] + }, + "children": [ + { + "id": 1097, + "name": "maxResults", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, "comment": { - "shortText": "The column to sort by. Can be any column inside a FileObject." + "summary": [ + { + "kind": "text", + "text": "Maximum number of results to return (default: 100)" + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 138, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L138" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1098, + "name": "nextToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Token for pagination from previous response" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 139, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L139" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1096, + "name": "prefix", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter indexes by name prefix" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 137, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L137" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1095, + "name": "vectorBucketName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the parent vector bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 136, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L136" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1097, 1098, 1096, 1095] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 135, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L135" + } + ] + }, + { + "id": 1099, + "name": "ListIndexesResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Response from listing indexes" + } + ] + }, + "children": [ + { + "id": 1100, + "name": "indexes", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of index names" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 148, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L148" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 1101, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1102, + "name": "indexName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 148, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L148" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1102] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 148, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L148" + } + ] + } + } + } + }, + { + "id": 1103, + "name": "nextToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Token for fetching next page (if more results exist)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 149, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L149" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1100, 1103] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 147, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L147" + } + ] + }, + { + "id": 1085, + "name": "ListVectorBucketsOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for fetching vector buckets" + } + ] + }, + "children": [ + { + "id": 1087, + "name": "maxResults", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Maximum number of results to return (default: 100)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 114, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L114" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1088, + "name": "nextToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Token for pagination from previous response" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 115, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L115" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1086, + "name": "prefix", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter buckets by name prefix" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 113, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L113" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1087, 1088, 1086] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 112, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L112" + } + ] + }, + { + "id": 1089, + "name": "ListVectorBucketsResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Response from listing vector buckets" + } + ] + }, + "children": [ + { + "id": 1093, + "name": "nextToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Token for fetching next page (if more results exist)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 125, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L125" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1090, + "name": "vectorBuckets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of bucket names" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 124, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L124" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 1091, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1092, + "name": "vectorBucketName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 124, + "character": 19, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L124" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1092] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 124, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L124" + } + ] + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1093, 1090] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 123, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L123" + } + ] + }, + { + "id": 1120, + "name": "ListVectorsOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for listing/scanning vectors in an index\nSupports parallel scanning via segment configuration" + } + ] + }, + "children": [ + { + "id": 1122, + "name": "indexName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the index" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 214, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L214" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1123, + "name": "maxResults", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Maximum number of results to return (default: 500, max: 1000)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 215, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L215" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1124, + "name": "nextToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Token for pagination from previous response" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 216, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L216" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1125, + "name": "returnData", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to include vector data in response" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 217, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L217" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1126, + "name": "returnMetadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to include metadata in response" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 218, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L218" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1127, + "name": "segmentCount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Total number of parallel segments (1-16)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 219, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L219" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1128, + "name": "segmentIndex", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Zero-based index of this segment (0 to segmentCount-1)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 220, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L220" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1121, + "name": "vectorBucketName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the vector bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 213, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L213" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1122, 1123, 1124, 1125, 1126, 1127, 1128, 1121] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 212, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L212" + } + ] + }, + { + "id": 1129, + "name": "ListVectorsResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Response from listing vectors" + } + ] + }, + "children": [ + { + "id": 1131, + "name": "nextToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Token for fetching next page (if more results exist)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 230, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L230" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1130, + "name": "vectors", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of vector objects" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 229, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L229" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1072, + "name": "VectorMatch", + "package": "@supabase/storage-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1131, 1130] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 228, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L228" + } + ] + }, + { + "id": 703, + "name": "Metadata", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 704, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 209, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L209" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [704] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 208, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L208" + } + ] + }, + { + "id": 1080, + "name": "MetadataConfiguration", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Metadata configuration for vector index\nDefines which metadata keys should not be indexed for filtering" + } + ] + }, + "children": [ + { + "id": 1081, + "name": "nonFilterableMetadataKeys", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of metadata keys that cannot be used in filters" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 31, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L31" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1081] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 30, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L30" + } + ] + }, + { + "id": 1104, + "name": "PutVectorsOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for batch inserting/updating vectors" + } + ] + }, + "children": [ + { + "id": 1106, + "name": "indexName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the index" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 184, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L184" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1105, + "name": "vectorBucketName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the vector bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 183, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L183" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1107, + "name": "vectors", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of vectors to insert/upsert (1-500 items)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 185, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L185" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1068, + "name": "VectorObject", + "package": "@supabase/storage-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1106, 1105, 1107] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 182, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L182" + } + ] + }, + { + "id": 1132, + "name": "QueryVectorsOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for querying similar vectors (ANN search)" + } + ] + }, + "children": [ + { + "id": 1137, + "name": "filter", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional JSON filter for metadata" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 254, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L254" } ], "type": { "type": "reference", - "id": 366, - "name": "SortBy" + "target": 1084, + "name": "VectorFilter", + "package": "@supabase/storage-js" } - } - ], - "groups": [ + }, { - "title": "Properties", + "id": 1134, + "name": "indexName", + "variant": "declaration", "kind": 1024, - "children": [374, 375, 377, 376] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 42, - "character": 17 - } - ] - }, - { - "id": 366, - "name": "SortBy", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 367, - "name": "column", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the index" + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 23, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 251, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L251" } ], "type": { @@ -40817,18 +157467,141 @@ } }, { - "id": 368, - "name": "order", + "id": 1135, + "name": "queryVector", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Query vector to find similar vectors" + } + ] }, "sources": [ { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 2 + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 252, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L252" + } + ], + "type": { + "type": "reference", + "target": 1065, + "name": "VectorData", + "package": "@supabase/storage-js" + } + }, + { + "id": 1138, + "name": "returnDistance", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to include distance scores" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 255, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L255" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1139, + "name": "returnMetadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to include metadata in results" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 256, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L256" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1136, + "name": "topK", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Number of nearest neighbors to return (default: 10)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 253, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L253" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1133, + "name": "vectorBucketName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the vector bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 250, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L250" } ], "type": { @@ -40840,44 +157613,3044 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [367, 368] + "children": [1137, 1134, 1135, 1138, 1139, 1136, 1133] } ], "sources": [ { - "fileName": "src/lib/types.ts", - "line": 22, - "character": 17 + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 249, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L249" } ] }, { - "id": 382, - "name": "isStorageError", - "kind": 64, - "kindString": "Function", + "id": 1140, + "name": "QueryVectorsResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Response from vector similarity query" + } + ] + }, + "children": [ + { + "id": 1141, + "name": "matches", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of similar vectors ordered by distance" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 264, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L264" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1072, + "name": "VectorMatch", + "package": "@supabase/storage-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1141] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 263, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L263" + } + ] + }, + { + "id": 673, + "name": "SearchOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 674, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of files you want to be returned." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n100\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 120, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L120" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 675, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The starting position." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 125, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L125" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 677, + "name": "search", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The search string to filter files by." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 135, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L135" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 676, + "name": "sortBy", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The column to sort by. Can be any column inside a FileObject." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 130, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L130" + } + ], + "type": { + "type": "reference", + "target": 661, + "name": "SortBy", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [674, 675, 677, 676] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 115, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L115" + } + ] + }, + { + "id": 687, + "name": "SearchV2Object", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 692, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 183, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L183" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 688, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 179, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L179" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 689, + "name": "key", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 180, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L180" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 694, + "name": "last_accessed_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 188, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L188" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 693, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 184, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L184" + } + ], + "type": { + "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" + } + }, + { + "id": 690, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 181, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L181" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 691, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 182, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L182" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [692, 688, 689, 694, 693, 690, 691] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 178, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L178" + } + ] + }, + { + "id": 681, + "name": "SearchV2Options", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 684, + "name": "cursor", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cursor used for pagination. Pass the value received from nextCursor of the previous request." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 158, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L158" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 682, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of files you want to be returned." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n1000\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 148, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L148" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 683, + "name": "prefix", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prefix search string to filter files by." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 153, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L153" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 686, + "name": "sortBy", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The column and order to sort by" + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n'name asc'\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 175, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L175" + } + ], + "type": { + "type": "reference", + "target": 678, + "name": "SortByV2", + "package": "@supabase/storage-js" + } + }, + { + "id": 685, + "name": "with_delimiter", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to emulate a hierarchical listing of objects using delimiters.\n\n- When " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " (default), all objects are listed as flat key/value pairs.\n- When " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the response groups objects by delimiter, making it appear\n like a file/folder hierarchy." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\nfalse\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 169, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L169" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [684, 682, 683, 686, 685] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 143, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L143" + } + ] + }, + { + "id": 696, + "name": "SearchV2Result", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 698, + "name": "folders", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 195, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L195" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 695, + "name": "SearchV2Folder", + "package": "@supabase/storage-js" + } + } + }, + { + "id": 697, + "name": "hasNext", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 194, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L194" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 700, + "name": "nextCursor", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 197, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L197" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 699, + "name": "objects", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 196, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L196" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 687, + "name": "SearchV2Object", + "package": "@supabase/storage-js" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [698, 697, 700, 699] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 193, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L193" + } + ] + }, + { + "id": 661, + "name": "SortBy", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 662, + "name": "column", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 78, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L78" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 663, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 79, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L79" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [662, 663] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 77, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L77" + } + ] + }, + { + "id": 678, + "name": "SortByV2", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 679, + "name": "column", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 139, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L139" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "created_at" + }, + { + "type": "literal", + "value": "updated_at" + } + ] + } + }, + { + "id": 680, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 140, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L140" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "asc" + }, + { + "type": "literal", + "value": "desc" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [679, 680] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 138, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L138" + } + ] + }, + { + "id": 611, + "name": "StorageClientOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 612, + "name": "useNewHostname", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 8, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L8" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [612] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/StorageClient.ts", + "line": 7, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/StorageClient.ts#L7" + } + ] + }, + { + "id": 892, + "name": "StorageVectorsClientOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configuration options for the Storage Vectors client" + } + ] + }, + "children": [ + { + "id": 897, + "name": "fetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom fetch implementation (optional)\nUseful for testing or custom request handling" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 26, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L26" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 898, + "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": 899, + "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": 900, + "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": 901, + "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": 902, + "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": 903, + "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": 904, + "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": 893, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom headers to include in all requests" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 21, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L21" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 894, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 21, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L21" + } + ], + "indexSignatures": [ + { + "id": 895, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 21, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L21" + } + ], + "parameters": [ + { + "id": 896, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [897, 893] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts", + "line": 17, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/StorageVectorsClient.ts#L17" + } + ] + }, + { + "id": 1144, + "name": "SuccessResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Standard response wrapper for successful operations" + } + ] + }, + "children": [ + { + "id": 1145, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Response data of type T" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 281, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L281" + } + ], + "type": { + "type": "reference", + "target": 1147, + "name": "T", + "package": "@supabase/storage-js", + "qualifiedName": "SuccessResponse.T", + "refersToTypeParameter": true + } + }, + { + "id": 1146, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Null on success" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 282, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L282" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1145, 1146] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 280, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L280" + } + ], + "typeParameters": [ + { + "id": 1147, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ] + }, + { + "id": 705, + "name": "TransformOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 710, + "name": "format", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Specify the format of the image requested.\n\nWhen using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 240, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L240" + } + ], + "type": { + "type": "literal", + "value": "origin" + } + }, + { + "id": 707, + "name": "height", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The height of the image in pixels." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 220, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L220" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 709, + "name": "quality", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 233, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L233" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 708, + "name": "resize", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 227, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L227" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "cover" + }, + { + "type": "literal", + "value": "contain" + }, + { + "type": "literal", + "value": "fill" + } + ] + } + }, + { + "id": 706, + "name": "width", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The width of the image in pixels." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 216, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L216" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [710, 707, 709, 708, 706] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 212, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L212" + } + ] + }, + { + "id": 1053, + "name": "VectorBucket", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector bucket metadata" + } + ] + }, + "children": [ + { + "id": 1055, + "name": "creationTime", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unix timestamp of when the bucket was created" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 21, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L21" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1056, + "name": "encryptionConfiguration", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional encryption settings" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 22, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L22" + } + ], + "type": { + "type": "reference", + "target": 1077, + "name": "EncryptionConfiguration", + "package": "@supabase/storage-js" + } + }, + { + "id": 1054, + "name": "vectorBucketName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unique name of the vector bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 20, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L20" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1055, 1056, 1054] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 19, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L19" + } + ] + }, + { + "id": 1065, + "name": "VectorData", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector data representation\nVectors must be float32 arrays with dimensions matching the index" + } + ] + }, + "children": [ + { + "id": 1066, + "name": "float32", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of 32-bit floating point numbers" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 71, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L71" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "number" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1066] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 70, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L70" + } + ] + }, + { + "id": 1151, + "name": "VectorFetchParameters", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fetch-specific parameters like abort signals" + } + ] + }, + "children": [ + { + "id": 1152, + "name": "signal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "AbortSignal for cancelling requests" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 272, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L272" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, + "name": "AbortSignal", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1152] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 271, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L271" + } + ] + }, + { + "id": 1057, + "name": "VectorIndex", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector index configuration and metadata" + } + ] + }, + "children": [ + { + "id": 1064, + "name": "creationTime", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unix timestamp of when the index was created" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 62, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L62" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1060, + "name": "dataType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Data type of vector components (currently only 'float32')" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 58, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L58" + } + ], + "type": { + "type": "literal", + "value": "float32" + } + }, + { + "id": 1061, + "name": "dimension", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Dimensionality of vectors (e.g., 384, 768, 1536)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 59, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L59" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1062, + "name": "distanceMetric", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Similarity metric used for queries" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 60, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L60" + } + ], + "type": { + "type": "reference", + "target": 1083, + "name": "DistanceMetric", + "package": "@supabase/storage-js" + } + }, + { + "id": 1058, + "name": "indexName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unique name of the index within the bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 56, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1063, + "name": "metadataConfiguration", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configuration for metadata filtering" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 61, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L61" + } + ], + "type": { + "type": "reference", + "target": 1080, + "name": "MetadataConfiguration", + "package": "@supabase/storage-js" + } + }, + { + "id": 1059, + "name": "vectorBucketName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the parent vector bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 57, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1064, 1060, 1061, 1062, 1058, 1063, 1059] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 55, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L55" + } + ] + }, + { + "id": 1072, + "name": "VectorMatch", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector object returned from queries with optional distance" + } + ] + }, + "children": [ + { + "id": 1074, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector embedding data (if requested)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 101, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L101" + } + ], + "type": { + "type": "reference", + "target": 1065, + "name": "VectorData", + "package": "@supabase/storage-js" + } + }, + { + "id": 1076, + "name": "distance", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Similarity distance from query vector (if requested)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 103, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L103" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1073, + "name": "key", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unique identifier for the vector" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 100, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L100" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1075, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Arbitrary metadata (if requested)" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 102, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L102" + } + ], + "type": { + "type": "reference", + "target": 1067, + "name": "VectorMetadata", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1074, 1076, 1073, 1075] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 99, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L99" + } + ] + }, + { + "id": 1068, + "name": "VectorObject", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Single vector object for insertion/update" + } + ] + }, + "children": [ + { + "id": 1070, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector embedding data" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 88, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L88" + } + ], + "type": { + "type": "reference", + "target": 1065, + "name": "VectorData", + "package": "@supabase/storage-js" + } + }, + { + "id": 1069, + "name": "key", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Unique identifier for the vector" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 87, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L87" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1071, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional arbitrary metadata" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 89, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L89" + } + ], + "type": { + "type": "reference", + "target": 1067, + "name": "VectorMetadata", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1070, 1069, 1071] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 86, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L86" + } + ] + }, + { + "id": 1142, + "name": "ApiResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Union type for all API responses\nFollows the pattern: { data: T, error: null } | { data: null, error: Error }" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 299, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L299" + } + ], + "typeParameters": [ + { + "id": 1143, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1144, + "typeArguments": [ + { + "type": "reference", + "target": 1143, + "name": "T", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ], + "name": "SuccessResponse", + "package": "@supabase/storage-js" + }, + { + "type": "reference", + "target": 1148, + "name": "ErrorResponse", + "package": "@supabase/storage-js" + } + ] + } + }, + { + "id": 614, + "name": "BucketType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Type of storage bucket\n- STANDARD: Regular file storage buckets\n- ANALYTICS: Iceberg table-based buckets for analytical workloads" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 8, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L8" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + } + }, + { + "id": 711, + "name": "Camelize", + "variant": "declaration", + "kind": 2097152, "flags": {}, "sources": [ { - "fileName": "src/lib/errors.ts", - "line": 10, - "character": 16 + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 247, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L247" + } + ], + "typeParameters": [ + { + "id": 712, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "mapped", + "parameter": "K", + "parameterType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 712, + "name": "T", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + }, + "templateType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "K" + }, + "name": "K", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 712, + "name": "T", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + }, + "nameType": { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "CamelCase" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Extract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/lib/types.ts", + "qualifiedName": "K" + }, + "name": "K", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Extract", + "package": "typescript" + } + ], + "name": "CamelCase", + "package": "@supabase/storage-js" + } + } + }, + { + "id": 1083, + "name": "DistanceMetric", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Distance metrics for vector similarity search" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 43, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L43" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "cosine" + }, + { + "type": "literal", + "value": "euclidean" + }, + { + "type": "literal", + "value": "dotproduct" + } + ] + } + }, + { + "id": 713, + "name": "DownloadResult", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 251, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L251" + } + ], + "typeParameters": [ + { + "id": 720, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 714, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 715, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 253, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L253" + } + ], + "type": { + "type": "reference", + "target": 720, + "name": "T", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + }, + { + "id": 716, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 254, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L254" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [715, 716] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 252, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L252" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 717, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 718, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 257, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L257" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 719, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 258, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L258" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [718, 719] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 256, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L256" + } + ] + } + } + ] + } + }, + { + "id": 1191, + "name": "Fetch", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/fetch.ts", + "line": 5, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/fetch.ts#L5" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 56, + "name": "fetch", + "package": "typescript" + } + } + }, + { + "id": 1198, + "name": "RequestMethodType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP methods supported by the API" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/fetch.ts", + "line": 22, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/fetch.ts#L22" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PUT" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 695, + "name": "SearchV2Folder", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/types.ts", + "line": 191, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/types.ts#L191" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 687, + "name": "SearchV2Object", + "package": "@supabase/storage-js" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "metadata" + }, + { + "type": "literal", + "value": "last_accessed_at" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + } + }, + { + "id": 1082, + "name": "VectorDataType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Supported data types for vectors\nCurrently only float32 is supported" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 38, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L38" + } + ], + "type": { + "type": "literal", + "value": "float32" + } + }, + { + "id": 1084, + "name": "VectorFilter", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "JSON filter expression for metadata filtering\nFormat and syntax depend on the S3 Vectors service implementation" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 237, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L237" + } + ], + "type": { + "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" + } + }, + { + "id": 1067, + "name": "VectorMetadata", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Arbitrary JSON metadata attached to vectors\nKeys configured as non-filterable in the index can be stored but not queried" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/types.ts", + "line": 78, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/types.ts#L78" + } + ], + "type": { + "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" + } + }, + { + "id": 1222, + "name": "isPlainObject", + "variant": "declaration", + "kind": 64, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Determine if input is a plain object\nAn object is plain if it's created by either {}, new Object(), or Object.create(null)" + } + ], + "blockTags": [ + { + "tag": "@source", + "content": [ + { + "kind": "text", + "text": "https://github.com/sindresorhus/is-plain-obj" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/helpers.ts", + "line": 35, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/helpers.ts#L35" } ], "signatures": [ { - "id": 383, - "name": "isStorageError", + "id": 1223, + "name": "isPlainObject", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "True if value is a plain object" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/helpers.ts", + "line": 35, + "character": 29, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/helpers.ts#L35" + } + ], "parameters": [ { - "id": 384, + "id": 1224, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Value to check" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 721, + "name": "isStorageError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 10, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L10" + } + ], + "signatures": [ + { + "id": 722, + "name": "isStorageError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/errors.ts", + "line": 10, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/errors.ts#L10" + } + ], + "parameters": [ + { + "id": 723, "name": "error", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", @@ -40891,192 +160664,2380 @@ "asserts": false, "targetType": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } } ] + }, + { + "id": 1188, + "name": "isStorageVectorsError", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 18, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L18" + } + ], + "signatures": [ + { + "id": 1189, + "name": "isStorageVectorsError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Type guard to check if an error is a StorageVectorsError" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "True if the error is a StorageVectorsError" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/errors.ts", + "line": 18, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/errors.ts#L18" + } + ], + "parameters": [ + { + "id": 1190, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The error to check" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "target": 1153, + "name": "StorageVectorsError", + "package": "@supabase/storage-js" + } + } + } + ] + }, + { + "id": 1225, + "name": "normalizeToFloat32", + "variant": "declaration", + "kind": 64, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Normalizes a number array to float32 format\nEnsures all vector values are valid 32-bit floats" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/helpers.ts", + "line": 57, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/helpers.ts#L57" + } + ], + "signatures": [ + { + "id": 1226, + "name": "normalizeToFloat32", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Normalized float32 array" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/helpers.ts", + "line": 57, + "character": 34, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/helpers.ts#L57" + } + ], + "parameters": [ + { + "id": 1227, + "name": "values", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of numbers to normalize" + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "number" + } + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "number" + } + } + } + ] + }, + { + "id": 1199, + "name": "resolveFetch", + "variant": "declaration", + "kind": 64, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Resolves the fetch implementation to use\nUses custom fetch if provided, otherwise uses native fetch" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/helpers.ts", + "line": 10, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/helpers.ts#L10" + } + ], + "signatures": [ + { + "id": 1200, + "name": "resolveFetch", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolved fetch function" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/helpers.ts", + "line": 10, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/helpers.ts#L10" + } + ], + "parameters": [ + { + "id": 1201, + "name": "customFetch", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional custom fetch implementation" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1202, + "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": 1203, + "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": 1204, + "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": 1205, + "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": 1206, + "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": 1207, + "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": 1208, + "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" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1209, + "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": 1210, + "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": 1211, + "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": 1212, + "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": 1213, + "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": 1214, + "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": 1215, + "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": 1216, + "name": "resolveResponse", + "variant": "declaration", + "kind": 64, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Resolves the Response constructor to use\nReturns native Response constructor" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/helpers.ts", + "line": 23, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/helpers.ts#L23" + } + ], + "signatures": [ + { + "id": 1217, + "name": "resolveResponse", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Response constructor" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/helpers.ts", + "line": 23, + "character": 31, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/helpers.ts#L23" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1218, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 19898, + "character": 22 + } + ], + "signatures": [ + { + "id": 1219, + "name": "resolveResponse", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 19900, + "character": 4 + } + ], + "parameters": [ + { + "id": 1220, + "name": "body", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "BodyInit" + }, + "name": "BodyInit", + "package": "typescript" + } + ] + } + }, + { + "id": 1221, + "name": "init", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "ResponseInit" + }, + "name": "ResponseInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 1228, + "name": "validateVectorDimension", + "variant": "declaration", + "kind": 64, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Validates vector dimensions match expected dimension\nThrows error if dimensions don't match" + } + ], + "blockTags": [ + { + "tag": "@throws", + "content": [ + { + "kind": "text", + "text": "Error if dimensions don't match" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/helpers.ts", + "line": 70, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/helpers.ts#L70" + } + ], + "signatures": [ + { + "id": 1229, + "name": "validateVectorDimension", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/helpers.ts", + "line": 70, + "character": 39, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/helpers.ts#L70" + } + ], + "parameters": [ + { + "id": 1230, + "name": "vector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Vector data to validate" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1231, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1232, + "name": "float32", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/helpers.ts", + "line": 71, + "character": 12, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/helpers.ts#L71" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "number" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [1232] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/lib/vectors/helpers.ts", + "line": 71, + "character": 10, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/lib/vectors/helpers.ts#L71" + } + ] + } + } + }, + { + "id": 1233, + "name": "expectedDimension", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Expected vector dimension" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 613, + "name": "StorageAnalyticsApi", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/index.ts", + "line": 3, + "character": 20, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/index.ts#L3" + } + ], + "target": 47 + } + ], + "groups": [ + { + "title": "Enumerations", + "children": [1181] + }, + { + "title": "Classes", + "children": [729, 500, 724, 745, 1158, 752, 1153, 1174, 905, 790, 999, 951, 841] + }, + { + "title": "Interfaces", + "children": [ + 631, 615, 1046, 1116, 671, 1077, 1148, 1192, 701, 637, 647, 664, 1108, 1114, 625, + 1094, 1099, 1085, 1089, 1120, 1129, 703, 1080, 1104, 1132, 1140, 673, 687, 681, 696, + 661, 678, 611, 892, 1144, 705, 1053, 1065, 1151, 1057, 1072, 1068 + ] + }, + { + "title": "Type Aliases", + "children": [1142, 614, 711, 1083, 713, 1191, 1198, 695, 1082, 1084, 1067] + }, + { + "title": "Functions", + "children": [1222, 721, 1188, 1225, 1199, 1216, 1228] + }, + { + "title": "References", + "children": [613] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/index.ts", + "line": 1, + "character": 0, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/index.ts#L1" + } + ] + }, + { + "id": 2, + "name": "packages/BlobDownloadBuilder", + "variant": "declaration", + "kind": 2, + "flags": {}, + "children": [ + { + "id": 3, + "name": "default", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 4, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 9, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L9" + } + ], + "signatures": [ + { + "id": 5, + "name": "default", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 9, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L9" + } + ], + "parameters": [ + { + "id": 6, + "name": "downloadFn", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 7, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 10, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L10" + } + ], + "signatures": [ + { + "id": 8, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 10, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L10" + } + ], + "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": 9, + "name": "shouldThrowOnError", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "type": { + "type": "reference", + "target": 3, + "name": "BlobDownloadBuilder", + "package": "@supabase/storage-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 45, + "name": "[toStringTag]", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 6, + "character": 11, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L6" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'BlobDownloadBuilder'", + "implementationOf": { + "type": "reference", + "target": -1, + "name": "Promise.[toStringTag]" + } + }, + { + "id": 15, + "name": "asStream", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L14" + } + ], + "signatures": [ + { + "id": 16, + "name": "asStream", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L14" + } + ], + "type": { + "type": "reference", + "target": 475, + "name": "StreamDownloadBuilder", + "package": "@supabase/storage-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 29, + "name": "catch", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 25, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L25" + } + ], + "signatures": [ + { + "id": 30, + "name": "catch", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Attaches a callback for only the rejection of the Promise." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Promise for the completion of the callback." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 25, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L25" + } + ], + "typeParameters": [ + { + "id": 31, + "name": "TResult", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 32, + "name": "onrejected", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is rejected." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 33, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 26, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L26" + } + ], + "signatures": [ + { + "id": 34, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 26, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L26" + } + ], + "parameters": [ + { + "id": 35, + "name": "reason", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 31, + "name": "TResult", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 31, + "name": "TResult", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 713, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Blob" + }, + "name": "Blob", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + }, + { + "type": "reference", + "target": 31, + "name": "TResult", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ] + } + ], + "name": "Promise", + "package": "typescript" + }, + "implementationOf": { + "type": "reference", + "target": -1, + "name": "Promise.catch" + } + } + ], + "implementationOf": { + "type": "reference", + "target": -1, + "name": "Promise.catch" + } + }, + { + "id": 36, + "name": "finally", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 31, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L31" + } + ], + "signatures": [ + { + "id": 37, + "name": "finally", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The\nresolved value cannot be modified from the callback." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Promise for the completion of the callback." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 31, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L31" + } + ], + "parameters": [ + { + "id": 38, + "name": "onfinally", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is settled (fulfilled or rejected)." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 39, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 31, + "character": 23, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L31" + } + ], + "signatures": [ + { + "id": 40, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 31, + "character": 23, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L31" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 713, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Blob" + }, + "name": "Blob", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + }, + "implementationOf": { + "type": "reference", + "target": -1, + "name": "Promise.finally" + } + } + ], + "implementationOf": { + "type": "reference", + "target": -1, + "name": "Promise.finally" + } + }, + { + "id": 17, + "name": "then", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L18" + } + ], + "signatures": [ + { + "id": 18, + "name": "then", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Attaches callbacks for the resolution and/or rejection of the Promise." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Promise for the completion of which ever callback is executed." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L18" + } + ], + "typeParameters": [ + { + "id": 19, + "name": "TResult1", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "reference", + "target": 713, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Blob" + }, + "name": "Blob", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } + }, + { + "id": 20, + "name": "TResult2", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 21, + "name": "onfulfilled", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is resolved." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 22, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 19, + "character": 19, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L19" + } + ], + "signatures": [ + { + "id": 23, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 19, + "character": 19, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L19" + } + ], + "parameters": [ + { + "id": 24, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 713, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Blob" + }, + "name": "Blob", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 19, + "name": "TResult1", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 19, + "name": "TResult1", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 25, + "name": "onrejected", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is rejected." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 26, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 20, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L20" + } + ], + "signatures": [ + { + "id": 27, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 20, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L20" + } + ], + "parameters": [ + { + "id": 28, + "name": "reason", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 20, + "name": "TResult2", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 20, + "name": "TResult2", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 19, + "name": "TResult1", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 20, + "name": "TResult2", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ] + } + ], + "name": "Promise", + "package": "typescript" + }, + "implementationOf": { + "type": "reference", + "target": -1, + "name": "Promise.then" + } + } + ], + "implementationOf": { + "type": "reference", + "target": -1, + "name": "Promise.then" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [4] + }, + { + "title": "Properties", + "children": [45] + }, + { + "title": "Methods", + "children": [15, 29, 36, 17] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", + "line": 5, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L5" + } + ], + "implementedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 713, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "Blob" + }, + "name": "Blob", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } + ], + "name": "Promise", + "package": "typescript" + } + ] } ], "groups": [ { "title": "Classes", - "kind": 128, - "children": [390, 258, 385, 403] - }, - { - "title": "Interfaces", - "kind": 256, - "children": [349, 378, 356, 369, 380, 373, 366] - }, - { - "title": "Functions", - "kind": 64, - "children": [382] + "children": [3] } ], "sources": [ { - "fileName": "src/index.ts", + "fileName": "packages/core/storage-js/src/packages/BlobDownloadBuilder.ts", "line": 1, - "character": 0 + "character": 0, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/BlobDownloadBuilder.ts#L1" } ] }, { - "id": 2, - "name": "packages/StorageBucketApi", + "id": 46, + "name": "packages/StorageAnalyticsApi", + "variant": "declaration", "kind": 2, - "kindString": "Module", "flags": {}, "children": [ { - "id": 3, + "id": 47, "name": "default", + "variant": "declaration", "kind": 128, - "kindString": "Class", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "API class for managing Analytics Buckets using Iceberg tables\nProvides methods for creating, listing, and deleting analytics buckets" + } + ] + }, "children": [ { - "id": 4, + "id": 48, "name": "constructor", + "variant": "declaration", "kind": 512, - "kindString": "Constructor", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 12, - "character": 2 + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 23, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L23" } ], "signatures": [ { - "id": 5, - "name": "new default", + "id": 49, + "name": "default", + "variant": "signature", "kind": 16384, - "kindString": "Constructor signature", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new StorageAnalyticsApi instance" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 23, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L23" + } + ], "parameters": [ { - "id": 6, + "id": 50, "name": "url", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The base URL for the storage API" + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 7, + "id": 51, "name": "headers", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP headers to include in requests" + } + ] + }, "type": { "type": "reflection", "declaration": { - "id": 8, + "id": 52, "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/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 23, + "character": 36, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L23" } - } + ], + "indexSignatures": [ + { + "id": 53, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 23, + "character": 38, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L23" + } + ], + "parameters": [ + { + "id": 54, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, "defaultValue": "{}" }, { - "id": 11, + "id": 55, "name": "fetch", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional custom fetch implementation" + } + ] + }, "type": { "type": "reflection", "declaration": { - "id": 12, + "id": 56, "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": 57, "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": 58, "name": "input", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "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": 15, + "id": 59, "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": 60, + "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": 61, + "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": 62, + "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" } } ] @@ -41086,45 +163047,1455 @@ ], "type": { "type": "reference", - "id": 3, - "name": "default" + "target": 47, + "name": "StorageAnalyticsApi", + "package": "@supabase/storage-js", + "qualifiedName": "default" } } ] }, { - "id": 43, + "id": 79, "name": "createBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 79, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 57, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L57" } ], "signatures": [ { - "id": 44, + "id": 80, "name": "createBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\n" + "summary": [ + { + "kind": "text", + "text": "Creates a new analytics bucket using Iceberg tables\nAnalytics buckets are optimized for analytical queries and data processing" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with newly created bucket name or error" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await storage.analytics.createBucket('analytics-data')\nif (error) {\n console.error('Failed to create analytics bucket:', error.message)\n} else {\n console.log('Created bucket:', data.name)\n}\n```" + } + ] + } + ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 57, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L57" + } + ], "parameters": [ { - "id": 45, - "name": "id", + "id": 81, + "name": "name", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "A unique identifier for the bucket you are creating." + "summary": [ + { + "kind": "text", + "text": "A unique name for the bucket you are creating" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 82, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 83, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 59, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L59" + } + ], + "type": { + "type": "reference", + "target": 631, + "name": "AnalyticBucket", + "package": "@supabase/storage-js" + } + }, + { + "id": 84, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 60, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L60" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [83, 84] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 58, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L58" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 85, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 86, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 63, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L63" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 87, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 64, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L64" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [86, 87] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 62, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L62" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 103, + "name": "deleteBucket", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 170, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L170" + } + ], + "signatures": [ + { + "id": 104, + "name": "deleteBucket", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes an existing analytics bucket\nA bucket can't be deleted with existing objects inside it\nYou must first empty the bucket before deletion" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with success message or error" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await analyticsApi.deleteBucket('old-analytics-bucket')\nif (error) {\n console.error('Failed to delete bucket:', error.message)\n} else {\n console.log('Bucket deleted successfully:', data.message)\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 170, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L170" + } + ], + "parameters": [ + { + "id": 105, + "name": "bucketId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to delete" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 106, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 107, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 172, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L172" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 108, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 109, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 172, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L172" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [109] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 172, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L172" + } + ] + } + } + }, + { + "id": 110, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 173, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L173" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [107, 110] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 171, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L171" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 111, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 112, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 176, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L176" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 113, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 177, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L177" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [112, 113] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 175, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L175" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 88, + "name": "listBuckets", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 109, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L109" + } + ], + "signatures": [ + { + "id": 89, + "name": "listBuckets", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves the details of all Analytics Storage buckets within an existing project\nOnly returns buckets of type 'ANALYTICS'" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise with list of analytics buckets or error" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await storage.analytics.listBuckets({\n limit: 10,\n offset: 0,\n sortColumn: 'created_at',\n sortOrder: 'desc',\n search: 'analytics'\n})\nif (data) {\n console.log('Found analytics buckets:', data.length)\n data.forEach(bucket => console.log(`- ${bucket.name}`))\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 109, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L109" + } + ], + "parameters": [ + { + "id": 90, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Query parameters for listing buckets" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 91, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 92, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Maximum number of buckets to return" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 110, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L110" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 93, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Number of buckets to skip" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 111, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L111" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 96, + "name": "search", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Search term to filter bucket names" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 114, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L114" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 94, + "name": "sortColumn", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Column to sort by ('id', 'name', 'created_at', 'updated_at')" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 112, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L112" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "created_at" + }, + { + "type": "literal", + "value": "updated_at" + } + ] + } + }, + { + "id": 95, + "name": "sortOrder", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sort order ('asc' or 'desc')" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 113, + "character": 4, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L113" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "asc" + }, + { + "type": "literal", + "value": "desc" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [92, 93, 96, 94, 95] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 109, + "character": 30, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L109" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 97, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 98, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 117, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L117" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 631, + "name": "AnalyticBucket", + "package": "@supabase/storage-js" + } + } + }, + { + "id": 99, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 118, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L118" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [98, 99] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 116, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L116" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 100, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 101, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 121, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L121" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 102, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 122, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L122" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [101, 102] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 120, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L120" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 77, + "name": "throwOnError", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 35, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L35" + } + ], + "signatures": [ + { + "id": 78, + "name": "throwOnError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable throwing errors instead of returning them in the response\nWhen enabled, failed operations will throw instead of returning { data: null, error }" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "This instance for method chaining" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 35, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L35" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [48] + }, + { + "title": "Methods", + "children": [79, 103, 88, 77] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 11, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L11" + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [47] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageAnalyticsApi.ts", + "line": 1, + "character": 0, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageAnalyticsApi.ts#L1" + } + ] + }, + { + "id": 114, + "name": "packages/StorageBucketApi", + "variant": "declaration", + "kind": 2, + "flags": {}, + "children": [ + { + "id": 115, + "name": "default", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 116, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L14" + } + ], + "signatures": [ + { + "id": 117, + "name": "default", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L14" + } + ], + "parameters": [ + { + "id": 118, + "name": "url", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 119, + "name": "headers", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 120, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 16, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L16" + } + ], + "indexSignatures": [ + { + "id": 121, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 16, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L16" + } + ], + "parameters": [ + { + "id": 122, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "defaultValue": "{}" + }, + { + "id": 123, + "name": "fetch", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 124, + "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": 125, + "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": 126, + "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": 127, + "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": 128, + "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": 129, + "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": 130, + "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": 131, + "name": "opts", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 611, + "name": "StorageClientOptions", + "package": "@supabase/storage-js" + } + } + ], + "type": { + "type": "reference", + "target": 115, + "name": "StorageBucketApi", + "package": "@supabase/storage-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 166, + "name": "createBucket", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 120, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L120" + } + ], + "signatures": [ + { + "id": 167, + "name": "createBucket", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new Storage bucket" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "newly created bucket id" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 120, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L120" + } + ], + "parameters": [ + { + "id": 168, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A unique identifier for the bucket you are creating." + } + ] }, "type": { "type": "intrinsic", @@ -41132,47 +164503,186 @@ } }, { - "id": 46, + "id": 169, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 47, + "id": 170, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 48, - "name": "public", + "id": 173, + "name": "allowedMimeTypes", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { - "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private." + "summary": [ + { + "kind": "text", + "text": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png." + } + ] }, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 81, - "character": 15 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 125, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L125" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 172, + "name": "fileSizeLimit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 124, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L124" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 171, + "name": "public", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 123, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L123" } ], "type": { "type": "intrinsic", "name": "boolean" } + }, + { + "id": 174, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "(private-beta) specifies the bucket type. see " + }, + { + "kind": "code", + "text": "`BucketType`" + }, + { + "kind": "text", + "text": " for more details.\n - default bucket type is " + }, + { + "kind": "code", + "text": "`STANDARD`" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 126, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L126" + } + ], + "type": { + "type": "reference", + "target": 614, + "name": "BucketType", + "package": "@supabase/storage-js" + } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [48] + "children": [173, 172, 171, 174] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 122, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L122" } ] } @@ -41182,6 +164692,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -41189,1457 +164703,60 @@ { "type": "reflection", "declaration": { - "id": 49, + "id": 175, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 50, + "id": 176, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 84, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 132, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L132" } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, "typeArguments": [ { "type": "reference", - "id": 349, - "name": "Bucket" + "target": 615, + "name": "Bucket", + "package": "@supabase/storage-js" }, { "type": "literal", "value": "name" } ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 51, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 85, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [50, 51] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 52, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 53, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 88, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 54, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 89, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 385, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [53, 54] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 80, - "name": "deleteBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 185, - "character": 8 - } - ], - "signatures": [ - { - "id": 81, - "name": "deleteBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket." - }, - "parameters": [ - { - "id": 82, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The unique identifier of the bucket you would like to delete.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 83, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 84, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 85, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 86, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [86] - } - ] - } - } - }, - { - "id": 87, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 190, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [84, 87] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 88, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 89, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 193, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 90, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 194, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 385, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [89, 90] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 69, - "name": "emptyBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 150, - "character": 8 - } - ], - "signatures": [ - { - "id": 70, - "name": "emptyBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Removes all objects inside a single bucket." - }, - "parameters": [ - { - "id": 71, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The unique identifier of the bucket you would like to empty.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 72, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 73, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 154, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 74, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 75, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 154, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [75] - } - ] - } - } - }, - { - "id": 76, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 155, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [73, 76] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 77, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 78, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 158, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 79, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 159, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 385, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [78, 79] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 34, - "name": "getBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 48, - "character": 8 - } - ], - "signatures": [ - { - "id": 35, - "name": "getBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves the details of an existing Storage bucket." - }, - "parameters": [ - { - "id": 36, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The unique identifier of the bucket you would like to retrieve.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 37, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 38, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 52, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 349, - "name": "Bucket" - } - }, - { - "id": 39, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 53, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [38, 39] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 40, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 41, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 56, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 42, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 57, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 385, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [41, 42] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 26, - "name": "listBuckets", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 21, - "character": 8 - } - ], - "signatures": [ - { - "id": 27, - "name": "listBuckets", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves the details of all Storage buckets within an existing project." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 28, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 29, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 349, - "name": "Bucket" - } - } - }, - { - "id": 30, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 24, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [29, 30] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 31, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 32, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 27, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 33, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 28, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 385, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [32, 33] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 55, - "name": "updateBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 115, - "character": 8 - } - ], - "signatures": [ - { - "id": 56, - "name": "updateBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Updates a Storage bucket" - }, - "parameters": [ - { - "id": 57, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A unique identifier for the bucket you are updating." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 58, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 59, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 60, - "name": "public", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations.\n" - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 117, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [60] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 61, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 62, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 120, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 63, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 64, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 120, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [64] - } - ] - } - } - }, - { - "id": 65, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 121, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [62, 65] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 66, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 67, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 124, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 68, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 125, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 385, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [67, 68] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [4] - }, - { - "title": "Methods", - "kind": 2048, - "children": [43, 80, 69, 34, 26, 55] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 7, - "character": 21 - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 258, - "name": "StorageClient" - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [3] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 91, - "name": "packages/StorageFileApi", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 92, - "name": "default", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 93, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 27, - "character": 2 - } - ], - "signatures": [ - { - "id": 94, - "name": "new default", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 95, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 96, - "name": "headers", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 97, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 98, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 99, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 100, - "name": "bucketId", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 101, - "name": "fetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 102, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 103, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 104, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 105, - "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", - "id": 92, - "name": "default" - } - } - ] - }, - { - "id": 169, - "name": "copy", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 226, - "character": 8 - } - ], - "signatures": [ - { - "id": 170, - "name": "copy", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Copies an existing file to a new path in the same bucket." - }, - "parameters": [ - { - "id": 171, - "name": "fromPath", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The original file path, including the current file name. For example `folder/image.png`." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 172, - "name": "toPath", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The new file path, including the new file name. For example `folder/image-copy.png`.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 173, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 174, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 231, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 175, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 176, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 231, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [176] - } - ] - } + "name": "Pick", + "package": "typescript" } }, { "id": 177, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 232, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 133, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L133" } ], "type": { @@ -42651,8 +164768,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [174, 177] + "children": [176, 177] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 131, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L131" } ] } @@ -42662,21 +164786,22 @@ "declaration": { "id": 178, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { "id": 179, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 235, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 136, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L136" } ], "type": { @@ -42687,155 +164812,122 @@ { "id": 180, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 236, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 137, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L137" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, "children": [179, 180] } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 135, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L135" + } ] } } ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 181, - "name": "createSignedUrl", + "id": 208, + "name": "deleteBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", "line": 263, - "character": 8 + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L263" } ], "signatures": [ { - "id": 182, - "name": "createSignedUrl", + "id": 209, + "name": "deleteBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Creates a signed URL. Use a signed URL to share a file for a fixed amount of time." + "summary": [ + { + "kind": "text", + "text": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first " + }, + { + "kind": "code", + "text": "`empty()`" + }, + { + "kind": "text", + "text": " the bucket." + } + ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 263, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L263" + } + ], "parameters": [ { - "id": 183, - "name": "path", + "id": 210, + "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The file path, including the current file name. For example `folder/image.png`." + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to delete." + } + ] }, "type": { "type": "intrinsic", "name": "string" } - }, - { - "id": 184, - "name": "expiresIn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 185, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 186, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 187, - "name": "download", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n" - }, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 266, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "boolean" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [187] - } - ] - } - } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -42843,45 +164935,47 @@ { "type": "reflection", "declaration": { - "id": 188, + "id": 211, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 189, + "id": 212, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 269, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 265, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L265" } ], "type": { "type": "reflection", "declaration": { - "id": 190, + "id": 213, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 191, - "name": "signedUrl", + "id": 214, + "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 269, - "character": 16 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 265, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L265" } ], "type": { @@ -42893,24 +164987,32 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [191] + "children": [214] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 265, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L265" } ] } } }, { - "id": 192, + "id": 215, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 270, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 266, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L266" } ], "type": { @@ -42922,8 +165024,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [189, 192] + "children": [212, 215] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 264, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L264" } ] } @@ -42931,23 +165040,24 @@ { "type": "reflection", "declaration": { - "id": 193, + "id": 216, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 194, + "id": 217, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 273, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 269, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L269" } ], "type": { @@ -42956,30 +165066,39 @@ } }, { - "id": 195, + "id": 218, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 274, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 270, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L270" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [194, 195] + "children": [217, 218] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 268, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L268" } ] } @@ -42987,45 +165106,2625 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 196, - "name": "createSignedUrls", + "id": 197, + "name": "emptyBucket", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 307, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 227, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L227" } ], "signatures": [ { - "id": 197, - "name": "createSignedUrls", + "id": 198, + "name": "emptyBucket", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Creates multiple signed URLs. Use a signed URL to share a file for a fixed amount of time." + "summary": [ + { + "kind": "text", + "text": "Removes all objects inside a single bucket." + } + ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 227, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L227" + } + ], "parameters": [ { - "id": 198, - "name": "paths", + "id": 199, + "name": "id", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`." + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to empty." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 200, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 201, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 229, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L229" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 202, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 203, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 229, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L229" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [203] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 229, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L229" + } + ] + } + } + }, + { + "id": 204, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 230, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L230" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [201, 204] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 228, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L228" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 205, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 206, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 233, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L233" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 207, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 234, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L234" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [206, 207] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 232, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L232" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 157, + "name": "getBucket", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 80, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L80" + } + ], + "signatures": [ + { + "id": 158, + "name": "getBucket", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves the details of an existing Storage bucket." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 80, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L80" + } + ], + "parameters": [ + { + "id": 159, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to retrieve." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 160, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 161, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 82, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L82" + } + ], + "type": { + "type": "reference", + "target": 615, + "name": "Bucket", + "package": "@supabase/storage-js" + } + }, + { + "id": 162, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 83, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L83" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [161, 162] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 81, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L81" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 163, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 164, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 86, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L86" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 165, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 87, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L87" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [164, 165] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 85, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L85" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 148, + "name": "listBuckets", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 47, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L47" + } + ], + "signatures": [ + { + "id": 149, + "name": "listBuckets", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves the details of all Storage buckets within an existing project." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 47, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L47" + } + ], + "parameters": [ + { + "id": 150, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 625, + "name": "ListBucketOptions", + "package": "@supabase/storage-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 151, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 152, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 49, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L49" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 615, + "name": "Bucket", + "package": "@supabase/storage-js" + } + } + }, + { + "id": 153, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 50, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L50" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [152, 153] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 48, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L48" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 154, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 155, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 53, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L53" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 156, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 54, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L54" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [155, 156] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 52, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L52" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 146, + "name": "throwOnError", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 39, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L39" + } + ], + "signatures": [ + { + "id": 147, + "name": "throwOnError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable throwing errors instead of returning them." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 39, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L39" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 181, + "name": "updateBucket", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 179, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L179" + } + ], + "signatures": [ + { + "id": 182, + "name": "updateBucket", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updates a Storage bucket" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 179, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L179" + } + ], + "parameters": [ + { + "id": 183, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A unique identifier for the bucket you are updating." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 184, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 185, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 188, + "name": "allowedMimeTypes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 184, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L184" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 187, + "name": "fileSizeLimit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 183, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L183" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 186, + "name": "public", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 182, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L182" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [188, 187, 186] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 181, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L181" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 189, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 190, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 188, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L188" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 191, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 192, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 188, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L188" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [192] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 188, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L188" + } + ] + } + } + }, + { + "id": 193, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 189, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L189" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [190, 193] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 187, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L187" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 194, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 195, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 192, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L192" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 196, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 193, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L193" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [195, 196] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 191, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L191" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [116] + }, + { + "title": "Methods", + "children": [166, 208, 197, 157, 148, 146, 181] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 8, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L8" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 500, + "name": "StorageClient" + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [115] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts", + "line": 1, + "character": 0, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageBucketApi.ts#L1" + } + ] + }, + { + "id": 222, + "name": "packages/StorageFileApi", + "variant": "declaration", + "kind": 2, + "flags": {}, + "children": [ + { + "id": 223, + "name": "default", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 224, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 52, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L52" + } + ], + "signatures": [ + { + "id": 225, + "name": "default", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 52, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L52" + } + ], + "parameters": [ + { + "id": 226, + "name": "url", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 227, + "name": "headers", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 228, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 54, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L54" + } + ], + "indexSignatures": [ + { + "id": 229, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 54, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L54" + } + ], + "parameters": [ + { + "id": 230, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "defaultValue": "{}" + }, + { + "id": 231, + "name": "bucketId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 232, + "name": "fetch", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 233, + "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": 234, + "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": 235, + "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": 236, + "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": 237, + "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": 238, + "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": 239, + "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" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 223, + "name": "StorageFileApi", + "package": "@supabase/storage-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 347, + "name": "copy", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 392, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L392" + } + ], + "signatures": [ + { + "id": 348, + "name": "copy", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Copies an existing file to a new path in the same bucket." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 392, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L392" + } + ], + "parameters": [ + { + "id": 349, + "name": "fromPath", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original file path, including the current file name. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 350, + "name": "toPath", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new file path, including the new file name. For example " + }, + { + "kind": "code", + "text": "`folder/image-copy.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 351, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The destination options." + } + ] + }, + "type": { + "type": "reference", + "target": 671, + "name": "DestinationOptions", + "package": "@supabase/storage-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 352, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 353, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 398, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L398" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 354, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 355, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 398, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L398" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [355] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 398, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L398" + } + ] + } + } + }, + { + "id": 356, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 399, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L399" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [353, 356] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 397, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L397" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 357, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 358, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 402, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L402" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 359, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 403, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L403" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [358, 359] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 401, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L401" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 303, + "name": "createSignedUploadUrl", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 256, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L256" + } + ], + "signatures": [ + { + "id": 304, + "name": "createSignedUploadUrl", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a signed upload URL.\nSigned upload URLs can be used to upload files to the bucket without further authentication.\nThey are valid for 2 hours." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 256, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L256" + } + ], + "parameters": [ + { + "id": 305, + "name": "path", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file path, including the current file name. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 306, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 307, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 308, + "name": "upsert", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set to true, allows the file to be overwritten if it already exists." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 258, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L258" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [308] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 258, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L258" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 309, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 310, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 261, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L261" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 311, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 314, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 261, + "character": 50, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L261" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 312, + "name": "signedUrl", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 261, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L261" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 313, + "name": "token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 261, + "character": 35, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L261" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [314, 312, 313] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 261, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L261" + } + ] + } + } + }, + { + "id": 315, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 262, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L262" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [310, 315] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 260, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L260" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 316, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 317, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 265, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L265" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 318, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 266, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L266" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [317, 318] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 264, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L264" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 360, + "name": "createSignedUrl", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 439, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L439" + } + ], + "signatures": [ + { + "id": 361, + "name": "createSignedUrl", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a signed URL. Use a signed URL to share a file for a fixed amount of time." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 439, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L439" + } + ], + "parameters": [ + { + "id": 362, + "name": "path", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file path, including the current file name. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 363, + "name": "expiresIn", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of seconds until the signed URL expires. For example, " + }, + { + "kind": "code", + "text": "`60`" + }, + { + "kind": "text", + "text": " for a URL which is valid for one minute." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 364, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 365, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 366, + "name": "download", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 442, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L442" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 367, + "name": "transform", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Transform the asset before serving it to the client." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 442, + "character": 45, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L442" + } + ], + "type": { + "type": "reference", + "target": 705, + "name": "TransformOptions", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [366, 367] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 442, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L442" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 368, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 369, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 445, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L445" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 370, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 371, + "name": "signedUrl", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 445, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L445" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [371] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 445, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L445" + } + ] + } + } + }, + { + "id": 372, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 446, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L446" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [369, 372] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 444, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L444" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 373, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 374, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 449, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L449" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 375, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 450, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L450" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [374, 375] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 448, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L448" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 376, + "name": "createSignedUrls", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 487, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L487" + } + ], + "signatures": [ + { + "id": 377, + "name": "createSignedUrls", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates multiple signed URLs. Use a signed URL to share a file for a fixed amount of time." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 487, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L487" + } + ], + "parameters": [ + { + "id": 378, + "name": "paths", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file paths to be downloaded, including the current file names. For example " + }, + { + "kind": "code", + "text": "`['folder/image.png', 'folder2/image2.png']`" + }, + { + "kind": "text", + "text": "." + } + ] }, "type": { "type": "array", @@ -43036,13 +167735,26 @@ } }, { - "id": 199, + "id": 379, "name": "expiresIn", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute." + "summary": [ + { + "kind": "text", + "text": "The number of seconds until the signed URLs expire. For example, " + }, + { + "kind": "code", + "text": "`60`" + }, + { + "kind": "text", + "text": " for URLs which are valid for one minute." + } + ] }, "type": { "type": "intrinsic", @@ -43050,36 +167762,42 @@ } }, { - "id": 200, + "id": 380, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 381, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 382, "name": "download", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "comment": { - "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n" + "summary": [ + { + "kind": "text", + "text": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." + } + ] }, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 310, - "character": 16 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 490, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L490" } ], "type": { @@ -43100,8 +167818,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [202] + "children": [382] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 490, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L490" } ] } @@ -43110,6 +167835,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -43117,23 +167846,24 @@ { "type": "reflection", "declaration": { - "id": 203, + "id": 383, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 204, + "id": 384, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 313, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 493, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L493" } ], "type": { @@ -43141,23 +167871,24 @@ "elementType": { "type": "reflection", "declaration": { - "id": 205, + "id": 385, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 206, + "id": 386, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 313, - "character": 16 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 493, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L493" } ], "type": { @@ -43175,16 +167906,17 @@ } }, { - "id": 207, + "id": 387, "name": "path", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 313, - "character": 38 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 493, + "character": 38, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L493" } ], "type": { @@ -43202,16 +167934,17 @@ } }, { - "id": 208, + "id": 388, "name": "signedUrl", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 313, - "character": 59 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 493, + "character": 59, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L493" } ], "type": { @@ -43223,8 +167956,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [206, 207, 208] + "children": [386, 387, 388] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 493, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L493" } ] } @@ -43232,16 +167972,17 @@ } }, { - "id": 209, + "id": 389, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 314, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 494, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L494" } ], "type": { @@ -43253,8 +167994,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [204, 209] + "children": [384, 389] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 492, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L492" } ] } @@ -43262,23 +168010,24 @@ { "type": "reflection", "declaration": { - "id": 210, + "id": 390, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 211, + "id": 391, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 317, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 497, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L497" } ], "type": { @@ -43287,30 +168036,39 @@ } }, { - "id": 212, + "id": 392, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 318, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 498, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L498" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [211, 212] + "children": [391, 392] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 496, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L496" } ] } @@ -43318,54 +168076,226 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 213, + "id": 393, "name": "download", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 355, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 539, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L539" } ], "signatures": [ { - "id": 214, + "id": 394, "name": "download", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Downloads a file." + "summary": [ + { + "kind": "text", + "text": "Downloads a file from a private bucket. For public buckets, make a request to the URL returned from " + }, + { + "kind": "code", + "text": "`getPublicUrl`" + }, + { + "kind": "text", + "text": " instead." + } + ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 539, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L539" + } + ], + "typeParameters": [ + { + "id": 395, + "name": "Options", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 396, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 397, + "name": "transform", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 539, + "character": 29, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L539" + } + ], + "type": { + "type": "reference", + "target": 705, + "name": "TransformOptions", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [397] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 539, + "character": 27, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L539" + } + ] + } + } + } + ], "parameters": [ { - "id": 215, + "id": 398, "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The full path and file name of the file to be downloaded. For example `folder/image.png`.\n" + "summary": [ + { + "kind": "text", + "text": "The full path and file name of the file to be downloaded. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] }, "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 399, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 395, + "name": "Options", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": 3, + "name": "BlobDownloadBuilder", + "package": "@supabase/storage-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 409, + "name": "exists", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 594, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L594" + } + ], + "signatures": [ + { + "id": 410, + "name": "exists", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Checks the existence of a file." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 594, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L594" + } + ], + "parameters": [ + { + "id": 411, + "name": "path", + "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": "union", @@ -43373,43 +168303,43 @@ { "type": "reflection", "declaration": { - "id": 216, + "id": 412, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 217, + "id": 413, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 359, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 596, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L596" } ], "type": { - "type": "reference", - "qualifiedName": "Blob", - "package": "typescript", - "name": "Blob" + "type": "intrinsic", + "name": "boolean" } }, { - "id": 218, + "id": 414, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 360, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 597, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L597" } ], "type": { @@ -43421,8 +168351,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [217, 218] + "children": [413, 414] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 595, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L595" } ] } @@ -43430,55 +168367,65 @@ { "type": "reflection", "declaration": { - "id": 219, + "id": 415, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 220, + "id": 416, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 363, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 600, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L600" } ], "type": { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "boolean" } }, { - "id": 221, + "id": 417, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 364, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 601, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L601" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [220, 221] + "children": [416, 417] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 599, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L599" } ] } @@ -43486,45 +168433,71 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 222, + "id": 418, "name": "getPublicUrl", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 391, - "character": 2 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 636, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L636" } ], "signatures": [ { - "id": 223, + "id": 419, "name": "getPublicUrl", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Retrieves the URL for an asset in a public bucket.\nThis function does not verify if the bucket is public. If a public URL is created for a bucket which is not public, you will not be able to download the asset." + "summary": [ + { + "kind": "text", + "text": "A simple convenience function to get the URL for an asset in a public bucket. If you do not want to use this function, you can construct the public URL by concatenating the bucket URL with the path to the asset.\nThis function does not verify if the bucket is public. If a public URL is created for a bucket which is not public, you will not be able to download the asset." + } + ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 636, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L636" + } + ], "parameters": [ { - "id": 224, + "id": 420, "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The path and name of the file to generate the public URL for. For example `folder/image.png`." + "summary": [ + { + "kind": "text", + "text": "The path and name of the file to generate the public URL for. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] }, "type": { "type": "intrinsic", @@ -43532,36 +168505,44 @@ } }, { - "id": 225, + "id": 421, "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 422, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 227, + "id": 423, "name": "download", + "variant": "declaration", "kind": 1024, - "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { - "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n" + "summary": [ + { + "kind": "text", + "text": "Triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." + } + ] }, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 393, - "character": 16 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 638, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L638" } ], "type": { @@ -43577,13 +168558,51 @@ } ] } + }, + { + "id": 424, + "name": "transform", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Transform the asset before serving it to the client." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 638, + "character": 45, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L638" + } + ], + "type": { + "type": "reference", + "target": 705, + "name": "TransformOptions", + "package": "@supabase/storage-js" + } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [227] + "children": [423, 424] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 638, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L638" } ] } @@ -43593,45 +168612,47 @@ "type": { "type": "reflection", "declaration": { - "id": 228, + "id": 425, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 229, + "id": 426, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 394, - "character": 7 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 639, + "character": 7, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L639" } ], "type": { "type": "reflection", "declaration": { - "id": 230, + "id": 427, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 231, + "id": 428, "name": "publicUrl", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 394, - "character": 15 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 639, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L639" } ], "type": { @@ -43643,8 +168664,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [231] + "children": [428] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 639, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L639" } ] } @@ -43654,8 +168682,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [229] + "children": [426] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 639, + "character": 5, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L639" } ] } @@ -43664,76 +168699,61 @@ ] }, { - "id": 241, - "name": "list", + "id": 400, + "name": "info", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 506, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 560, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L560" } ], "signatures": [ { - "id": 242, - "name": "list", + "id": 401, + "name": "info", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Lists all the files within a bucket." + "summary": [ + { + "kind": "text", + "text": "Retrieves the details of an existing file." + } + ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 560, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L560" + } + ], "parameters": [ { - "id": 243, + "id": 402, "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The folder path.\n" - }, + "flags": {}, "type": { "type": "intrinsic", "name": "string" } - }, - { - "id": 244, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 373, - "name": "SearchOptions" - } - }, - { - "id": 245, - "name": "parameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 378, - "name": "FetchParameters" - } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -43741,45 +168761,53 @@ { "type": "reflection", "declaration": { - "id": 246, + "id": 403, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 247, + "id": 404, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 512, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 562, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L562" } ], "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 356, - "name": "FileObject" - } + "type": "reference", + "target": 711, + "typeArguments": [ + { + "type": "reference", + "target": 647, + "name": "FileObjectV2", + "package": "@supabase/storage-js" + } + ], + "name": "Camelize", + "package": "@supabase/storage-js" } }, { - "id": 248, + "id": 405, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 513, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 563, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L563" } ], "type": { @@ -43791,8 +168819,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [247, 248] + "children": [404, 405] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 561, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L561" } ] } @@ -43800,23 +168835,24 @@ { "type": "reflection", "declaration": { - "id": 249, + "id": 406, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 250, + "id": 407, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 516, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 566, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L566" } ], "type": { @@ -43825,30 +168861,39 @@ } }, { - "id": 251, + "id": 408, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 517, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 567, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L567" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [250, 251] + "children": [407, 408] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 565, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L565" } ] } @@ -43856,45 +168901,65 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 157, - "name": "move", + "id": 438, + "name": "list", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 190, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 772, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L772" } ], "signatures": [ { - "id": 158, - "name": "move", + "id": 439, + "name": "list", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Moves an existing file to a new path in the same bucket." + "summary": [ + { + "kind": "text", + "text": "Lists all the files and folders within a path of the bucket." + } + ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 772, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L772" + } + ], "parameters": [ { - "id": 159, - "name": "fromPath", + "id": 440, + "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { - "shortText": "The original file path, including the current file name. For example `folder/image.png`." + "summary": [ + { + "kind": "text", + "text": "The folder path." + } + ] }, "type": { "type": "intrinsic", @@ -43902,22 +168967,50 @@ } }, { - "id": 160, - "name": "toPath", + "id": 441, + "name": "options", + "variant": "param", "kind": 32768, - "kindString": "Parameter", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { - "shortText": "The new file path, including the new file name. For example `folder/image-new.png`.\n" + "summary": [ + { + "kind": "text", + "text": "Search options including limit (defaults to 100), offset, sortBy, and search" + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 673, + "name": "SearchOptions", + "package": "@supabase/storage-js" + } + }, + { + "id": 442, + "name": "parameters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 701, + "name": "FetchParameters", + "package": "@supabase/storage-js" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -43925,45 +169018,546 @@ { "type": "reflection", "declaration": { - "id": 161, + "id": 443, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 162, + "id": 444, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 195, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 778, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L778" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 637, + "name": "FileObject", + "package": "@supabase/storage-js" + } + } + }, + { + "id": 445, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 779, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L779" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [444, 445] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 777, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L777" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 446, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 447, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 782, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L782" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 448, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 783, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L783" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [447, 448] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 781, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L781" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 449, + "name": "listV2", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 813, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L813" + } + ], + "signatures": [ + { + "id": 450, + "name": "listV2", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "this method signature might change in the future" + } + ], + "modifierTags": ["@experimental"] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 813, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L813" + } + ], + "parameters": [ + { + "id": 451, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "search options" + } + ] + }, + "type": { + "type": "reference", + "target": 681, + "name": "SearchV2Options", + "package": "@supabase/storage-js" + } + }, + { + "id": 452, + "name": "parameters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 701, + "name": "FetchParameters", + "package": "@supabase/storage-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 453, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 454, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 818, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L818" + } + ], + "type": { + "type": "reference", + "target": 696, + "name": "SearchV2Result", + "package": "@supabase/storage-js" + } + }, + { + "id": 455, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 819, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L819" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [454, 455] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 817, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L817" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 456, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 457, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 822, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L822" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 458, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 823, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L823" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [457, 458] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 821, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L821" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 334, + "name": "move", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 346, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L346" + } + ], + "signatures": [ + { + "id": 335, + "name": "move", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Moves an existing file to a new path in the same bucket." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 346, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L346" + } + ], + "parameters": [ + { + "id": 336, + "name": "fromPath", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original file path, including the current file name. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 337, + "name": "toPath", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new file path, including the new file name. For example " + }, + { + "kind": "code", + "text": "`folder/image-new.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 338, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The destination options." + } + ] + }, + "type": { + "type": "reference", + "target": 671, + "name": "DestinationOptions", + "package": "@supabase/storage-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 339, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 340, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 352, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L352" } ], "type": { "type": "reflection", "declaration": { - "id": 163, + "id": 341, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 164, + "id": 342, "name": "message", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 195, - "character": 16 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 352, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L352" } ], "type": { @@ -43975,24 +169569,32 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [164] + "children": [342] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 352, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L352" } ] } } }, { - "id": 165, + "id": 343, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 196, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 353, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L353" } ], "type": { @@ -44004,8 +169606,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [162, 165] + "children": [340, 343] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 351, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L351" } ] } @@ -44013,23 +169622,24 @@ { "type": "reflection", "declaration": { - "id": 166, + "id": 344, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 167, + "id": 345, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 199, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 356, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L356" } ], "type": { @@ -44038,30 +169648,39 @@ } }, { - "id": 168, + "id": 346, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 200, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 357, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L357" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [167, 168] + "children": [345, 346] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 355, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L355" } ] } @@ -44069,45 +169688,71 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 232, + "id": 429, "name": "remove", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 410, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 674, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L674" } ], "signatures": [ { - "id": 233, + "id": 430, "name": "remove", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Deletes files within the same bucket" + "summary": [ + { + "kind": "text", + "text": "Deletes files within the same bucket" + } + ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 674, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L674" + } + ], "parameters": [ { - "id": 234, + "id": 431, "name": "paths", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "An array of files to delete, including the path and file name. For example [`'folder/image.png'`].\n" + "summary": [ + { + "kind": "text", + "text": "An array of files to delete, including the path and file name. For example [" + }, + { + "kind": "code", + "text": "`'folder/image.png'`" + }, + { + "kind": "text", + "text": "]." + } + ] }, "type": { "type": "array", @@ -44120,6 +169765,10 @@ ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -44127,45 +169776,48 @@ { "type": "reflection", "declaration": { - "id": 235, + "id": 432, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 236, + "id": 433, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 414, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 676, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L676" } ], "type": { "type": "array", "elementType": { "type": "reference", - "id": 356, - "name": "FileObject" + "target": 637, + "name": "FileObject", + "package": "@supabase/storage-js" } } }, { - "id": 237, + "id": 434, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 415, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 677, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L677" } ], "type": { @@ -44177,8 +169829,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [236, 237] + "children": [433, 434] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 675, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L675" } ] } @@ -44186,23 +169845,24 @@ { "type": "reflection", "declaration": { - "id": 238, + "id": 435, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 239, + "id": 436, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 418, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 680, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L680" } ], "type": { @@ -44211,30 +169871,39 @@ } }, { - "id": 240, + "id": 437, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 419, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 681, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L681" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [239, 240] + "children": [436, 437] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 679, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L679" } ] } @@ -44242,45 +169911,166 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 144, + "id": 255, + "name": "throwOnError", + "variant": "declaration", + "kind": 2048, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 67, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L67" + } + ], + "signatures": [ + { + "id": 256, + "name": "throwOnError", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable throwing errors instead of returning them." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 67, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L67" + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + }, + { + "id": 462, + "name": "toBase64", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 852, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L852" + } + ], + "signatures": [ + { + "id": 463, + "name": "toBase64", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 852, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L852" + } + ], + "parameters": [ + { + "id": 464, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 319, "name": "update", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 157, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 312, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L312" } ], "signatures": [ { - "id": 145, + "id": 320, "name": "update", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Replaces an existing file at the specified path with a new one." + "summary": [ + { + "kind": "text", + "text": "Replaces an existing file at the specified path with a new one." + } + ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 312, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L312" + } + ], "parameters": [ { - "id": 146, + "id": 321, "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to update." + "summary": [ + { + "kind": "text", + "text": "The relative file path. Should be of the format " + }, + { + "kind": "code", + "text": "`folder/subfolder/filename.png`" + }, + { + "kind": "text", + "text": ". The bucket must already exist before attempting to update." + } + ] }, "type": { "type": "intrinsic", @@ -44288,13 +170078,18 @@ } }, { - "id": 147, + "id": 322, "name": "fileBody", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The body of the file to be stored in the bucket.\n" + "summary": [ + { + "kind": "text", + "text": "The body of the file to be stored in the bucket." + } + ] }, "type": { "type": "union", @@ -44305,86 +170100,156 @@ }, { "type": "reference", - "qualifiedName": "ArrayBuffer", - "package": "typescript", - "name": "ArrayBuffer" - }, - { - "type": "reference", - "qualifiedName": "ArrayBufferView", - "package": "typescript", - "name": "ArrayBufferView" - }, - { - "type": "reference", - "qualifiedName": "Blob", - "package": "typescript", - "name": "Blob" - }, - { - "type": "reference", - "qualifiedName": "Buffer", - "package": "@types/node", - "name": "Buffer" - }, - { - "type": "reference", - "qualifiedName": "File", - "package": "typescript", - "name": "File" - }, - { - "type": "reference", - "qualifiedName": "FormData", - "package": "typescript", - "name": "FormData" - }, - { - "type": "reference", - "qualifiedName": "NodeJS.ReadableStream", - "package": "@types/node", - "name": "ReadableStream" + "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": "ReadableStream" + }, "typeArguments": [ { "type": "reference", - "qualifiedName": "Uint8Array", - "package": "typescript", - "name": "Uint8Array" + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Uint8Array" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ArrayBufferLike" + }, + "name": "ArrayBufferLike", + "package": "typescript" + } + ], + "name": "Uint8Array", + "package": "typescript" } ], - "qualifiedName": "ReadableStream", - "package": "typescript", - "name": "ReadableStream" + "name": "ReadableStream", + "package": "typescript" }, { "type": "reference", - "qualifiedName": "URLSearchParams", - "package": "typescript", - "name": "URLSearchParams" + "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.dom.d.ts", + "qualifiedName": "File" + }, + "name": "File", + "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/@types/node/globals.d.ts", + "qualifiedName": "__global.NodeJS.ReadableStream" + }, + "name": "ReadableStream", + "package": "@types/node", + "qualifiedName": "__global.NodeJS.ReadableStream" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "URLSearchParams" + }, + "name": "URLSearchParams", + "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/@types/node/buffer.buffer.d.ts", + "qualifiedName": "__global.Buffer" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ArrayBufferLike" + }, + "name": "ArrayBufferLike", + "package": "typescript" + } + ], + "name": "Buffer", + "package": "@types/node", + "qualifiedName": "__global.Buffer" } ] } }, { - "id": 148, + "id": 323, "name": "fileOptions", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", - "id": 369, - "name": "FileOptions" + "target": 664, + "name": "FileOptions", + "package": "@supabase/storage-js" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -44392,45 +170257,85 @@ { "type": "reflection", "declaration": { - "id": 149, + "id": 324, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 150, + "id": 325, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 173, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 328, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L328" } ], "type": { "type": "reflection", "declaration": { - "id": 151, + "id": 326, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 152, - "name": "path", + "id": 329, + "name": "fullPath", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 173, - "character": 16 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 328, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L328" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 327, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 328, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L328" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 328, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 328, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L328" } ], "type": { @@ -44442,24 +170347,32 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [152] + "children": [329, 327, 328] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 328, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L328" } ] } } }, { - "id": 153, + "id": 330, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 174, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 329, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L329" } ], "type": { @@ -44471,8 +170384,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [150, 153] + "children": [325, 330] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 327, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L327" } ] } @@ -44480,23 +170400,24 @@ { "type": "reflection", "declaration": { - "id": 154, + "id": 331, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 155, + "id": 332, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 177, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 332, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L332" } ], "type": { @@ -44505,30 +170426,39 @@ } }, { - "id": 156, + "id": 333, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 178, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 333, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L333" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [155, 156] + "children": [332, 333] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 331, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L331" } ] } @@ -44536,45 +170466,71 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" } } ] }, { - "id": 131, + "id": 273, "name": "upload", + "variant": "declaration", "kind": 2048, - "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 124, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 175, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L175" } ], "signatures": [ { - "id": 132, + "id": 274, "name": "upload", + "variant": "signature", "kind": 4096, - "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Uploads a file to an existing bucket." + "summary": [ + { + "kind": "text", + "text": "Uploads a file to an existing bucket." + } + ] }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 175, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L175" + } + ], "parameters": [ { - "id": 133, + "id": 275, "name": "path", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload." + "summary": [ + { + "kind": "text", + "text": "The file path, including the file name. Should be of the format " + }, + { + "kind": "code", + "text": "`folder/subfolder/filename.png`" + }, + { + "kind": "text", + "text": ". The bucket must already exist before attempting to upload." + } + ] }, "type": { "type": "intrinsic", @@ -44582,103 +170538,51 @@ } }, { - "id": 134, + "id": 276, "name": "fileBody", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The body of the file to be stored in the bucket.\n" - }, - "type": { - "type": "union", - "types": [ + "summary": [ { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "qualifiedName": "ArrayBuffer", - "package": "typescript", - "name": "ArrayBuffer" - }, - { - "type": "reference", - "qualifiedName": "ArrayBufferView", - "package": "typescript", - "name": "ArrayBufferView" - }, - { - "type": "reference", - "qualifiedName": "Blob", - "package": "typescript", - "name": "Blob" - }, - { - "type": "reference", - "qualifiedName": "Buffer", - "package": "@types/node", - "name": "Buffer" - }, - { - "type": "reference", - "qualifiedName": "File", - "package": "typescript", - "name": "File" - }, - { - "type": "reference", - "qualifiedName": "FormData", - "package": "typescript", - "name": "FormData" - }, - { - "type": "reference", - "qualifiedName": "NodeJS.ReadableStream", - "package": "@types/node", - "name": "ReadableStream" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Uint8Array", - "package": "typescript", - "name": "Uint8Array" - } - ], - "qualifiedName": "ReadableStream", - "package": "typescript", - "name": "ReadableStream" - }, - { - "type": "reference", - "qualifiedName": "URLSearchParams", - "package": "typescript", - "name": "URLSearchParams" + "kind": "text", + "text": "The body of the file to be stored in the bucket." } ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/packages/StorageFileApi.ts", + "qualifiedName": "FileBody" + }, + "name": "FileBody", + "package": "@supabase/storage-js" } }, { - "id": 135, + "id": 277, "name": "fileOptions", + "variant": "param", "kind": 32768, - "kindString": "Parameter", "flags": { "isOptional": true }, "type": { "type": "reference", - "id": 369, - "name": "FileOptions" + "target": 664, + "name": "FileOptions", + "package": "@supabase/storage-js" } } ], "type": { "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "union", @@ -44686,45 +170590,85 @@ { "type": "reflection", "declaration": { - "id": 136, + "id": 278, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 137, + "id": 279, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 140, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 181, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L181" } ], "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 280, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 139, - "name": "path", + "id": 283, + "name": "fullPath", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 140, - "character": 16 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 181, + "character": 42, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L181" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 281, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 181, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L181" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 282, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 181, + "character": 28, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L181" } ], "type": { @@ -44736,24 +170680,32 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [139] + "children": [283, 281, 282] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 181, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L181" } ] } } }, { - "id": 140, + "id": 284, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 141, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 182, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L182" } ], "type": { @@ -44765,8 +170717,15 @@ "groups": [ { "title": "Properties", - "kind": 1024, - "children": [137, 140] + "children": [279, 284] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 180, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L180" } ] } @@ -44774,23 +170733,24 @@ { "type": "reflection", "declaration": { - "id": 141, + "id": 285, "name": "__type", + "variant": "declaration", "kind": 65536, - "kindString": "Type literal", "flags": {}, "children": [ { - "id": 142, + "id": 286, "name": "data", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 144, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 185, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L185" } ], "type": { @@ -44799,30 +170759,39 @@ } }, { - "id": 143, + "id": 287, "name": "error", + "variant": "declaration", "kind": 1024, - "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 145, - "character": 8 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 186, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L186" } ], "type": { "type": "reference", - "id": 385, - "name": "StorageError" + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" } } ], "groups": [ { "title": "Properties", - "kind": 1024, - "children": [142, 143] + "children": [286, 287] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 184, + "character": 6, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L184" } ] } @@ -44830,9 +170799,358 @@ ] } ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 288, + "name": "uploadToSignedUrl", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 198, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L198" + } + ], + "signatures": [ + { + "id": 289, + "name": "uploadToSignedUrl", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Upload a file with a token generated from " + }, + { + "kind": "code", + "text": "`createSignedUploadUrl`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 198, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L198" + } + ], + "parameters": [ + { + "id": 290, + "name": "path", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file path, including the file name. Should be of the format " + }, + { + "kind": "code", + "text": "`folder/subfolder/filename.png`" + }, + { + "kind": "text", + "text": ". The bucket must already exist before attempting to upload." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 291, + "name": "token", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The token generated from " + }, + { + "kind": "code", + "text": "`createSignedUploadUrl`" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 292, + "name": "fileBody", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The body of the file to be stored in the bucket." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/packages/StorageFileApi.ts", + "qualifiedName": "FileBody" + }, + "name": "FileBody", + "package": "@supabase/storage-js" + } + }, + { + "id": 293, + "name": "fileOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 664, + "name": "FileOptions", + "package": "@supabase/storage-js" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 294, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 295, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 234, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L234" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 296, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 298, + "name": "fullPath", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 234, + "character": 33, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L234" + } + ], + "type": { + "type": "intrinsic", + "name": "any" + }, + "defaultValue": "data.Key" + }, + { + "id": 297, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 234, + "character": 16, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L234" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "cleanPath" + } + ], + "groups": [ + { + "title": "Properties", + "children": [298, 297] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 234, + "character": 14, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L234" + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 299, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 235, + "character": 8, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L235" + } + ], + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + } + ], + "groups": [ + { + "title": "Properties", + "children": [295, 299] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 233, + "character": 13, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L233" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 300, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 301, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 242, + "character": 17, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L242" + } + ], + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + }, + { + "id": 302, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 242, + "character": 29, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L242" + } + ], + "type": { + "type": "reference", + "target": 724, + "name": "StorageError", + "package": "@supabase/storage-js" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [301, 302] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 242, + "character": 15, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L242" + } + ] + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" } } ] @@ -44841,20 +171159,22 @@ "groups": [ { "title": "Constructors", - "kind": 512, - "children": [93] + "children": [224] }, { "title": "Methods", - "kind": 2048, - "children": [169, 181, 196, 213, 222, 241, 157, 232, 144, 131] + "children": [ + 347, 303, 360, 376, 393, 409, 418, 400, 438, 449, 334, 429, 255, 462, 319, 273, + 288 + ] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", - "line": 21, - "character": 21 + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", + "line": 45, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L45" } ] } @@ -44862,15 +171182,572 @@ "groups": [ { "title": "Classes", - "kind": 128, - "children": [92] + "children": [223] } ], "sources": [ { - "fileName": "src/packages/StorageFileApi.ts", + "fileName": "packages/core/storage-js/src/packages/StorageFileApi.ts", "line": 1, - "character": 0 + "character": 0, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StorageFileApi.ts#L1" + } + ] + }, + { + "id": 474, + "name": "packages/StreamDownloadBuilder", + "variant": "declaration", + "kind": 2, + "flags": {}, + "children": [ + { + "id": 475, + "name": "default", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 476, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 5, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L5" + } + ], + "signatures": [ + { + "id": 477, + "name": "default", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 5, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L5" + } + ], + "parameters": [ + { + "id": 478, + "name": "downloadFn", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 479, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 6, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L6" + } + ], + "signatures": [ + { + "id": 480, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 6, + "character": 24, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L6" + } + ], + "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": 481, + "name": "shouldThrowOnError", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "type": { + "type": "reference", + "target": 475, + "name": "StreamDownloadBuilder", + "package": "@supabase/storage-js", + "qualifiedName": "default" + } + } + ] + }, + { + "id": 486, + "name": "then", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 10, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L10" + } + ], + "signatures": [ + { + "id": 487, + "name": "then", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Attaches callbacks for the resolution and/or rejection of the Promise." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Promise for the completion of which ever callback is executed." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 10, + "character": 2, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L10" + } + ], + "typeParameters": [ + { + "id": 488, + "name": "TResult1", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "reference", + "target": 713, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "ReadableStream" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "ReadableStream", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } + }, + { + "id": 489, + "name": "TResult2", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 490, + "name": "onfulfilled", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is resolved." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 491, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 12, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L12" + } + ], + "signatures": [ + { + "id": 492, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 12, + "character": 9, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L12" + } + ], + "parameters": [ + { + "id": 493, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 713, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "ReadableStream" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "ReadableStream", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 488, + "name": "TResult1", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 488, + "name": "TResult1", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 494, + "name": "onrejected", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The callback to execute when the Promise is rejected." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 495, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 14, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L14" + } + ], + "signatures": [ + { + "id": 496, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 14, + "character": 18, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L14" + } + ], + "parameters": [ + { + "id": 497, + "name": "reason", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 489, + "name": "TResult2", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 489, + "name": "TResult2", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 488, + "name": "TResult1", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 489, + "name": "TResult2", + "package": "@supabase/storage-js", + "refersToTypeParameter": true + } + ] + } + ], + "name": "Promise", + "package": "typescript" + }, + "implementationOf": { + "type": "reference", + "target": -1, + "name": "PromiseLike.then" + } + } + ], + "implementationOf": { + "type": "reference", + "target": -1, + "name": "PromiseLike.then" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [476] + }, + { + "title": "Methods", + "children": [486] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 4, + "character": 21, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L4" + } + ], + "implementedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "PromiseLike" + }, + "typeArguments": [ + { + "type": "reference", + "target": 713, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "ReadableStream" + }, + "name": "ReadableStream", + "package": "typescript" + } + ], + "name": "DownloadResult", + "package": "@supabase/storage-js" + } + ], + "name": "PromiseLike", + "package": "typescript" + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [475] + } + ], + "sources": [ + { + "fileName": "packages/core/storage-js/src/packages/StreamDownloadBuilder.ts", + "line": 1, + "character": 0, + "url": "https://github.com/supabase/supabase-js/blob/137105708a9ae09c88e800091eb35e6a811b105c/packages/core/storage-js/src/packages/StreamDownloadBuilder.ts#L1" } ] } @@ -44878,52 +171755,5612 @@ "groups": [ { "title": "Modules", - "kind": 2, - "children": [1, 2, 91] + "children": [1, 2, 46, 114, 222, 474] } - ] + ], + "packageName": "@supabase/storage-js", + "readme": [ + { + "kind": "text", + "text": "
\n

\n \n \n \n \n \"Supabase\n \n \n\n

Supabase Storage JS SDK

\n\n

JavaScript SDK to interact with Supabase Storage, including file storage and vector embeddings.

\n\n

\n Guides\n ·\n Reference Docs\n ·\n TypeDoc\n

\n

\n\n
\n\n[![Build](https://github.com/supabase/supabase-js/workflows/CI/badge.svg)](https://github.com/supabase/supabase-js/actions?query=branch%3Amaster)\n[![Package](https://img.shields.io/npm/v/@supabase/storage-js)](https://www.npmjs.com/package/@supabase/storage-js)\n[![License: MIT](https://img.shields.io/npm/l/@supabase/supabase-js)](#license)\n[![pkg.pr.new](https://pkg.pr.new/badge/supabase/storage-js)](https://pkg.pr.new/~/supabase/storage-js)\n\n
\n\n## Requirements\n\n- **Node.js 20 or later** (Node.js 18 support dropped as of October 31, 2025)\n- For browser support, all modern browsers are supported\n\n> ⚠️ **Node.js 18 Deprecation Notice**\n>\n> Node.js 18 reached end-of-life on April 30, 2025. As announced in [our deprecation notice](https://github.com/orgs/supabase/discussions/37217), support for Node.js 18 was dropped on October 31, 2025.\n\n## Features\n\n- **File Storage**: Upload, download, list, move, and delete files\n- **Access Control**: Public and private buckets with fine-grained permissions\n- **Signed URLs**: Generate time-limited URLs for secure file access\n- **Image Transformations**: On-the-fly image resizing and optimization\n- **Vector Embeddings**: Store and query high-dimensional embeddings with similarity search\n- **Analytics Buckets**: Iceberg table-based buckets optimized for analytical queries and data processing\n\n## Quick Start Guide\n\n### Installing the module\n\n" + }, + { + "kind": "code", + "text": "```bash\nnpm install @supabase/storage-js\n```" + }, + { + "kind": "text", + "text": "\n\n### Connecting to the storage backend\n\nThere are two ways to use the Storage SDK:\n\n#### Option 1: Via Supabase Client (Recommended)\n\nIf you're already using " + }, + { + "kind": "code", + "text": "`@supabase/supabase-js`" + }, + { + "kind": "text", + "text": ", access storage through the client:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { createClient } from '@supabase/supabase-js'\n\nconst supabase = createClient('https://.supabase.co', '')\n\n// Access storage\nconst storage = supabase.storage\n\n// Access different bucket types\nconst regularBucket = storage.from('my-bucket')\nconst vectorBucket = storage.vectors.from('embeddings-bucket')\nconst analyticsBucket = storage.analytics // Analytics API\n```" + }, + { + "kind": "text", + "text": "\n\n#### Option 2: Standalone StorageClient\n\nFor applications that only need storage functionality:\n\n" + }, + { + "kind": "code", + "text": "```js\nimport { StorageClient } from '@supabase/storage-js'\n\nconst STORAGE_URL = 'https://.supabase.co/storage/v1'\nconst SERVICE_KEY = '' //! service key, not anon key\n\nconst storageClient = new StorageClient(STORAGE_URL, {\n apikey: SERVICE_KEY,\n Authorization: `Bearer ${SERVICE_KEY}`,\n})\n\n// Access different bucket types\nconst regularBucket = storageClient.from('my-bucket')\nconst vectorBucket = storageClient.vectors.from('embeddings-bucket')\nconst analyticsBucket = storageClient.analytics // Analytics API\n```" + }, + { + "kind": "text", + "text": "\n\n> **When to use each approach:**\n>\n> - Use " + }, + { + "kind": "code", + "text": "`supabase.storage`" + }, + { + "kind": "text", + "text": " when working with other Supabase features (auth, database, etc.)\n> - Use " + }, + { + "kind": "code", + "text": "`new StorageClient()`" + }, + { + "kind": "text", + "text": " for storage-only applications or when you need fine-grained control\n\n### Understanding Bucket Types\n\nSupabase Storage supports three types of buckets, each optimized for different use cases:\n\n#### 1. Regular Storage Buckets (File Storage)\n\nStandard buckets for storing files, images, videos, and other assets.\n\n" + }, + { + "kind": "code", + "text": "```js\n// Create regular storage bucket\nconst { data, error } = await storageClient.createBucket('my-files', {\n public: false,\n})\n\n// Upload files\nawait storageClient.from('my-files').upload('avatar.png', file)\n```" + }, + { + "kind": "text", + "text": "\n\n**Use cases:** User uploads, media assets, documents, backups\n\n#### 2. Vector Buckets (Embeddings Storage)\n\nSpecialized buckets for storing and querying high-dimensional vector embeddings.\n\n" + }, + { + "kind": "code", + "text": "```js\n// Create vector bucket\nawait storageClient.vectors.createBucket('embeddings-prod')\n\n// Create index and insert vectors\nconst bucket = storageClient.vectors.from('embeddings-prod')\nawait bucket.createIndex({\n indexName: 'documents',\n dimension: 1536,\n distanceMetric: 'cosine',\n})\n```" + }, + { + "kind": "text", + "text": "\n\n**Use cases:** Semantic search, AI-powered recommendations, similarity matching\n\n**[See full Vector Embeddings documentation below](#vector-embeddings)**\n\n#### 3. Analytics Buckets\n\nSpecialized buckets using Apache Iceberg table format, optimized for analytical queries and large-scale data processing.\n\n" + }, + { + "kind": "code", + "text": "```js\n// Create analytics bucket\nawait storageClient.analytics.createBucket('analytics-data')\n\n// List analytics buckets\nconst { data, error } = await storageClient.analytics.listBuckets()\n\n// Delete analytics bucket\nawait storageClient.analytics.deleteBucket('analytics-data')\n```" + }, + { + "kind": "text", + "text": "\n\n**Use cases:** Time-series data, analytical queries, data lakes, large-scale data processing, business intelligence\n\n**[See full Analytics Buckets documentation below](#analytics-buckets)**\n\n---\n\n### Handling resources\n\n#### Handling Storage Buckets\n\n- Create a new Storage bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.createBucket(\n 'test_bucket', // Bucket name (must be unique)\n { public: false } // Bucket options\n )\n ```" + }, + { + "kind": "text", + "text": "\n\n- Retrieve the details of an existing Storage bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.getBucket('test_bucket')\n ```" + }, + { + "kind": "text", + "text": "\n\n- Update a new Storage bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.updateBucket(\n 'test_bucket', // Bucket name\n { public: false } // Bucket options\n )\n ```" + }, + { + "kind": "text", + "text": "\n\n- Remove all objects inside a single bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.emptyBucket('test_bucket')\n ```" + }, + { + "kind": "text", + "text": "\n\n- Delete an existing bucket (a bucket can't be deleted with existing objects inside it):\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.deleteBucket('test_bucket')\n ```" + }, + { + "kind": "text", + "text": "\n\n- Retrieve the details of all Storage buckets within an existing project:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.listBuckets()\n ```" + }, + { + "kind": "text", + "text": "\n\n#### Handling Files\n\n- Upload a file to an existing bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const fileBody = ... // load your file here\n\n const { data, error } = await storageClient.from('bucket').upload('path/to/file', fileBody)\n ```" + }, + { + "kind": "text", + "text": "\n\n > Note: \n > The path in " + }, + { + "kind": "code", + "text": "`data.Key`" + }, + { + "kind": "text", + "text": " is prefixed by the bucket ID and is not the value which should be passed to the " + }, + { + "kind": "code", + "text": "`download`" + }, + { + "kind": "text", + "text": " method in order to fetch the file. \n > To fetch the file via the " + }, + { + "kind": "code", + "text": "`download`" + }, + { + "kind": "text", + "text": " method, use " + }, + { + "kind": "code", + "text": "`data.path`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`data.bucketId`" + }, + { + "kind": "text", + "text": " as follows:\n >\n > " + }, + { + "kind": "code", + "text": "```javascript\n > const { data, error } = await storageClient.from('bucket').upload('/folder/file.txt', fileBody)\n > // check for errors\n > const { data2, error2 } = await storageClient.from(data.bucketId).download(data.path)\n > ```" + }, + { + "kind": "text", + "text": "\n\n > Note: The " + }, + { + "kind": "code", + "text": "`upload`" + }, + { + "kind": "text", + "text": " method also accepts a map of optional parameters. For a complete list see the [Supabase API reference](https://supabase.com/docs/reference/javascript/storage-from-upload).\n\n- Download a file from an exisiting bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.from('bucket').download('path/to/file')\n ```" + }, + { + "kind": "text", + "text": "\n\n- List all the files within a bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.from('bucket').list('folder')\n ```" + }, + { + "kind": "text", + "text": "\n\n > Note: The " + }, + { + "kind": "code", + "text": "`list`" + }, + { + "kind": "text", + "text": " method also accepts a map of optional parameters. For a complete list see the [Supabase API reference](https://supabase.com/docs/reference/javascript/storage-from-list).\n\n- Replace an existing file at the specified path with a new one:\n\n " + }, + { + "kind": "code", + "text": "```js\n const fileBody = ... // load your file here\n\n const { data, error } = await storageClient\n .from('bucket')\n .update('path/to/file', fileBody)\n ```" + }, + { + "kind": "text", + "text": "\n\n > Note: The " + }, + { + "kind": "code", + "text": "`upload`" + }, + { + "kind": "text", + "text": " method also accepts a map of optional parameters. For a complete list see the [Supabase API reference](https://supabase.com/docs/reference/javascript/storage-from-upload).\n\n- Move an existing file:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient\n .from('bucket')\n .move('old/path/to/file', 'new/path/to/file')\n ```" + }, + { + "kind": "text", + "text": "\n\n- Delete files within the same bucket:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.from('bucket').remove(['path/to/file'])\n ```" + }, + { + "kind": "text", + "text": "\n\n- Create signed URL to download file without requiring permissions:\n\n " + }, + { + "kind": "code", + "text": "```js\n const expireIn = 60\n\n const { data, error } = await storageClient\n .from('bucket')\n .createSignedUrl('path/to/file', expireIn)\n ```" + }, + { + "kind": "text", + "text": "\n\n- Retrieve URLs for assets in public buckets:\n\n " + }, + { + "kind": "code", + "text": "```js\n const { data, error } = await storageClient.from('public-bucket').getPublicUrl('path/to/file')\n ```" + }, + { + "kind": "text", + "text": "\n\n## Analytics Buckets\n\nSupabase Storage provides specialized analytics buckets using Apache Iceberg table format, optimized for analytical workloads and large-scale data processing. These buckets are designed for data lake architectures, time-series data, and business intelligence applications.\n\n### What are Analytics Buckets?\n\nAnalytics buckets use the Apache Iceberg open table format, providing:\n\n- **ACID transactions** for data consistency\n- **Schema evolution** without data rewrites\n- **Time travel** to query historical data\n- **Efficient metadata management** for large datasets\n- **Optimized for analytical queries** rather than individual file operations\n\n### When to Use Analytics Buckets\n\n**Use analytics buckets for:**\n\n- Time-series data (logs, metrics, events)\n- Data lake architectures\n- Business intelligence and reporting\n- Large-scale batch processing\n- Analytical workloads requiring ACID guarantees\n\n**Use regular storage buckets for:**\n\n- User file uploads (images, documents, videos)\n- Individual file management\n- Content delivery\n- Simple object storage needs\n\n### Quick Start\n\nYou can access analytics functionality through the " + }, + { + "kind": "code", + "text": "`analytics`" + }, + { + "kind": "text", + "text": " property on your storage client:\n\n#### Via Supabase Client\n\n" + }, + { + "kind": "code", + "text": "```typescript\nimport { createClient } from '@supabase/supabase-js'\n\nconst supabase = createClient('https://your-project.supabase.co', 'your-anon-key')\n\n// Access analytics operations\nconst analytics = supabase.storage.analytics\n\n// Create an analytics bucket\nconst { data, error } = await analytics.createBucket('analytics-data')\nif (error) {\n console.error('Failed to create analytics bucket:', error.message)\n} else {\n console.log('Created bucket:', data.name)\n}\n```" + }, + { + "kind": "text", + "text": "\n\n#### Via StorageClient\n\n" + }, + { + "kind": "code", + "text": "```typescript\nimport { StorageClient } from '@supabase/storage-js'\n\nconst storageClient = new StorageClient('https://your-project.supabase.co/storage/v1', {\n apikey: 'YOUR_API_KEY',\n Authorization: 'Bearer YOUR_TOKEN',\n})\n\n// Access analytics operations\nconst analytics = storageClient.analytics\n\n// Create an analytics bucket\nawait analytics.createBucket('analytics-data')\n```" + }, + { + "kind": "text", + "text": "\n\n### API Reference\n\n#### Create Analytics Bucket\n\nCreates a new analytics bucket using Iceberg table format:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await analytics.createBucket('my-analytics-bucket')\n\nif (error) {\n console.error('Error:', error.message)\n} else {\n console.log('Created bucket:', data)\n}\n```" + }, + { + "kind": "text", + "text": "\n\n**Returns:**\n\n" + }, + { + "kind": "code", + "text": "```typescript\n{\n data: {\n id: string\n type: 'ANALYTICS'\n format: string\n created_at: string\n updated_at: string\n } | null\n error: StorageError | null\n}\n```" + }, + { + "kind": "text", + "text": "\n\n#### List Analytics Buckets\n\nRetrieves all analytics buckets in your project with optional filtering and pagination:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await analytics.listBuckets({\n limit: 10,\n offset: 0,\n sortColumn: 'created_at',\n sortOrder: 'desc',\n search: 'prod',\n})\n\nif (data) {\n console.log(`Found ${data.length} analytics buckets`)\n data.forEach((bucket) => {\n console.log(`- ${bucket.id} (created: ${bucket.created_at})`)\n })\n}\n```" + }, + { + "kind": "text", + "text": "\n\n**Parameters:**\n\n- " + }, + { + "kind": "code", + "text": "`limit?: number`" + }, + { + "kind": "text", + "text": " - Maximum number of buckets to return\n- " + }, + { + "kind": "code", + "text": "`offset?: number`" + }, + { + "kind": "text", + "text": " - Number of buckets to skip (for pagination)\n- " + }, + { + "kind": "code", + "text": "`sortColumn?: 'id' | 'name' | 'created_at' | 'updated_at'`" + }, + { + "kind": "text", + "text": " - Column to sort by\n- " + }, + { + "kind": "code", + "text": "`sortOrder?: 'asc' | 'desc'`" + }, + { + "kind": "text", + "text": " - Sort direction\n- " + }, + { + "kind": "code", + "text": "`search?: string`" + }, + { + "kind": "text", + "text": " - Search term to filter bucket names\n\n**Returns:**\n\n" + }, + { + "kind": "code", + "text": "```typescript\n{\n data: AnalyticBucket[] | null\n error: StorageError | null\n}\n```" + }, + { + "kind": "text", + "text": "\n\n**Example with Pagination:**\n\n" + }, + { + "kind": "code", + "text": "```typescript\n// Fetch first page\nconst firstPage = await analytics.listBuckets({\n limit: 100,\n offset: 0,\n sortColumn: 'created_at',\n sortOrder: 'desc',\n})\n\n// Fetch second page\nconst secondPage = await analytics.listBuckets({\n limit: 100,\n offset: 100,\n sortColumn: 'created_at',\n sortOrder: 'desc',\n})\n```" + }, + { + "kind": "text", + "text": "\n\n#### Delete Analytics Bucket\n\nDeletes an analytics bucket. The bucket must be empty before deletion.\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await analytics.deleteBucket('old-analytics-bucket')\n\nif (error) {\n console.error('Failed to delete:', error.message)\n} else {\n console.log('Bucket deleted:', data.message)\n}\n```" + }, + { + "kind": "text", + "text": "\n\n**Returns:**\n\n" + }, + { + "kind": "code", + "text": "```typescript\n{\n data: { message: string } | null\n error: StorageError | null\n}\n```" + }, + { + "kind": "text", + "text": "\n\n> **Note:** A bucket cannot be deleted if it contains data. You must empty the bucket first.\n\n### Error Handling\n\nAnalytics buckets use the same error handling pattern as the rest of the Storage SDK:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await analytics.createBucket('my-bucket')\n\nif (error) {\n console.error('Error:', error.message)\n console.error('Status:', error.status)\n console.error('Status Code:', error.statusCode)\n // Handle error appropriately\n}\n```" + }, + { + "kind": "text", + "text": "\n\n#### Throwing Errors\n\nYou can configure the client to throw errors instead of returning them:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst analytics = storageClient.analytics\nanalytics.throwOnError()\n\ntry {\n const { data } = await analytics.createBucket('my-bucket')\n // data is guaranteed to be present\n console.log('Success:', data)\n} catch (error) {\n if (error instanceof StorageApiError) {\n console.error('API Error:', error.statusCode, error.message)\n }\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### TypeScript Types\n\nThe library exports TypeScript types for analytics buckets:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nimport type { AnalyticBucket, BucketType, StorageError } from '@supabase/storage-js'\n\n// AnalyticBucket type\ninterface AnalyticBucket {\n id: string\n type: 'ANALYTICS'\n format: string\n created_at: string\n updated_at: string\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### Common Patterns\n\n#### Checking if a Bucket Exists\n\n" + }, + { + "kind": "code", + "text": "```typescript\nasync function bucketExists(bucketName: string): Promise {\n const { data, error } = await analytics.listBuckets({\n search: bucketName,\n })\n\n if (error) {\n console.error('Error checking bucket:', error.message)\n return false\n }\n\n return data?.some((bucket) => bucket.id === bucketName) ?? false\n}\n```" + }, + { + "kind": "text", + "text": "\n\n#### Creating Bucket with Error Handling\n\n" + }, + { + "kind": "code", + "text": "```typescript\nasync function ensureAnalyticsBucket(bucketName: string) {\n // Try to create the bucket\n const { data, error } = await analytics.createBucket(bucketName)\n\n if (error) {\n // Check if bucket already exists (conflict error)\n if (error.statusCode === '409') {\n console.log(`Bucket '${bucketName}' already exists`)\n return { success: true, created: false }\n }\n\n // Other error occurred\n console.error('Failed to create bucket:', error.message)\n return { success: false, error }\n }\n\n console.log(`Created new bucket: '${bucketName}'`)\n return { success: true, created: true, data }\n}\n```" + }, + { + "kind": "text", + "text": "\n\n#### Listing All Buckets with Pagination\n\n" + }, + { + "kind": "code", + "text": "```typescript\nasync function getAllAnalyticsBuckets() {\n const allBuckets: AnalyticBucket[] = []\n let offset = 0\n const limit = 100\n\n while (true) {\n const { data, error } = await analytics.listBuckets({\n limit,\n offset,\n sortColumn: 'created_at',\n sortOrder: 'desc',\n })\n\n if (error) {\n console.error('Error fetching buckets:', error.message)\n break\n }\n\n if (!data || data.length === 0) {\n break\n }\n\n allBuckets.push(...data)\n\n // If we got fewer results than the limit, we've reached the end\n if (data.length < limit) {\n break\n }\n\n offset += limit\n }\n\n return allBuckets\n}\n```" + }, + { + "kind": "text", + "text": "\n\n## Vector Embeddings\n\nSupabase Storage provides built-in support for storing and querying high-dimensional vector embeddings, powered by S3 Vectors. This enables semantic search, similarity matching, and AI-powered applications without needing a separate vector database.\n\n> **Note:** Vector embeddings functionality is available in " + }, + { + "kind": "code", + "text": "`@supabase/storage-js`" + }, + { + "kind": "text", + "text": " v2.76 and later.\n\n### Features\n\n- **Vector Buckets**: Organize vector indexes into logical containers\n- **Vector Indexes**: Define schemas with configurable dimensions and distance metrics\n- **Batch Operations**: Insert/update/delete up to 500 vectors per request\n- **Similarity Search**: Query for nearest neighbors using cosine, euclidean, or dot product distance\n- **Metadata Filtering**: Store and filter vectors by arbitrary JSON metadata\n- **Pagination**: Efficiently scan large vector datasets\n- **Parallel Scanning**: Distribute scans across multiple workers for high throughput\n- **Cross-platform**: Works in Node.js, browsers, and edge runtimes\n\n### Quick Start\n\nYou can access vector functionality in three ways, depending on your use case:\n\n#### Option 1: Via Supabase Client (Most Common)\n\nIf you're using the full Supabase client:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nimport { createClient } from '@supabase/supabase-js'\n\nconst supabase = createClient('https://your-project.supabase.co', 'your-anon-key')\n\n// Access vector operations through storage\nconst vectors = supabase.storage.vectors\n\n// Create a vector bucket\nawait vectors.createBucket('embeddings-prod')\n\n// Create an index\nconst bucket = vectors.from('embeddings-prod')\nawait bucket.createIndex({\n indexName: 'documents-openai',\n dataType: 'float32',\n dimension: 1536,\n distanceMetric: 'cosine',\n})\n\n// Insert vectors\nconst index = bucket.index('documents-openai')\nawait index.putVectors({\n vectors: [\n {\n key: 'doc-1',\n data: { float32: [0.1, 0.2, 0.3 /* ...1536 dimensions */] },\n metadata: { title: 'Introduction', category: 'docs' },\n },\n ],\n})\n\n// Query similar vectors\nconst { data, error } = await index.queryVectors({\n queryVector: { float32: [0.15, 0.25, 0.35 /* ...1536 dimensions */] },\n topK: 5,\n returnDistance: true,\n returnMetadata: true,\n})\n\nif (data) {\n data.matches.forEach((match) => {\n console.log(`${match.key}: distance=${match.distance}`)\n console.log('Metadata:', match.metadata)\n })\n}\n```" + }, + { + "kind": "text", + "text": "\n\n#### Option 2: Via StorageClient\n\nIf you're using the standalone " + }, + { + "kind": "code", + "text": "`StorageClient`" + }, + { + "kind": "text", + "text": " for storage operations, access vectors through the " + }, + { + "kind": "code", + "text": "`vectors`" + }, + { + "kind": "text", + "text": " property:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nimport { StorageClient } from '@supabase/storage-js'\n\nconst storageClient = new StorageClient('https://your-project.supabase.co/storage/v1', {\n apikey: 'YOUR_API_KEY',\n Authorization: 'Bearer YOUR_TOKEN',\n})\n\n// Access vector operations\nconst vectors = storageClient.vectors\n\n// Use the same API as shown in Option 1\nawait vectors.createBucket('embeddings-prod')\nconst bucket = vectors.from('embeddings-prod')\n// ... rest of operations\n```" + }, + { + "kind": "text", + "text": "\n\n#### Option 3: Standalone Vector Client\n\nFor vector-only applications that don't need regular file storage operations:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nimport { StorageVectorsClient } from '@supabase/storage-js'\n\n// Initialize standalone vector client\nconst vectorClient = new StorageVectorsClient('https://your-project.supabase.co/storage/v1', {\n headers: { Authorization: 'Bearer YOUR_TOKEN' },\n})\n\n// Use the same API as shown in Option 1\nawait vectorClient.createBucket('embeddings-prod')\nconst bucket = vectorClient.from('embeddings-prod')\n// ... rest of operations\n```" + }, + { + "kind": "text", + "text": "\n\n> **When to use each approach:**\n>\n> - **Option 1**: When using other Supabase features (auth, database, realtime)\n> - **Option 2**: When working with both file storage and vectors\n> - **Option 3**: For dedicated vector-only applications without file storage\n\n### API Reference\n\n#### Client Initialization\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst vectorClient = new StorageVectorsClient(url, options?)\n```" + }, + { + "kind": "text", + "text": "\n\n**Options:**\n\n- " + }, + { + "kind": "code", + "text": "`headers?: Record`" + }, + { + "kind": "text", + "text": " - Custom HTTP headers (e.g., Authorization)\n- " + }, + { + "kind": "code", + "text": "`fetch?: Fetch`" + }, + { + "kind": "text", + "text": " - Custom fetch implementation\n\n#### Vector Buckets\n\nVector buckets are top-level containers for organizing vector indexes.\n\n##### Create Bucket\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await vectorClient.createBucket('my-bucket')\n```" + }, + { + "kind": "text", + "text": "\n\n##### Get Bucket\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await vectorClient.getBucket('my-bucket')\nconsole.log('Created at:', new Date(data.vectorBucket.creationTime! * 1000))\n```" + }, + { + "kind": "text", + "text": "\n\n##### List Buckets\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await vectorClient.listBuckets({\n prefix: 'prod-',\n maxResults: 100,\n})\n\n// Pagination\nif (data?.nextToken) {\n const next = await vectorClient.listBuckets({ nextToken: data.nextToken })\n}\n```" + }, + { + "kind": "text", + "text": "\n\n##### Delete Bucket\n\n" + }, + { + "kind": "code", + "text": "```typescript\n// Bucket must be empty (all indexes deleted first)\nconst { error } = await vectorClient.deleteBucket('my-bucket')\n```" + }, + { + "kind": "text", + "text": "\n\n#### Vector Indexes\n\nVector indexes define the schema for embeddings including dimension and distance metric.\n\n##### Create Index\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst bucket = vectorClient.from('my-bucket')\n\nawait bucket.createIndex({\n indexName: 'my-index',\n dataType: 'float32',\n dimension: 1536,\n distanceMetric: 'cosine', // 'cosine' | 'euclidean' | 'dotproduct'\n metadataConfiguration: {\n nonFilterableMetadataKeys: ['raw_text', 'internal_id'],\n },\n})\n```" + }, + { + "kind": "text", + "text": "\n\n**Distance Metrics:**\n\n- " + }, + { + "kind": "code", + "text": "`cosine`" + }, + { + "kind": "text", + "text": " - Cosine similarity (normalized dot product)\n- " + }, + { + "kind": "code", + "text": "`euclidean`" + }, + { + "kind": "text", + "text": " - Euclidean distance (L2 norm)\n- " + }, + { + "kind": "code", + "text": "`dotproduct`" + }, + { + "kind": "text", + "text": " - Dot product similarity\n\n##### Get Index\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await bucket.getIndex('my-index')\nconsole.log('Dimension:', data?.index.dimension)\nconsole.log('Distance metric:', data?.index.distanceMetric)\n```" + }, + { + "kind": "text", + "text": "\n\n##### List Indexes\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await bucket.listIndexes({\n prefix: 'documents-',\n maxResults: 100,\n})\n```" + }, + { + "kind": "text", + "text": "\n\n##### Delete Index\n\n" + }, + { + "kind": "code", + "text": "```typescript\n// Deletes index and all its vectors\nawait bucket.deleteIndex('my-index')\n```" + }, + { + "kind": "text", + "text": "\n\n#### Vector Operations\n\n##### Insert/Update Vectors (Upsert)\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst index = vectorClient.from('my-bucket').index('my-index')\n\nawait index.putVectors({\n vectors: [\n {\n key: 'unique-id-1',\n data: {\n float32: [\n /* 1536 numbers */\n ],\n },\n metadata: {\n title: 'Document Title',\n category: 'technical',\n page: 1,\n },\n },\n // ... up to 500 vectors per request\n ],\n})\n```" + }, + { + "kind": "text", + "text": "\n\n**Limitations:**\n\n- 1-500 vectors per request\n- Vectors must match index dimension\n- Keys must be unique within index\n\n##### Get Vectors by Key\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await index.getVectors({\n keys: ['doc-1', 'doc-2', 'doc-3'],\n returnData: true, // Include embeddings\n returnMetadata: true, // Include metadata\n})\n\ndata?.vectors.forEach((v) => {\n console.log(v.key, v.metadata)\n})\n```" + }, + { + "kind": "text", + "text": "\n\n##### Query Similar Vectors (ANN Search)\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await index.queryVectors({\n queryVector: {\n float32: [\n /* 1536 numbers */\n ],\n },\n topK: 10,\n filter: {\n category: 'technical',\n published: true,\n },\n returnDistance: true,\n returnMetadata: true,\n})\n\n// Results ordered by similarity\ndata?.matches.forEach((match) => {\n console.log(`${match.key}: distance=${match.distance}`)\n})\n```" + }, + { + "kind": "text", + "text": "\n\n**Filter Syntax:**\nThe " + }, + { + "kind": "code", + "text": "`filter`" + }, + { + "kind": "text", + "text": " parameter accepts arbitrary JSON for metadata filtering. Non-filterable keys (configured at index creation) cannot be used in filters but can still be returned.\n\n##### List/Scan Vectors\n\n" + }, + { + "kind": "code", + "text": "```typescript\n// Simple pagination\nlet nextToken: string | undefined\ndo {\n const { data } = await index.listVectors({\n maxResults: 500,\n nextToken,\n returnMetadata: true,\n })\n\n console.log('Batch:', data?.vectors.length)\n nextToken = data?.nextToken\n} while (nextToken)\n\n// Parallel scanning (4 workers)\nconst workers = [0, 1, 2, 3].map(async (segmentIndex) => {\n const { data } = await index.listVectors({\n segmentCount: 4,\n segmentIndex,\n returnMetadata: true,\n })\n return data?.vectors || []\n})\n\nconst results = await Promise.all(workers)\nconst allVectors = results.flat()\n```" + }, + { + "kind": "text", + "text": "\n\n**Limitations:**\n\n- " + }, + { + "kind": "code", + "text": "`maxResults`" + }, + { + "kind": "text", + "text": ": 1-1000 (default: 500)\n- " + }, + { + "kind": "code", + "text": "`segmentCount`" + }, + { + "kind": "text", + "text": ": 1-16\n- Response may be limited by 1MB size\n\n##### Delete Vectors\n\n" + }, + { + "kind": "code", + "text": "```typescript\nawait index.deleteVectors({\n keys: ['doc-1', 'doc-2', 'doc-3'],\n // ... up to 500 keys per request\n})\n```" + }, + { + "kind": "text", + "text": "\n\n### Error Handling\n\nThe library uses a consistent error handling pattern:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst { data, error } = await vectorClient.createBucket('my-bucket')\n\nif (error) {\n console.error('Error:', error.message)\n console.error('Status:', error.status)\n console.error('Code:', error.statusCode)\n}\n```" + }, + { + "kind": "text", + "text": "\n\n#### Error Codes\n\n| Code | HTTP | Description |\n| ---------------------------- | ---- | ----------------------- |\n| " + }, + { + "kind": "code", + "text": "`InternalError`" + }, + { + "kind": "text", + "text": " | 500 | Internal server error |\n| " + }, + { + "kind": "code", + "text": "`S3VectorConflictException`" + }, + { + "kind": "text", + "text": " | 409 | Resource already exists |\n| " + }, + { + "kind": "code", + "text": "`S3VectorNotFoundException`" + }, + { + "kind": "text", + "text": " | 404 | Resource not found |\n| " + }, + { + "kind": "code", + "text": "`S3VectorBucketNotEmpty`" + }, + { + "kind": "text", + "text": " | 400 | Bucket contains indexes |\n| " + }, + { + "kind": "code", + "text": "`S3VectorMaxBucketsExceeded`" + }, + { + "kind": "text", + "text": " | 400 | Bucket quota exceeded |\n| " + }, + { + "kind": "code", + "text": "`S3VectorMaxIndexesExceeded`" + }, + { + "kind": "text", + "text": " | 400 | Index quota exceeded |\n\n#### Throwing Errors\n\nYou can configure the client to throw errors instead:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nconst vectorClient = new StorageVectorsClient(url, options)\nvectorClient.throwOnError()\n\ntry {\n const { data } = await vectorClient.createBucket('my-bucket')\n // data is guaranteed to be present\n} catch (error) {\n if (error instanceof StorageVectorsApiError) {\n console.error('API Error:', error.statusCode)\n }\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### Advanced Usage\n\n#### Scoped Clients\n\nCreate scoped clients for cleaner code:\n\n" + }, + { + "kind": "code", + "text": "```typescript\n// Bucket-scoped operations\nconst bucket = vectorClient.from('embeddings-prod')\nawait bucket.createIndex({\n /* ... */\n})\nawait bucket.listIndexes()\n\n// Index-scoped operations\nconst index = bucket.index('documents-openai')\nawait index.putVectors({\n /* ... */\n})\nawait index.queryVectors({\n /* ... */\n})\n```" + }, + { + "kind": "text", + "text": "\n\n#### Custom Fetch\n\nProvide a custom fetch implementation:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nimport { StorageVectorsClient } from '@supabase/storage-js'\n\nconst vectorClient = new StorageVectorsClient(url, {\n fetch: customFetch,\n headers: {\n /* ... */\n },\n})\n```" + }, + { + "kind": "text", + "text": "\n\n#### Batch Processing\n\nProcess large datasets in batches:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nasync function insertLargeDataset(vectors: VectorObject[]) {\n const batchSize = 500\n\n for (let i = 0; i < vectors.length; i += batchSize) {\n const batch = vectors.slice(i, i + batchSize)\n await index.putVectors({ vectors: batch })\n console.log(`Inserted ${i + batch.length}/${vectors.length}`)\n }\n}\n```" + }, + { + "kind": "text", + "text": "\n\n#### Float32 Validation\n\nEnsure vectors are properly normalized to float32:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nimport { normalizeToFloat32 } from '@supabase/storage-js'\n\nconst vector = normalizeToFloat32([0.1, 0.2, 0.3 /* ... */])\n```" + }, + { + "kind": "text", + "text": "\n\n### Type Definitions\n\nThe library exports comprehensive TypeScript types:\n\n" + }, + { + "kind": "code", + "text": "```typescript\nimport type {\n VectorBucket,\n VectorIndex,\n VectorData,\n VectorObject,\n VectorMatch,\n VectorMetadata,\n DistanceMetric,\n ApiResponse,\n StorageVectorsError,\n} from '@supabase/storage-js'\n```" + }, + { + "kind": "text", + "text": "\n\n## Development\n\nThis package is part of the [Supabase JavaScript monorepo](https://github.com/supabase/supabase-js). To work on this package:\n\n### Building\n\n#### Build Scripts Overview\n\nThe storage-js package uses multiple build scripts to generate different module formats for various JavaScript environments:\n\n| Script | Description | Output |\n| -------------- | --------------------------- | --------------------------------------------------------------- |\n| " + }, + { + "kind": "code", + "text": "`build`" + }, + { + "kind": "text", + "text": " | **Complete build pipeline** | Runs all build steps in sequence |\n| " + }, + { + "kind": "code", + "text": "`build:main`" + }, + { + "kind": "text", + "text": " | **CommonJS build** | " + }, + { + "kind": "code", + "text": "`dist/main/`" + }, + { + "kind": "text", + "text": " - Node.js compatible CommonJS modules |\n| " + }, + { + "kind": "code", + "text": "`build:module`" + }, + { + "kind": "text", + "text": " | **ES Modules build** | " + }, + { + "kind": "code", + "text": "`dist/module/`" + }, + { + "kind": "text", + "text": " - Modern ES6 modules with TypeScript definitions |\n| " + }, + { + "kind": "code", + "text": "`build:umd`" + }, + { + "kind": "text", + "text": " | **UMD build** | " + }, + { + "kind": "code", + "text": "`dist/umd/`" + }, + { + "kind": "text", + "text": " - Universal Module Definition for browsers/CDN |\n| " + }, + { + "kind": "code", + "text": "`clean`" + }, + { + "kind": "text", + "text": " | **Clean build artifacts** | Removes " + }, + { + "kind": "code", + "text": "`dist/`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`docs/v2/`" + }, + { + "kind": "text", + "text": " directories |\n\n#### Running Builds\n\n##### Complete Build (Recommended)\n\n" + }, + { + "kind": "code", + "text": "```bash\n# From the monorepo root\nnpx nx build storage-js\n```" + }, + { + "kind": "text", + "text": "\n\nThis command executes the full build pipeline:\n\n1. **Cleans** - Removes any existing build artifacts\n2. **Formats** - Ensures consistent code formatting\n3. **Builds CommonJS** - For Node.js environments (" + }, + { + "kind": "code", + "text": "`dist/main/`" + }, + { + "kind": "text", + "text": ")\n4. **Builds ES Modules** - For modern bundlers (" + }, + { + "kind": "code", + "text": "`dist/module/`" + }, + { + "kind": "text", + "text": ")\n5. **Builds UMD** - For browser script tags (" + }, + { + "kind": "code", + "text": "`dist/umd/`" + }, + { + "kind": "text", + "text": ")\n\n##### Development Build with Watch Mode\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Continuously rebuild on file changes (from monorepo root)\nnpx nx build storage-js --watch\n```" + }, + { + "kind": "text", + "text": "\n\n##### Individual Build Targets\n\nFor specific build outputs during development:\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Build CommonJS only (Node.js)\nnpx nx build:main storage-js\n\n# Build ES Modules only (Modern bundlers)\nnpx nx build:module storage-js\n\n# Build UMD only (Browser/CDN)\nnpx nx build:umd storage-js\n```" + }, + { + "kind": "text", + "text": "\n\n##### Other Useful Commands\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Clean build artifacts\nnpx nx clean storage-js\n\n# Format code\nnpx nx format storage-js\n\n# Type checking\nnpx nx typecheck storage-js\n\n# Generate documentation\nnpx nx docs storage-js\n```" + }, + { + "kind": "text", + "text": "\n\n#### Build Outputs Explained\n\n##### CommonJS (" + }, + { + "kind": "code", + "text": "`dist/main/`" + }, + { + "kind": "text", + "text": ")\n\n- **Used by:** Node.js applications, older build tools\n- **Entry point:** " + }, + { + "kind": "code", + "text": "`dist/main/index.js`" + }, + { + "kind": "text", + "text": "\n- **Module format:** " + }, + { + "kind": "code", + "text": "`require()`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`module.exports`" + }, + { + "kind": "text", + "text": "\n- **TypeScript definitions:** Included\n\n##### ES Modules (" + }, + { + "kind": "code", + "text": "`dist/module/`" + }, + { + "kind": "text", + "text": ")\n\n- **Used by:** Modern bundlers (Webpack, Rollup, Vite)\n- **Entry point:** " + }, + { + "kind": "code", + "text": "`dist/module/index.js`" + }, + { + "kind": "text", + "text": "\n- **Module format:** " + }, + { + "kind": "code", + "text": "`import`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`export`" + }, + { + "kind": "text", + "text": "\n- **TypeScript definitions:** " + }, + { + "kind": "code", + "text": "`dist/module/index.d.ts`" + }, + { + "kind": "text", + "text": "\n- **Benefits:** Tree-shaking, better static analysis\n\n##### UMD (" + }, + { + "kind": "code", + "text": "`dist/umd/`" + }, + { + "kind": "text", + "text": ")\n\n- **Used by:** Browser " + }, + { + "kind": "code", + "text": "`\n \n ```" + }, + { + "kind": "text", + "text": "\n\n#### Package Exports\n\nThe package.json exports are configured to provide the right format for each environment:\n\n" + }, + { + "kind": "code", + "text": "```json\n{\n \"main\": \"dist/main/index.js\",\n \"module\": \"dist/module/index.js\",\n \"types\": \"dist/module/index.d.ts\",\n \"jsdelivr\": \"dist/umd/supabase.js\",\n \"unpkg\": \"dist/umd/supabase.js\"\n}\n```" + }, + { + "kind": "text", + "text": "\n\n- **main** → Node.js environments (CommonJS format)\n- **module** → Modern bundlers like Webpack, Vite, Rollup (ES Modules)\n- **types** → TypeScript type definitions\n- **jsdelivr/unpkg** → CDN usage via " + }, + { + "kind": "code", + "text": "`